Fix iseqsig for ports that do not support FE_INVALID
[glibc.git] / ChangeLog
blobe50a214aab5e47b2ee831f88d884be0a40c389b8
1 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * math/s_iseqsig_template.c: Include math-private.h.
5         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
6         * posix/tst-posix_fadvise.c: New file.
7         * posix/tst-posix_fadvise64.c: Likewise.
8         * posix/tst-posix_fadvise-common.c: Likewise.
9         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10         (__ASSUME_FADVISE64_64_6ARG): Define.
11         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
13         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
16         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
17         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
18         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
19         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
20         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
21         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
22         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
23         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
24         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
25         Likewise.
26         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
27         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
28         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
29         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
30         Alias to __posix_fadvise64_l32.
31         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
32         Add compat definition to posix_fadvise64.
33         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
34         Add versioned definition to posix_fadvise64.
35         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
36         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
37         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
38         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
39         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
41         * io/Makefile (tests): Add tst-posix_fallocate and
42         tst-posix_fallocate64.
43         * io/tst-posix_fallocate-common.c: New file.
44         * io/tst-posix_fallocate.c: Likewise.
45         * io/tst-posix_fallocate64.c: Likewise.
46         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
47         file.
48         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
49         Likewise.
50         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
51         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
52         Likewise.
53         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
54         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
55         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
56         SYSCALL_LL to pass both offset and len arguments.
57         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
58         Likewise.
59         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
60         __libc_pwrite64 alias used by posix_fallocate64.
62         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
63         tst-fallocate64.
64         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
65         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
66         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
67         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
68         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
69         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
70         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
71         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
72         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
73         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
74         macro on offset argument.
75         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
76         SYSCALL_LL64 on offset argument.
78         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
79         tst-fallocate64.
80         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
81         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
82         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
83         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
84         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
85         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
86         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
87         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
88         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
89         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
90         macro on offset argument.
91         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
92         SYSCALL_LL64 on offset argument.
93         * test-skeleton.c (FAIL_RET): Add macro.
94         (FAIL_EXIT): Likewise.
95         (FAIL_EXIT1): Likewise.
96         (_FAIL): Likewise.
98 2016-10-07  Florian Weimer  <fweimer@redhat.com>
100         [BZ #20629]
101         resolv: Remove RES_USEBSTRING and its implementation.
102         * resolv/resolv.h (RES_USEBSTRING): Remove.
103         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
104         (digitvalue, encode_bitstring, decode_bitstring): Remove.
105         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
106         (labellen): Remove extended label types support.
107         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
108         * resolv/res_init.c (res_setoptions): Likewise.
109         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
111 2016-10-07  Florian Weimer  <fweimer@redhat.com>
113         resolv: Remove RES_NOIP6DOTINT and its implementation.
114         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
115         (RES_NOIP6DOTINT): Remove.
116         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
117         handling.
118         * resolv/res_debug.c (p_option): Likewise.
119         * resolv/res_init.c (res_setoptions): Likewise.
120         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
122 2016-10-07  Florian Weimer  <fweimer@redhat.com>
124         resolv: Deprecate unimplemented flags.
125         * misc/sys/cdefs.h (__glibc_macro_warning1)
126         (__glibc_macro_warning): Define.
127         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
128         (RES_KEEPTSIG): Mark as deprecated.
129         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
130         RES_NOCHECKNAME, RES_KEEPTSIG.
131         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
133 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
135         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
136         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
137         Use strong_alias to create symbols for glibc verison 2.19.
139 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
141         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
143 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
145         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
147 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
149         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
151 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
153         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
154         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
155         in header for using it as type for ifunc function because __GI_* symbols
156         for ppc32 do not target the ifunc symbols.
157         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
159 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
161         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
162         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
163         libc_ifunc_hidden_def.
164         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
165         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
166         Redirect ifunced function in header for using it as type of ifunc'ed
167         function. Redefine libc_hidden_def to use fallback non ifunc'ed
168         function for __GI_* symbol.
169         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
170         * include/libc-symbols.h
171         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
173 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
175         [BZ #20478]
176         * sysdeps/s390/multiarch/ifunc-resolve.h
177         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
178         to create ifunc symbols.
179         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
180         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
181         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
182         for using it as type for ifunc function.
183         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
184         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
185         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
186         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
187         * sysdeps/s390/multiarch/strcat.c: Likewise.
188         * sysdeps/s390/multiarch/strchr.c: Likewise.
189         * sysdeps/s390/multiarch/strcmp.c: Likewise.
190         * sysdeps/s390/multiarch/strcpy.c: Likewise.
191         * sysdeps/s390/multiarch/strcspn.c: Likewise.
192         * sysdeps/s390/multiarch/strlen.c: Likewise.
193         * sysdeps/s390/multiarch/strncmp.c: Likewise.
194         * sysdeps/s390/multiarch/strncpy.c: Likewise.
195         * sysdeps/s390/multiarch/strnlen.c: Likewise.
196         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
197         * sysdeps/s390/multiarch/strrchr.c: Likewise.
198         * sysdeps/s390/multiarch/strspn.c: Likewise.
199         * sysdeps/s390/multiarch/wcschr.c: Likewise.
200         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
201         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
202         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
203         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
204         * sysdeps/s390/multiarch/wmemset.c: Likewise.
205         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
206         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
207         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
208         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
209         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
210         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
212 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
214         * include/libc-symbols.h (__ifunc_resolver):
215         New macro is used by __ifunc* macros.
216         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
217         depending on HAVE_GCC_IFUNC.
218         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
219         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
221         Redirect ifunced function in header for using as type for ifunc function.
222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
226         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
227         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
228         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
229         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
230         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
231         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
232         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
233         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
234         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
235         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
241         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
242         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
243         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
244         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
245         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
246         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
247         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
248         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
249         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
250         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
251         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
252         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
253         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
254         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
256         Add libc_hidden_def() and use libc_ifunc_hidden() macro
257         instead of libc_ifunc() macro.
258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
259         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
261 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
263         * config.h.in (HAVE_GCC_IFUNC): New undef.
264         * configure.ac: Add check if gcc supports attribute ifunc feature.
265         * configure: Regenerated.
266         * manual/install.texi: Add recommendation for gcc with
267         indirect-function support.
268         * INSTALL: Regenerated.
270 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
272         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
273         macro.
274         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
275         (__iseqsig): New declaration.
276         * math/s_iseqsig_template.c: New file.
277         * math/Versions (__iseqsigf): New libm symbol at version
278         GLIBC_2.25.
279         (__iseqsig): Likewise.
280         (__iseqsigl): Likewise.
281         * math/libm-test.inc (iseqsig_test_data): New array.
282         (iseqsig_test): New function.
283         (main): Call iseqsig_test.
284         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
285         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
286         * manual/libm-err-tab.pl: Update comment on interfaces without
287         ulps tabulated.
288         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
289         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
290         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
291         * sysdeps/nacl/libm.abilist: Update.
292         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
293         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
294         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
295         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
296         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
297         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
298         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
299         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
300         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
301         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
302         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
303         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
305         Likewise.
306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
307         Likewise.
308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
309         Likewise.
310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
311         Likewise.
312         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
313         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
314         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
315         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
316         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
318         Likewise.
319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
320         Likewise.
321         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
322         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
323         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
325 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
327         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
328         do_sincos_2, sloww, sloww1): Update comments.
330         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
331         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
333         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
334         K boolean and rename it.
335         (__sin): Adjust.
336         (__cos): Adjust.
338 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
339             Siddhesh Poyarekar  <siddhesh@sourceware.org>
341         * manual/nss.texi: Fix typos in the manual.
343 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
345         * manual/contrib.texi: Fix typos in the manual.
347         * manual/maint.texi: Fix typos in the manual.
349         * manual/install.texi: Fix typos in the manual.
350         * INSTALL: Regenerated.
352         * manual/lang.texi: Fix typos in the manual.
354         * manual/probes.texi: Fix typos in the manual.
356         * manual/threads.texi: Fix typos in the manual.
358         * manual/debug.texi: Fix typos in the manual.
360         * manual/crypt.texi: Fix typos in the manual.
362         * manual/conf.texi: Fix typos in the manual.
364         * manual/sysinfo.texi: Fix typos in the manual.
366         * manual/users.texi: Fix typos in the manual.
368         * manual/job.texi: Fix typos in the manual.
370         * manual/process.texi: Fix typos in the manual.
372         * manual/argp.texi: Fix typos in the manual.
373         * manual/getopt.texi: Likewise.
374         * manual/startup.texi: Likewise.
376         * manual/signal.texi: Fix typos in the manual.
378         * manual/setjmp.texi: Fix typos in the manual.
380         * manual/resource.texi: Fix typos in the manual.
382         * manual/time.texi: Fix typos in the manual.
384         * manual/arith.texi: Fix typos in the manual.
386         * manual/math.texi: Fix typos in the manual.
388         * manual/syslog.texi: Fix typos in the manual.
390         * manual/terminal.texi: Fix typos in the manual.
392         * manual/socket.texi: Fix typos in the manual.
394         * manual/filesys.texi: Fix typos in the manual.
396         * manual/llio.texi: Fix typos in the manual.
398         * manual/stdio.text: Fix typos in the manual.
400 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
402         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
403         instead of K1.
405         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
406         SHIFT_QUADRANT and make it bool.
407         (do_sincos_2): Likewise.
408         (sloww): Likewise.
409         (sloww1): Likewise.
410         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
411         (__cos): Likewise.
413 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
415         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
417 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
419         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
420         Define to __WORDSIZE, not conditional on [LONG_MAX ==
421         0x7fffffffL].
422         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
424 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
426         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
427         inline by __inline__.
428         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
429         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
430         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
431         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
432         sigset_t from signal.h.
433         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
434         which is already required.
436 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
438         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
440 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
442         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
443         (struct tcp_repair_window): New type.
445 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
447         * libio/tst-memstream3.c: Include string.h.
449 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
451         [BZ #18241]
452         [BZ #20181]
453         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
454         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
455         write position is at the end the buffer.
456         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
457         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
458         (_IO_str_seekoff): Set correct offset from negative displacement and
459         set EINVAL for invalid ones.
460         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
461         buffer length.
462         (_IO_wstr_switch_to_get_mode): New function.
463         (_IO_wstr_seekoff): Set correct offset from negative displacement and
464         set EINVAL for invalid ones.
465         * libio/tst-memstream3.c: New file.
466         * libio/tst-wmemstream3.c: Likewise.
467         * manual/examples/memstrm.c: Remove warning when priting size_t.
469 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
471         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
472         macro to use __builtin_fma.
473         * sysdeps/x86_64/fpu/dla.h: Remove file.
475         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
476         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
477         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
479 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
481         [BZ #20292]
482         * elf/Makefile (routines): Add dl-addr-obj.
483         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
484         tst-_dl_addr_inside_object.
485         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
486         [ifeq (yesyes,$(have-fpie)$(build-shared))]
487         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
488         [ifeq (yesyes,$(have-fpie)$(build-shared))]
489         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
490         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
491         * elf/dl-open.c: Likewise.
492         * elf/dl-addr-obj.c: New file.
493         * elf/tst-_dl_addr_inside_object.c: New file.
495 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
497         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
498         <bits/iscanonical.h>.
499         * bits/iscanonical.h: New file.
500         * math/s_iscanonicall.c: Likewise.
501         * math/Versions (__iscanonicall): New libm symbol at version
502         GLIBC_2.25.
503         * math/libm-test.inc (iscanonical_test_data): New array.
504         (iscanonical_test): New function.
505         (main): Call iscanonical_test.
506         * math/Makefile (headers): Add bits/iscanonical.h.
507         (type-ldouble-routines): Add s_iscanonicall.
508         * manual/arith.texi (Floating Point Classes): Document
509         iscanonical.
510         * manual/libm-err-tab.pl: Update comment on interfaces without
511         ulps tabulated.
512         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
513         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
514         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
515         Likewise.
516         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
517         test-iscanonical-ldbl-128ibm.
518         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
519         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
520         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
521         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
522         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
523         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
524         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
526         Likewise.
527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
528         Likewise.
529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
530         Likewise.
531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
532         Likewise.
533         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
534         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
536 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
538         * string/bits/string3.h: Remove C++ style comments.
540 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
542         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
543         instead of ternary condition.
544         (do_sincos_2): Likewise.
545         (__sin): Likewise.
546         (__cos): Likewise.
547         (slow): Likewise.
548         (sloww): Likewise.
549         (sloww1): Likewise.
550         (bsloww): Likewise.
551         (bsloww1): Likewise.
553         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
554         instead of ternary condition.
555         (do_sin_slow): Likewise.
556         (do_sincos_1): Likewise.
557         (do_sincos_2): Likewise.
558         (__cos): Likewise.
559         (sloww): Likewise.
560         (sloww1): Likewise.
561         (sloww2): Likewise.
562         (bsloww): Likewise.
563         (bsloww1): Likewise.
564         (bsloww2): Likewise.
566         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
567         check from here...
568         (slow2): ... and here...
569         (__sin): ... to here.
571 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
573         * math/math.h
574         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
575         Cast argument to its own type.
576         * math/test-iszero-excess-precision.c: New file.
577         * math/Makefile (tests): Add test-iszero-excess-precision.
578         (CFLAGS-test-iszero-excess-precision.c): New variable.
580 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
582         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
583         field, add err field.
584         (__spawni_child): Report error through err member instead of pipe.
585         (__spawnix): Likewise.
587 2016-09-28  Zack Weinberg  <zackw@panix.com>
589         * scripts/check-installed-headers.sh: Generalize treatment of
590         sys/elf.h to all target architectures.
592         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
593         deleted typedef ucontext_t.
595 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
597         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
598         (__INTERNAL_SYSCALL1): Likewise.
599         (__INTERNAL_SYSCALL2): Likewise.
600         (__INTERNAL_SYSCALL3): Likewise.
601         (__INTERNAL_SYSCALL4): Likewise.
602         (__INTERNAL_SYSCALL5): Likewise.
603         (__INTERNAL_SYSCALL6): Likewise.
604         (__INTERNAL_SYSCALL7): Likewise.
605         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
606         (__INTERNAL_SYSCALL_NARGS): Likewise.
607         (__INTERNAL_SYSCALL_DISP): Likewise.
608         (INTERNAL_SYSCALL_CALL): Likewise.
609         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
610         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
611         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
612         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
613         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
614         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
615         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
616         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
617         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
618         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
619         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
620         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
621         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
623 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
625         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
626         macro.
627         * math/libm-test.inc (iszero_test_data): New array.
628         (iszero_test): New function.
629         (main): Call iszero_test.
630         * manual/arith.texi (Floating Point Classes): Document iszero.
631         * manual/libm-err-tab.pl: Update comment on interfaces without
632         ulps tabulated.
634 2016-09-23  Zack Weinberg  <zackw@panix.com>
636         * scripts/check-installed-headers.sh: New script.
637         * Rules: In each directory that defines header files to be installed,
638         run check-installed-headers.sh on them as a special test.
639         * Makefile: Likewise for the headers installed at top level.
641         * include/aliases.h, include/alloca.h, include/argz.h
642         * include/arpa/nameser.h, include/arpa/nameser_compat.h
643         * include/elf.h, include/envz.h, include/err.h
644         * include/execinfo.h, include/fpu_control.h, include/getopt.h
645         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
646         * include/link.h, include/malloc.h, include/mcheck.h
647         * include/mntent.h, include/netinet/ether.h
648         * include/nss.h, include/obstack.h, include/printf.h
649         * include/pty.h, include/resolv.h, include/rpc/auth.h
650         * include/rpc/auth_des.h, include/rpc/auth_unix.h
651         * include/rpc/clnt.h, include/rpc/des_crypt.h
652         * include/rpc/key_prot.h, include/rpc/netdb.h
653         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
654         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
655         * include/rpc/rpc_msg.h, include/rpc/svc.h
656         * include/rpc/svc_auth.h, include/rpc/xdr.h
657         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
658         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
659         * include/rpcsvc/ypupd.h, include/shadow.h
660         * include/stdio_ext.h, include/sys/epoll.h
661         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
662         * include/sys/prctl.h, include/sys/profil.h
663         * include/sys/statfs.h, include/sys/sysctl.h
664         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
665         * sysdeps/arm/nacl/include/bits/setjmp.h
666         * sysdeps/mips/include/sys/asm.h
667         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
668         * sysdeps/unix/sysv/linux/include/sys/timex.h
669         * sysdeps/x86/fpu/include/bits/fenv.h:
670         Add #ifndef _ISOMAC guard around internal declarations.
671         Add multiple-inclusion guard if not already present.
673 2016-09-23  Zack Weinberg  <zackw@panix.com>
675         * sysdeps/generic/sys/ucontext.h
676         * sysdeps/arm/sys/ucontext.h
677         * sysdeps/i386/sys/ucontext.h
678         * sysdeps/m68k/sys/ucontext.h
679         * sysdeps/mips/sys/ucontext.h
680         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
681         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
682         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
683         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
684         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
685         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
686         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
687         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
688         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
689         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
690         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
691         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
692         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
693         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
694         Include both bits/sigcontext.h and bits/sigstack.h.
695         Fix grammar error in comment, if present.
697         * bits/sigstack.h
698         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
699         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
700         * sysdeps/unix/sysv/linux/bits/sigstack.h
701         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
702         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
703         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
704         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
705         * bits/sigcontext.h
706         * sysdeps/mach/hurd/i386/bits/sigcontext.h
707         * sysdeps/unix/sysv/linux/bits/sigcontext.h
708         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
709         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
710         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
711         as well as signal.h, if this was not already allowed.  Request
712         definition of size_t if necessary.  Minimize semantically-null
713         differences across files.
715 2016-09-23  Zack Weinberg  <zackw@panix.com>
717         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
718         Remove all logic conditional on __need macros.  Move all the
719         conditionally defined types to their own headers...
720         * time/bits/types/clock_t.h: Define clock_t here.
721         * time/bits/types/clockid_t.h: Define clockid_t here.
722         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
723         * time/bits/types/struct_timespec.h: Define struct timespec here.
724         * time/bits/types/struct_timeval.h: Define struct timeval here.
725         * time/bits/types/struct_tm.h: Define struct tm here.
726         * time/bits/types/time_t.h: Define time_t here.
727         * time/bits/types/timer_t.h: Define timer_t here.
728         * time/Makefile: Install the new headers.
730         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
731         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
732         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
733         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
734         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
735         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
736         * sysdeps/unix/sysv/linux/bits/resource.h
737         * sysdeps/unix/sysv/linux/bits/timex.h
738         * sysdeps/unix/sysv/linux/mips/bits/resource.h
739         * sysdeps/unix/sysv/linux/net/ppp_defs.h
740         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
741         * sysdeps/unix/sysv/linux/sys/acct.h
742         * sysdeps/unix/sysv/linux/sys/timerfd.h
743         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
744         * time/sys/time.h, time/sys/timeb.h
745         Use the new bits/types headers.
747         * include/time.h: Remove __need logic.
748         * include/bits/time.h
749         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
750         * include/bits/types/time_t.h, include/bits/types/timer_t.h
751         * include/bits/types/struct_itimerspec.h
752         * include/bits/types/struct_timespec.h
753         * include/bits/types/struct_timeval.h
754         * include/bits/types/struct_tm.h:
755         New wrapper headers.
757 2016-09-23  Zack Weinberg  <zackw@panix.com>
759         * sysdeps/mach/hurd/net/if_ppp.h
760         * sysdeps/unix/sysv/linux/net/if_ppp.h:
761         Only define struct ifpppstatsreq and struct ifpppcstatsreq
762         if __USE_MISC is defined, to ensure struct ifreq is declared.
764         * inet/netinet/ether.h: Condition all function prototypes
765         on __USE_MISC, to ensure struct ether_addr is declared.
767         * socket/bits/types/struct_osockaddr.h: New header.
768         * include/bits/types/struct_osockaddr.h: New wrapper.
769         * socket/Makefile: Install the new header.
770         * socket/sys/socket.h, inet/protocols/talkd.h:
771         Refer to bits/types/struct_osockaddr.h for the definition of
772         struct osockaddr.
774 2016-09-23  Zack Weinberg  <zackw@panix.com>
776         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
777         * inet/protocols/routed.h, inet/protocols/talkd.h
778         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
779         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
780         * sysdeps/generic/netinet/if_ether.h
781         * sysdeps/generic/netinet/in_systm.h
782         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
783         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
784         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
785         * sysdeps/mach/hurd/net/if_arp.h
786         * sysdeps/mach/hurd/net/if_ppp.h
787         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
788         * sysdeps/unix/sysv/linux/bits/in.h
789         * sysdeps/unix/sysv/linux/net/ethernet.h
790         * sysdeps/unix/sysv/linux/net/if_arp.h
791         * sysdeps/unix/sysv/linux/net/if_ppp.h
792         * sysdeps/unix/sysv/linux/net/if_shaper.h
793         * sysdeps/unix/sysv/linux/net/route.h
794         * sysdeps/unix/sysv/linux/netinet/if_ether.h
795         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
796         * sysdeps/unix/sysv/linux/netinet/if_tr.h
797         * sysdeps/unix/sysv/linux/netipx/ipx.h
798         * sysdeps/unix/sysv/linux/sys/acct.h
799         * include/arpa/nameser.h, include/resolv.h:
800         Change all uses of u_char to unsigned char,
801         u_short and ushort to unsigned short, u_int and uint to unsigned int,
802         u_long and ulong to unsigned long, u_int8_t to uint8_t,
803         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
804         and u_int64_t and u_quad_t to uint64_t.
806         * mach/sys/reboot.h: Remove two casts of integer literals
807         to the types they already have.
809         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
810         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
811         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
812         from referring to 'unsigned char' to 'uint8_t' for consistency with
813         the macro definition below.
815         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
816         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
817         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
818         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
819         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
820         * sysdeps/unix/sysv/linux/sys/acct.h
821         * include/arpa/nameser.h, include/resolv.h:
822         Fix indentation disrupted by mechanical edits.
824         * inet/protocols/talkd.h, resolv/arpa/nameser.h
825         * sysdeps/generic/netinet/in_systm.h
826         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
827         * sysdeps/gnu/netinet/udp.h
828         * sysdeps/unix/sysv/linux/net/ethernet.h
829         * sysdeps/unix/sysv/linux/net/if_arp.h
830         * sysdeps/unix/sysv/linux/net/if_ppp.h
831         * sysdeps/unix/sysv/linux/net/if_shaper.h
832         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
833         * sysdeps/unix/sysv/linux/netinet/if_tr.h
834         * sysdeps/unix/sysv/linux/netipx/ipx.h
835         * sysdeps/unix/sysv/linux/sys/acct.h
836         Include stdint.h for uintNN_t definitions.
837         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
839 2016-09-23  Zack Weinberg  <zackw@panix.com>
841         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
842         * sysdeps/unix/sysv/linux/netrose/rose.h:
843         Include sys/socket.h and netax25/ax25.h.
845         * inet/netinet/icmp6.h, inet/netinet/ip6.h
846         * resolv/arpa/nameser_compat.h:
847         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
849         * sysdeps/unix/sysv/linux/sys/quota.h:
850         Use __caddr_t instead of caddr_t.
851         * sysdeps/unix/sysv/linux/sys/timerfd.h:
852         Use __clockid_t instead of clockid_t.
854         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
856         * argp/argp.h: Check whether _LIBC is defined before expanding it.
857         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
858         expanding it.
860         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
861         Define __glibc_c99_flexarr_available to 1 when the compiler
862         supports C99-compatible flexible array members, 0 otherwise.
863         * sysdeps/unix/sysv/linux/bits/socket.h
864         * sysdeps/mach/hurd/bits/socket.h
865         * bits/socket.h: Use __glibc_c99_flexarr_available in
866         definitions of struct cmsghdr and CMSG_DATA.
868 2016-09-23  Florian Weimer  <fweimer@redhat.com>
870         * manual/nss.texi (NSS Modules Interface): Adjust function return
871         type to enum nss_status.  Document errnop argument.  Clarify
872         h_errnop semantics.  Fix cross-reference formatting.
873         (NSS Module Function Internals): Mention that *errnop needs to be
874         set on failure, but not to zero.
876 2016-09-23  Florian Weimer  <fweimer@redhat.com>
878         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
879         (get_random_name): New functions.
880         (check_wrapper_flags_mode): Use linkat to give the new file a name
881         determined by get_random_name.
882         (do_test): Add calls to test open64 and openat64.
884 2016-09-23  Florian Weimer  <fweimer@redhat.com>
886         * test-skeleton.c: Remove #include <stdarg.h>.
888 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
890         [BZ #19826]
891         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
892         initialization of static TLS entries.
893         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
894         * nptl/allocatestack.c (init_one_static_tls): Likewise.
896 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
898         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
899         _hurd_malloc_fork_prepare.
900         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
901         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
902         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
903         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
904         (_hurd_fork_child_hook): Drop malloc_fork_child.
905         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
906         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
907         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
908         after locking locks (notably hurd_dtable_lock). Call
909         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
910         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
911         __malloc_fork_unlock_child.
912         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
914 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
916         * soft-fp/extendhftf2.c: New.
917         * soft-fp/fixhfti.c: Likewise.
918         * soft-fp/fixunshfti.c: Likewise.
919         * soft-fp/floattihf.c: Likewise.
920         * soft-fp/floatuntihf.c: Likewise.
921         * soft-fp/half.h: Likewise.
922         * soft-fp/trunctfhf2.c: Likewise.
924 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
926         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
927         macro.
928         * math/libm-test.inc (issubnormal_test_data): New array.
929         (issubnormal_test): New function.
930         * manual/arith.texi (Floating Point Classes): Document
931         issubnormal.
932         * manual/libm-err-tab.pl: Update comment on interfaces without
933         ulps tabulated.
935         * sysdeps/generic/stdint.h: Define
936         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
937         <bits/libc-header-start.h> instead of including <features.h>.
938         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
939         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
940         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
941         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
942         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
943         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
944         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
945         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
946         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
947         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
948         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
949         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
950         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
951         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
952         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
953         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
954         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
955         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
956         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
957         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
958         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
959         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
960         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
961         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
962         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
963         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
964         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
965         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
966         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
967         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
968         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
969         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
970         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
971         * manual/arith.texi (Integers): Document these macros for types
972         specified by width properties.
973         * manual/lang.texi (Width of Type): Document these macros for
974         other standard typedefs.
975         * stdlib/tst-width-stdint.c: New file.
976         * stdlib/Makefile (tests): Add tst-width-stdint.
978 2016-09-21  Florian Weimer  <fweimer@redhat.com>
980         [BZ #20016]
981         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
982         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
983         Move ...
984         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
985         ... here, as compatibility symbols in a new file.
986         * resolv/Makefile (libresolv-routines): Add compat-hooks.
987         * resolv/res_init.c (__res_vinit): Adjust member names.
988         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
989         * resolv/resolv.h (res_sendhookact, res_send_qhook)
990         (res_send_rhook): Remove.
991         (struct __res_state): Rename qhook, rhook members.
993 2016-09-21  Florian Weimer  <fweimer@redhat.com>
995         malloc: Use __libc_lock wrappers.
996         * malloc/arena.c (list_lock, free_list_lock): Define using
997         __libc_lock_define_initialized.
998         (arena_lock): Adjust formatting.
999         * malloc/malloc.c (struct malloc_state): Define mutex using
1000         __libc_lock_define.
1001         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1002         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1003         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1004         (mutex_unlock, mutex_trylock): Remove.
1005         (__pthread_initialize): Remove unused macro.
1006         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1007         (mutex_unlock, mutex_trylock): Remove.
1009 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1011         [BZ #20592]
1012         Remove RR type classification macros.
1013         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1014         (ns_t_udp_p, ns_t_xfr_p): Remove.
1016 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1018         Remove misleading version information.
1019         * resolv/arpa/nameser.h (__NAMESER): Remove.
1020         * resolv/arpa/nameser_compat.h (__BIND): Remove.
1022 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1024         Remove the always-defined BIND_4_COMPAT macro.
1025         * resolv/arpa/nameser.h: Unconditionally include
1026         <arpa/nameser_compat.h>.
1027         (BIND_4_COMPAT): Remove.
1028         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1030 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1032         [BZ #20591]
1033         Remove obsolete DNSSEC support.
1034         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1035         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1036         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1037         (ns_verify_tcp, ns_verify_tcp_init): Remove.
1038         (ns_cert_types): Add comment.
1039         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1040         separately.
1041         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1042         (dst_s_dns_key_id): Remove.
1043         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1044         variables.
1046 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1048         [BZ #20524]
1049         * manual/string.texi (String/Array Comparison): Clarify the
1050         strverscmp behavior.
1052 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1054         * test-skeleton.c (xasprintf): Add function.
1055         * io/tst-open-tmpfile.c: New test.
1056         * io/Makefile (tests): Add it.
1058 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1060         Avoid running $(CXX) during build to obtain header file paths.
1061         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1062         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1063         * Makerules (cstdlib, cmath): Remove variables.  Use
1064         $(c++-cstdlib-header), $(c++-cmath-header) instead.
1065         * configure: Regenerate.
1067 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1069         * Makeconfig (all-object-suffixes): Include .op only if
1070         $(build-profile).
1072 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1074         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1075         conditionals.  Do not define PATH_MAX.
1077 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1079         * posix/Makefile (tests): Add tst-spawn3.
1080         * posix/tst-spawn3.c: New file.
1081         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1082         if it is already opened for open action.
1084         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1085         all signals when executing the clone vfork child.
1086         (SIGALL_SET): Remove macro.
1088         * nptl/Makefile (tests): Add tst-exec5.
1089         * nptl/tst-exec5.c: New file.
1090         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1091         asynchronous cancellation.
1093 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1095         * hurd/exc2signal.c: #include <hurd/signal.h>
1096         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1097         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
1098         accordingly.
1099         * mach/mach_error.c (mach_error): Fix old-style function definition.
1100         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1102 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1104         * math/Makefile (libm-calls): Remove s_nanF.
1105         (gen-libm-calls): Add s_nanF.
1107         * math/s_nan.c: Refactor into ...
1108         * math/s_nan_template.c: New file.
1110         * math/s_nanf.c: Removed.
1111         * math/s_nanl.c: Removed.
1112         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1113         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1115         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1116         (LDOUBLE_nanl_libm_version): New macro.
1118         * sysdeps/generic/math-type-macros-double.h:
1119         (M_STRTO_NAN): New macro.
1120         * sysdeps/generic/math-type-macros-float.h: Likewise.
1121         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1123         * sysdeps/generic/math-type-macros.h: Document
1124         M_STRTO_NAN.
1126 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1128         * math/s_nanf.c: Remove __nanf undef.
1129         * math/s_nan.c: Remove __nan undef.
1130         * math/s_nanl.c: Remove __nanl undef.
1132         * sysdeps/generic/math_private.h (__nan): Remove macro
1133         override.
1134         (__nanf): Likewise.
1135         (__nanl): Likewise.
1137 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1139         * math/Makefile (gen-all-calls): New variable.
1140         (generated): Replace gen-libm-calls with gen-all-calls.
1141         (gen-libm-templates.stmp): Likewise.  Also, ensure
1142         the output directory exists or is created and add
1143         dependency on the Makefile.
1144         (calls): Move s_ldexpF into gen-calls.
1145         (gen-calls): New variable.
1147         * math/s_ldexpf.c: Removed.
1148         * math/s_ldexpl.c: Removed.
1149         * math/s_ldexp.c: Refactored into ...
1150         * math/s_ldexp_template.c: New file.
1152         * sysdeps/generic/math-type-macros-double.h: Remove
1153         redundant fall-through definition of declare_mgen_alias.
1154         (declare_mgen_alias_2): New macro.
1156         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1157         New macro for function aliased to two exported symbols.
1159         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1160         new template file.
1161         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1163 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1165         * Makeconfig (all-object-suffixes): Remove .og.
1166         * Makerules (elide-routines.og): Remove.
1167         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1168         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1169         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1171 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1173         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1174         .os objects.
1176 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1178         [BZ #20615]
1179         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1180         fpu directory by non-fpu.
1181         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1182         on non-fpu directory from a fpu directory.
1184 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1186         * include/limits.h: Define
1187         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1188         <bits/libc-header-start.h> instead of including <features.h>.
1189         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1190         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1191         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1192         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1194         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1195         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1196         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1197         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1198         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1199         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1200         * manual/lang.texi (Width of Type): Document these macros.
1201         * stdlib/tst-width.c: New file.
1202         * stdlib/Makefile (tests): Add tst-width.
1204 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1206         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1207         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1209 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1211         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1212         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1213         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1215 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1217         [BZ #18243]
1218         * rt/Makefile (test): Add tst-shm-cancel.
1219         * rt/tst-shm-cancel.c: New file.
1220         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1222         [BZ #18243]
1223         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1224         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1225         definition.
1226         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1227         uncontended case.
1228         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1229         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1230         (tf): Fix check for uncontended case.
1231         (do_test): Likewise.
1232         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1233         (tf): Fix check for uncontended case.
1234         (do_test): Likewise.
1235         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1236         (tf): Fix check for uncontended case.
1237         (do_test): Likewise.
1238         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1239         (tf): Fix check for uncontended case.
1240         (do_test): Likewise.
1242         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1243         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1245         [BZ #15765]
1246         * nptl/Makefile (tests): Add tst-sem16.
1247         * nptl/tst-sem16.c: New file.
1248         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1250         * nptl/sem_open.c (sem_open): Init pad value to 0.
1251         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1252         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1254 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1256         [BZ #20611]
1257         * inet/Makefile (routines): Add inet6_scopeid_pton.
1258         (tests): Add tst-inet6_scopeid_pton.
1259         * inet/inet6_scopeid_pton.c: New file.
1260         * inet/net-internal.h: Likewise.
1261         * inet/tst-inet6_scopeid_pton.c: New test.
1262         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1263         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1266 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1268         Remove support for compiling wrappers with PTW.
1269         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1270         * nptl/Makefile (pthread-compat-wrappers): Define.
1271         (libpthread-routines): Use pthread-compat-wrappers.
1272         * sysdeps/unix/sysv/linux/alpha/Makefile
1273         (libpthread-routines, libpthread-shared-only-routines): Remove
1274         ptw- prefix.
1275         * sysdeps/s390/nptl/Makefile
1276         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1277         * sysdeps/ia64/nptl/Makefile
1278         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1279         * sysdeps/nacl/Makefile (libpthread-routines): Use
1280         pthread-compat-wrappers to filter the routines list instead of the
1281         ptw- prefix.
1283 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1285         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1286         with L() and remove explicit suffix, convert real literals
1287         which can be equivalentally substituted with integers, and
1288         transform -L(x) to L(-x).
1290         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1291         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1292         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1293         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1294         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1295         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1296         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1297         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1298         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1299         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1300         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1301         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1302         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1303         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1304         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1305         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1306         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1307         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1308         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1309         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1310         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1311         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1312         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1313         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1314         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1315         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1316         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1317         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1318         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1319         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1320         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1321         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1322         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1323         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1324         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1325         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1326         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1327         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1328         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1329         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1330         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1331         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1332         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1333         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1334         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1335         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1336         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1337         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1338         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1339         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1341 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1343         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1345 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1347         * malloc/Makefile (tests): Remove individual static test names
1348         and just add all of tests-static.
1350         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1352 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1354         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1355         file.
1357         * sysdeps/sparc/fpu/fegetmode.c: New file.
1358         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1360         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1361         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1363         * sysdeps/s390/fpu/fegetmode.c: New file.
1364         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1366         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1367         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1368         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1369         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1370         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1371         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1373         * sysdeps/mips/fpu/fegetmode.c: New file.
1374         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1376         * sysdeps/m68k/fpu/fegetmode.c: New file.
1377         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1379         * sysdeps/ia64/fpu/fegetmode.c: New file.
1380         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1382         * sysdeps/hppa/fpu/fegetmode.c: New file.
1383         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1385         * sysdeps/arm/fegetmode.c: New file.
1386         * sysdeps/arm/fesetmode.c: Likewise.
1388         * sysdeps/alpha/fpu/fegetmode.c: New file.
1389         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1391         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1392         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1394         * math/fegetmode.c: New file.
1395         * math/fesetmode.c: Likewise.
1396         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1397         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1398         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1399         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1400         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1401         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1402         declaration.
1403         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1404         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1405         typedef.
1406         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1407         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1408         (femode_t): New typedef.
1409         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1410         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1411         (femode_t): New typedef.
1412         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1413         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1414         (femode_t): New typedef.
1415         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1416         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1417         (femode_t): New typedef.
1418         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1419         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1420         (femode_t): New typedef.
1421         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1422         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1423         (femode_t): New typedef.
1424         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1425         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1426         (femode_t): New typedef.
1427         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1428         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1429         (femode_t): New typedef.
1430         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1431         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1432         (femode_t): New typedef.
1433         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1434         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1435         (femode_t): New typedef.
1436         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1437         declaration.
1438         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1439         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1440         (femode_t): New typedef.
1441         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1442         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1443         (femode_t): New typedef.
1444         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1445         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1446         (femode_t): New typedef.
1447         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1448         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1449         (femode_t): New typedef.
1450         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1451         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1452         (femode_t): New typedef.
1453         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1454         * manual/arith.texi (FE_DFL_MODE): Document macro.
1455         (fegetmode): Document function.
1456         (fesetmode): Likewise.
1457         * math/Versions (fegetmode): New libm symbol at version
1458         GLIBC_2.25.
1459         (fesetmode): Likewise.
1460         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1461         (tests): Add test-femode and test-femode-traps.
1462         * math/test-femode-traps.c: New file.
1463         * math/test-femode.c: Likewise.
1464         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1465         alias for __fe_dfl_env.
1466         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1467         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1468         (__fe_dfl_mode): Likewise.
1469         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1470         version GLIBC_2.25.
1471         * sysdeps/nacl/libm.abilist: Update.
1472         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1473         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1474         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1475         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1476         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1477         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1478         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1479         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1480         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1481         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1482         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1483         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1485         Likewise.
1486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1487         Likewise.
1488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1489         Likewise.
1490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1491         Likewise.
1492         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1493         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1494         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1495         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1496         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1498         Likewise.
1499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1500         Likewise.
1501         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1502         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1503         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1505 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1507         [BZ #20495]
1508         [BZ #20508]
1509         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1510         processors, set Use_dl_runtime_resolve_slow and set
1511         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1512         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1513         New.
1514         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1515         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1516         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1517         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1518         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1519         if Use_dl_runtime_resolve_opt is set.  Use
1520         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1521         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1522         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1523         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1524         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1525         New.
1526         (_dl_runtime_resolve_opt): Likewise.
1527         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1528         defined.
1530 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1532         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1533         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1535 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1537         Convert malloc to __libc_lock.  Automated part, using this Perl
1538         s/// command:
1539           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1540             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1541         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1542         conversion.
1544 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1546         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1547         (linknamespace-symlists-tests): Likewise.
1548         (linknamespace-header-tests): Likewise.
1550 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1552         [BZ #19810]
1553         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1554         * elf/tst-noload.c: New test case.
1555         * elf/Makefile (tests): Add tst-noload.
1557 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1559         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1561         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1562         not any more.
1564         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1566 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1568         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1569         (do_cos_slow): Likewise.
1570         (do_sin): Likewise.
1571         (do_sin_slow): Likewise.
1572         (slow): Likewise.
1573         (slow1): Likewise.
1574         (slow2): Likewise.
1575         (sloww): Likewise.
1576         (sloww1): Likewise.
1577         (sloww2): Likewise.
1578         (bsloww): Likewise.
1579         (bsloww1): Likewise.
1580         (bsloww2): Likewise.
1581         (cslow2): Likewise.
1583         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1585         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1586         arguments.  Consolidate input partitioning from callers here.
1587         (do_cos_slow): Likewise.
1588         (do_sin): Likewise.
1589         (do_sin_slow): Likewise.
1590         (do_sincos_1): Remove the no longer necessary input partitioning.
1591         (do_sincos_2): Likewise.
1592         (__sin): Likewise.
1593         (__cos): Likewise.
1594         (slow1): Likewise.
1595         (slow2): Likewise.
1596         (sloww1): Likewise.
1597         (sloww2): Likewise.
1598         (bsloww1): Likewise.
1599         (bsloww2): Likewise.
1600         (cslow2): Likewise.
1602 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1604         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1605         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1606         outside of allocated array.
1608 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1610         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1611         instead of MB_CUR_MAX to avoid variable-length array.
1613 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1615         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1616         (type-double-routines): Add k_rem_pio2.
1617         (type-float-routines): Add k_rem_pio2f.
1619         * sysdeps/generic/math_private.h:
1620         (__kernel_rem_pio2l): Removed.
1622         * math/k_rem_pio2l.c: Removed.
1623         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1624         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1625         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1626         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1628 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1630         * math/Makefile (gen-libm-calls): Add s_fmin
1631         (libm-calls): Remove above.
1633         * math/s_fmin.c: Refactor into ...
1634         * math/s_fmin_template.c: New file.
1636         * math/s_fminf.c: Removed.
1637         * math/s_fminl.c: Removed.
1638         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1639         (LDOUBLE_fmin_libm_version): New macro.
1641         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1642         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1644 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1646         * math/Makefile: (gen-libm-calls): Add s_fmax.
1647         (libm-calls): Remove above.
1649         * math/s_fmax.c: Refactor into ...
1650         * math/s_fmax_template.c: New file.
1651         * math/s_fmaxf.c: Removed.
1652         * math/s_fmaxl.c: Removed.
1654         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1655         (LDOUBLE_fmaxl_libm_version): New macro.
1657         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1658         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1660         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1661         s_fmin.c to pick the aarch64 version of the file.
1662         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1663         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1665 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1667         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1668         (libm-calls): Remove above.
1670         * math/s_nextdown.c: Refactor into ...
1671         * math/s_nextdown_template.c: New file.
1672         * math/s_nextdownf.c: Removed.
1673         * math/s_nextdownl.c: Removed.
1675         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1677 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1679         * math/Makefile (gen-libm-calls): Add s_fdim.
1680         (libm-calls): Move to above.
1682         * math/s_fdim.c: Renamed and refactored into to ...
1683         * math/s_fdim_template.c: New file.
1684         * math/s_fdiml.c: Removed.
1685         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1686         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1688         * sysdeps/generic/math-type-macros-double.h:
1689         (declare_mgen_alias): Don't declare if already declared.
1690         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1691         Likewise.
1693         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1694         (declare_mgen_alias): Don't declare if already declared.
1695         (M_LIBM_NEED_COMPAT): Likewise.
1696         (declare_mgen_libm_compat): Likewise.
1697         (LDOUBLE_fdiml_libm_version): New macro.
1699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1700         Include math/s_fdim.c now that ldbl-opt version is not needed.
1701         (declare_mgen_alias): New macro to disable aliasing.
1703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1704         (declare_mgen_alias): Likewise.
1705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1706         (declare_mgen_alias): Likewise.
1707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1708         (declare_mgen_alias): Likewise.
1709         (M_LIBM_NEED_COMPAT): Likewise.
1711 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1713         [BZ #20525]
1714         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1715         Include <linux/quota.h>.
1716         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1717         and btodb.
1718         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1719         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1720         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1721         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1722         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1723         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1724         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1725         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1726         types.
1727         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1728         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1730 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1732         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1733         (gammal_positive): Fix spacing.
1734         (__ieee754_gammal_r): Likewise.
1736 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1738         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1739         (_Float128): Define as long double, always.
1740         (L): Apply long double type suffix, always.
1742         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1743         _Float128, excepting comments.
1745         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1746         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1747         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1748         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1749         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1750         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1751         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1752         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1753         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1754         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1755         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1756         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1757         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1758         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1759         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1760         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1761         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1762         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1763         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1764         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1765         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1766         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1767         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1768         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1769         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1770         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1771         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1772         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1773         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1774         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1775         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1776         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1777         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1778         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1779         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1780         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1781         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1782         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1783         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1784         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1785         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1786         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1787         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1788         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1789         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1790         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1791         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1792         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1793         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1794         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1795         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1796         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1797         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1798         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1799         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1800         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1801         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1802         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1803         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1804         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1805         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1806         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1807         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1808         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1809         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1810         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1811         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1812         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1814         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1815         _Float128, and include math_private.h.
1816         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1818         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1819         long double semantics.
1820         (_Float128): Likewise.
1821         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1822         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1823         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1824         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1826 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1828         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1829         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1830         * sysdeps/s390/configure: Regenerated.
1831         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1832         instruction for raising over-/underflow if z196 zarch is supported
1833         by default.
1834         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1836 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1838         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1839         it point to a dumb buffer for RPC to fill it.
1841 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1843         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1844         instead of if/else.
1845         (do_sin_slow): Likewise.
1846         (do_sincos_1): Use fabs instead of if/else.
1847         (do_sincos_2): Likewise.
1848         (__sin): Likewise.
1849         (__cos): Likewise.
1850         (slow2): Likewise.
1851         (sloww): Likewise.
1852         (sloww1): Likewise.  Drop argument M.
1853         (sloww2): Use fabs instead of if/else.
1854         (bsloww): Likewise.
1855         (bsloww1): Likewise.
1856         (bsloww2): Likewise.
1858         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1859         fall through comment.
1860         (do_sincos_1): Likewise.
1862         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1863         Consolidate switch cases 0 and 2.
1865 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1867         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1868         (libm-calls): Remove the above.
1870         * math/s_cexp_template.c: Update using type-generic macros.
1871         * math/s_clog10_template.c: Likewise.
1872         * math/s_cpow_template.c: Likewise.
1873         * math/s_clog_template.c: Likewise.
1874         * math/s_cproj_template.c: Likewise.
1875         * math/s_csqrt_template.c: Likewise.
1877         * math/s_cexp.c: Removed.
1878         * math/s_cexpf.c: Removed.
1879         * math/s_cexpl.c: Removed.
1880         * math/s_clog10.c: Removed.
1881         * math/s_clog10f.c: Removed.
1882         * math/s_clog10l.c: Removed.
1883         * math/s_cpow.c: Removed.
1884         * math/s_cpowf.c: Removed.
1885         * math/s_cpowl.c: Removed.
1886         * math/s_clog.c: Removed.
1887         * math/s_clogf.c: Removed.
1888         * math/s_clogl.c: Removed.
1889         * math/s_cproj.c: Removed.
1890         * math/s_cprojf.c: Removed.
1891         * math/s_cprojl.c: Removed.
1892         * math/s_csqrt.c: Removed.
1893         * math/s_csqrtf.c: Removed.
1894         * math/s_csqrtl.c: Removed.
1896         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1897         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1898         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1899         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1900         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1901         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1903         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1904         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1905         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1906         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1907         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1908         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1909         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1910         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1911         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1912         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1913         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1915         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1916         version.
1918         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1919         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1920         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1921         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1923 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1925         * s_cexp_template.c: Copy of s_cexp.c.
1926         * s_clog_template.c: Copy of s_clog.c.
1927         * s_clog10_template.c: Copy of s_clog10.c.
1928         * s_cpow_template.c: Copy of s_cpow.c.
1929         * s_cproj_template.c: Copy of s_cproj.c.
1930         * s_csqrt_template.c: Copy of s_csqrt.c.
1932 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1934         [BZ #20517]
1935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1936         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1937         exported.
1939 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1941         * math/fetestexceptflag.c: New file.
1942         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1943         Stefan Liebler.
1944         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1945         (fetestexceptflag): New function declaration.
1946         * manual/arith.texi (fetestexceptflag): Document function.
1947         * math/Versions (fetestexceptflag): New libm symbol at version
1948         GLIBC_2.25.
1949         * math/Makefile (libm-support): Add fetestexceptflag.
1950         (tests): Add test-fetestexceptflag.
1951         * math/test-fetestexceptflag.c: New file.
1952         * sysdeps/nacl/libm.abilist: Update.
1953         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1954         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1955         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1956         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1957         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1958         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1959         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1960         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1961         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1962         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1963         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1964         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1966         Likewise.
1967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1968         Likewise.
1969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1970         Likewise.
1971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1972         Likewise.
1973         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1974         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1975         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1976         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1977         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1979         Likewise.
1980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1981         Likewise.
1982         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1983         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1984         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1986 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1988         [BZ #20432]
1989         Avoid strong references to malloc-internal symbols when linking
1990         statically, to support statically interposed mallocs.
1991         * include/libc-symbols.h (call_function_static_weak): New macro.
1992         * malloc/Makefile (tests): Add tst-interpose-nothread,
1993         tst-interpose-thread, tst-interpose-static-nothread,
1994         tst-interpose-static-thread.
1995         (tests-static): Add tst-interpose-static-nothread,
1996         tst-interpose-static-thread.
1997         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1998         tst-interpose-aux-thread.o.
1999         (test-extras): Add tst-interpose-aux-nothread,
2000         tst-interpose-aux-thread.
2001         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2002         tst-interpose-aux-nothread.o.
2003         (tst-interpose-thread, tst-interpose-static-thread): Link with
2004         tst-interpose-aux-thread.o and libthread.
2005         * malloc/tst-interpose-aux-nothread.c: New file.
2006         * malloc/tst-interpose-aux-thread.c: Likewise.
2007         * malloc/tst-interpose-aux.c: Likewise.
2008         * malloc/tst-interpose-aux.h: Likewise.
2009         * malloc/tst-interpose-nothread.c: Likewise.
2010         * malloc/tst-interpose-skeleton.c: Likewise.
2011         * malloc/tst-interpose-static-nothread.c: Likewise.
2012         * malloc/tst-interpose-static-thread.c: Likewise.
2013         * malloc/tst-interpose-thread.c: Likewise.
2014         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2015         * sysdeps/mach/hurd/fork.c (__fork): Only call
2016         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2017         __malloc_fork_unlock_child if defined.
2018         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2020 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2022         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2023         timespec C99 designated initialization.
2025 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2027         [BZ #19946]
2028         Avoid expected SIGALRM signals.
2029         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2030         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2031         (xpthread_create, xpthread_detach, xpthread_join)
2032         (delayed_exit_thread, delayed_exit): New functions.
2033         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2034         (tf): Use xpthread_cond_wait.
2035         (do_test): Likewise.  Replace alarm with delayed_exit.
2036         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2037         (do_test): Call delayed_exit.  Report failure.
2038         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2039         (do_test): Call delayed_exit.
2040         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2041         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
2042         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2043         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
2044         error.
2045         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2046         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
2047         error.
2048         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2049         (do_test): Call delayed_exit.
2050         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2051         (do_test): Call delayed_exit.
2052         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2053         (do_test): Call delayed_exit instead of alarm.  Use
2054         xpthread_mutex_lock.
2055         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2056         (do_test): Call delayed_exit instead of alarm.  Use
2057         xpthread_mutex_lock.
2058         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2059         (do_test): Call delayed_exit instead of alarm.
2060         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2061         (do_test): Call delayed_exit instead of alarm.  Use
2062         xpthread_spin_lock.
2063         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2064         (do_test): Call delayed_exit instead of alarm.  Use
2065         xpthread_join.
2067 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2069         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2070         adjust CFA when allocating register save area on re-aligned
2071         stack.
2073 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2075         * string/tst-cmp.c: New test.
2076         * string/Makefile (tests): Add it.
2078 2016-08-25  Mark Wielaard  <mark@klomp.org>
2080         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2081         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
2082         (check_tree_recurse): Use newly defined accessors.
2083         (check_tree): Likewise.
2084         (maybe_split_for_insert): Likewise.
2085         (__tfind): Likewise.
2086         (__tdelete): Likewise.
2087         (trecurse): Likewise.
2088         (tdestroy_recurse): Likewise.
2089         (__tsearch): Likewise. And add asserts for malloc alignment.
2090         (__twalk): Cast root to node in case CHECK_TREE is defined.
2092 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2094         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2096 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2098         * math/Makefile (libm-gen-calls): Add
2099         catan, catanh, ctan, ctanh.
2100         (libm-calls): Remove the above.
2102         * math/s_catan_template.c: Update using type-generic macros.
2103         * math/s_catanh_template.c: Likewise.
2104         * math/s_ctan_template.c: Likewise.
2105         * math/s_ctanh_template.c: Likewise.
2107         * math/s_catanf.c: Removed.
2108         * math/s_catan.c: Removed.
2109         * math/s_catanl.c: Removed.
2110         * math/s_catanhf.c: Removed.
2111         * math/s_catanh.c: Removed.
2112         * math/s_catanhl.c: Removed.
2113         * math/s_ctanf.c: Removed.
2114         * math/s_ctan.c: Removed.
2115         * math/s_ctanl.c: Removed.
2116         * math/s_ctanhf.c: Removed.
2117         * math/s_ctanh.c: Removed.
2118         * math/s_ctanhl.c: Removed.
2120         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2121         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2122         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2123         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2124         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2125         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2127         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2128         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2129         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2130         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2132 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2134         * s_catan_template.c: Copy of s_catan.c.
2135         * s_catanh_template.c: Copy of s_catanh.c.
2136         * s_ctan_template.c: Copy of s_ctan.c.
2137         * s_ctanh_template.c: Copy of s_ctanh.c.
2139 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2141         * math/Makefile (gen-libm-calls): Move
2142         casin, casinh, csin, csinh here.
2143         (libm-calls): Remove the above.
2145         * math/s_casin_template.c: Update using type-generic macros.
2146         * math/s_casinh_template.c: Likewise.
2147         * math/s_csin_template.c: Likewise.
2148         * math/s_csinh_template.c: Likewise.
2149         * math/k_casinh_template.c: Likewise.
2151         * math/s_casinf.c: Removed.
2152         * math/s_casin.c: Removed.
2153         * math/s_casinl.c: Removed.
2154         * math/s_casinh.c: Removed.
2155         * math/s_casinhf.c: Removed.
2156         * math/s_casinhl.c: Removed.
2157         * math/s_csin.c: Removed.
2158         * math/s_csinf.c: Removed.
2159         * math/s_csinl.c: Removed.
2160         * math/s_csinh.c: Removed.
2161         * math/s_csinhf.c: Removed.
2162         * math/s_csinhl.c: Removed.
2163         * math/k_casinh.c: Removed.
2164         * math/k_casinhf.c: Removed.
2165         * math/k_casinhl.c: Removed.
2167         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2168         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2169         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2170         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2172         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2173         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2174         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2175         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2176         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2177         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2178         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2179         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2181         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2182         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2183         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2184         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2186         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2187         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2188         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2189         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2191 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2193         * s_casin_template.c: Copy of s_casin.c.
2194         * s_casinh_template.c: Copy of s_casinh.c.
2195         * s_csin_template.c: Copy of s_csin.c.
2196         * s_csinh_template.c: Copy of s_csinh.c.
2197         * k_casinh_template.c: Copy of k_casinh.c.
2199 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2201         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2203 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2205         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2206         (mul_split) Remove, rename as mul_splitl, remove
2207         redundant float.h include, and include via mul_splitl.h
2209         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2210         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2211         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2212         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2213         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2215         * math/mul_splitl.h: New file.
2217         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2218         Move into mul_split.h, and remove redundant float.h include.
2220         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2221         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2222         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2223         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2225         * math/mul_split.h: New file.
2227 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2229         * math/Makefile (libm-gen-calls): Move
2230         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2231         (libm-calls): Remove above.
2233         * math/s_cacos_template.c: Update using type-generic macros.
2234         * math/s_cacosh_template.c: Likewise.
2235         * math/s_ccos_template.c: Likewise.
2236         * math/s_ccosh_template.c: Likwise.
2238         * math/s_cacosf.c: Removed.
2239         * math/s_cacos.c: Removed.
2240         * math/s_cacosl.c: Removed.
2241         * math/s_cacoshf.c: Removed.
2242         * math/s_cacosh.c: Removed.
2243         * math/s_cacoshl.c: Removed.
2244         * math/s_ccosf.c: Removed.
2245         * math/s_ccos.c: Removed.
2246         * math/s_ccosl.c: Removed.
2247         * math/s_ccoshf.c: Removed.
2248         * math/s_ccosh.c: Removed.
2249         * math/s_ccoshl.c: Removed.
2251         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2252         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2253         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2254         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2255         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2256         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2258         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2259         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2260         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2261         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2263         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2264         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2265         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2266         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2268 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2270         * s_cacos_template.c: Copy of s_cacos.c.
2271         * s_cacosh_template.c: Copy of s_cacosh.c.
2272         * s_ccos_template.c: Copy of s_ccos.c.
2273         * s_ccosh_template.c: Copy of s_ccosh.c.
2275 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2277         * stdlib/tst-strtod-round-skeleton.c:
2278         Refactored from tst-strtod-round.c.
2280         (L_): New macro to apply literal modifier.
2281         (FNPFX): New macro to select str or wcs prefix.
2282         (CHAR): New macro to choose wchar_t or char.
2283         (STRM): New macro to choose printf for tested character type.
2285         (STRTO): New macro to choose appropriate string -> real function.
2286         (FNPFXS): Stringitized version of FNPFX.
2287         (STR): Support for above macro.
2288         (STRX): Likewise.
2290         (TEST): Update with above macros.
2291         (test): Likewise.
2292         (GEN_ONE_TEST): Likewise.
2293         (test_in_one_mode): Likewise.
2295         * stdlib/tst-strtod-round.c: New file.
2296         * wcsmbs/tst-wcstod-round.c: New file.
2298         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2299         (tst-wcstod-round): Add libm depencency for fesetround.
2301 2016-08-19  Zack Weinberg  <zackw@panix.com>
2303         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2305 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2307         [BZ #20477]
2308         * resolv/res_hconf.c (do_init): Use atomic access.
2309         * resolv/res_hconf.h: Add comments.
2310         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2311         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2314 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2316         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2317         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2318         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2319         Likewise.
2321 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2323         [BZ #16907]
2324         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2325         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2326         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2327         (__attribute__): Remove definition.
2329 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2331         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2332         Remove unused sqrtl declaration.
2334 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2336         * math/Makefile: (gen-libm-templates.stmp): New rule.
2337         (libm-calls): Move carg conj cimag and cabs into ...
2338         (gen-libm-calls): New variable.
2339         (generated): Inform Make objects from gen-libm-calls
2340         may be generated.
2342         * sysdeps/generic/math-type-macros.h: New file.
2343         * sysdeps/generic/math-type-macros-float.h: Likewise.
2344         * sysdeps/generic/math-type-macros-double.h: Likewise.
2345         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2346         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2347         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2349         * math/cabs.c: Refactor into
2350         * math/cabs_template.c: new file.
2351         * math/cabsf.c: Removed.
2352         * math/cabsl.c: Removed.
2353         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2354         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2356         * math/carg.c: Refactor into
2357         * math/carg_template.c: new file.
2358         * math/cargf.c: Removed.
2359         * math/cargl.c: Removed.
2360         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2361         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2363         * math/conj.c: Refactor into
2364         * math/conj_template.c: new file.
2365         * math/conjf.c: Removed.
2366         * math/conjl.c: Removed.
2367         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2368         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2370         * math/cimag.c: Refactor into
2371         * math/cimag_template.c: new file.
2372         * math/cimagf.c: Removed.
2373         * math/cimagl.c: Removed.
2374         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2375         * sysdeps/ieee754/ldbl-opt/cimagl.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 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2386         Reduce time to expected nptl/tst-once5 failure.
2387         * nptl/tst-once5.cc (TIMEOUT): Define.
2389 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2391         [BZ #20452]
2392         Avoid additional copies of objects in libc.a in static libraries.
2393         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2394         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2395         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2396         rt-sysdep.
2397         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2398         Add nptl-sysdep.
2399         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2400         Add ptw-sysdep.
2401         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2402         rt-sysdep.
2403         * sysdeps/unix/sysv/linux/alpha/Makefile
2404         (libpthread-shared-only-routines): Add ptw-sysdep,
2405         ptw-sigprocmask, ptw-rt_sigaction.
2406         * sysdeps/unix/sysv/linux/ia64/Makefile
2407         (librt-shared-only-routines): Add rt-sysdep.
2408         * sysdeps/unix/sysv/linux/i386/Makefile
2409         (libpthread-shared-only-routines): Add libc-do-syscall.
2410         * sysdeps/unix/sysv/linux/microblaze/Makefile
2411         (libpthread-shared-only-routines): Add sysdep.
2412         * sysdeps/unix/sysv/linux/powerpc/Makefile
2413         (librt-shared-only-routines): Add rt-sysdep.
2414         (libpthread-shared-only-routines): Add sysdep.
2415         * sysdeps/unix/sysv/linux/s390/Makefile
2416         (librt-shared-only-routines): Add rt-sysdep.
2417         * sysdeps/unix/sysv/linux/sparc/Makefile
2418         (librt-shared-only-routines): Add rt-sysdep.
2419         (libpthread-shared-only-routines): Add sysdep.
2420         * sysdeps/unix/sysv/linux/tile/Makefile
2421         (libpthread-shared-only-routines): Likewise.
2423 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2425         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2426         Mask implicit bit out of unpacked value.
2427         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2428         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2429         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2431         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2433         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2435         * sysdeps/s390/fpu/fesetexcept.c: New file.
2437         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2438         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2439         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2441         * sysdeps/mips/fpu/fesetexcept.c: New file.
2443         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2445         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2447         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2449         * sysdeps/arm/fesetexcept.c: New file.
2451         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2453         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2455         * math/fesetexcept.c: New file.
2456         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2457         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2458         * math/fenv.h: Define
2459         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2460         <bits/libc-header-start.h> instead of including <features.h>.
2461         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2462         declaration.
2463         * manual/arith.texi (fesetexcept): Document function.
2464         * math/Versions (fesetexcept): New libm symbol at version
2465         GLIBC_2.25.
2466         * math/Makefile (libm-support): Add fesetexcept.
2467         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2468         * math/test-fesetexcept.c: New file.
2469         * math/test-fesetexcept-traps.c: Likewise.
2470         * sysdeps/nacl/libm.abilist: Update.
2471         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2472         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2473         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2474         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2475         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2476         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2477         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2478         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2479         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2480         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2481         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2482         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2484         Likewise.
2485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2486         Likewise.
2487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2488         Likewise.
2489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2490         Likewise.
2491         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2492         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2493         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2494         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2495         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2497         Likewise.
2498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2499         Likewise.
2500         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2501         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2502         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2504 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2506         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2507         New.
2508         (do_test): Apply default_stack_size_in_mb if not set.
2509         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2511 2016-08-15  Andreas Schwab  <schwab@suse.de>
2513         [BZ #20435]
2514         CVE-2016-6323
2515         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2516         as .cantunwind.
2518 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2520         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2521         comment from fraiseexcpt.c.
2523         * math/test-fexcept.c (feraiseexcept_exact): New function.
2524         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2525         (test_except): Likewise.
2527 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2529         [BZ #20455]
2530         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2531         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2532         to be restored.
2534         * math/test-fexcept-traps.c: New file.
2535         * math/test-fexcept.c: Likewise.
2536         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2537         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2538         macro.
2539         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2540         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2542 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2544         * include/atomic.h (atomic_fetch_and_relaxed,
2545         atomic_fetch_and_release, atomic_fetch_or_release,
2546         atomic_fetch_xor_release): New.
2548 2016-08-06  Christian Seiler  <christian@iwakd.de>
2550         [BZ #20444]
2551         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2552         MACH_PORT_NULL.
2554 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2556         * math/s_fdim.c: Avoid alias renamed.
2557         * math/s_fdimf.c: Likewise.
2558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2559         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2560         Add s_fdimf-vis3, s_fdim-vis3.
2561         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2562         (CFLAGS-s_fdim-vis3.c): Likewise.
2563         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2564         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2566 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2569         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2570         Remove s_fdimf-vis3, s_fdim-vis3.
2571         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2572         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2579         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2580         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2582 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2584         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2585         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2586         -Wa,-Av9a -mvis.
2588 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2590         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2591         LIT() to individual constants in simple expressions
2592         after splitting on spaces.
2593         (_apply_lit): Rename replaced version, and use it to
2594         apply to what appears to be a token.
2596         * math/libm-test.inc: Fix many, many issues with
2597         spacing.
2599 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2601         * math/math.h: Move comment about <bits/mathdef.h> definitions
2602         above inclusion of <bits/mathdef.h>.  Do not mention
2603         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2605 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2607         * include/atomic.h (atomic_exchange_relaxed): New.
2609 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2611         * math/e_scalb.c: Do not include <fenv.h>.
2612         (invalid_fn): Do calculation resulting in NaN instead of raising
2613         FE_INVALID and returning a NaN explicitly.
2614         * math/e_scalbf.c: Do not include <fenv.h>.
2615         (invalid_fn): Do calculation resulting in NaN instead of raising
2616         FE_INVALID and returning a NaN explicitly.
2617         * math/e_scalbl.c: Do not include <fenv.h>.
2618         (invalid_fn): Do calculation resulting in NaN instead of raising
2619         FE_INVALID and returning a NaN explicitly.
2621 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2623         * po/de.po: Updated from Translation Project.
2624         * po/fi.po: Likewise.
2625         * po/sv.po: Likewise.
2627 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2629         [BZ #20452]
2630         Use sysdep.o from libc.a in static libraries.
2631         * sysdeps/unix/sysv/linux/i386/Makefile
2632         (libpthread-shared-only-routines): Add sysdep.
2633         (librt-shared-only-routines): Likewise.
2635 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2637         * math/tgmath.h (nextdown): Define if
2638         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2639         (nextup): Likewise.
2641         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2642         macro.
2643         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2644         Document.
2645         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2646         Document macro.
2647         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2648         (exp10f): Likewise.
2649         (exp10l): Likewise.
2650         * math/bits/mathcalls.h (exp10): Declare if
2651         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2653         * manual/arith.texi (nextup): Fix typo in last change.
2655 2016-08-03  Zack Weinberg  <zackw@panix.com>
2657         [BZ #19239]
2658         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2659         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2660         define major, minor, and makedev to issue deprecation warnings on use.
2661         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2662         previously-activated deprecation warnings for these macros and prevent
2663         subsequent inclusions of this header from having any effect.
2664         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2665         including <sys/sysmacros.h>, and undefine it again afterward.
2667 2016-08-03  Zack Weinberg  <zackw@panix.com>
2669         * sysdeps/generic/sys/sysmacros.h: Delete file.
2670         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2671         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2672         * bits/sysmacros.h: ... here; this encoding is now the generic
2673         encoding.  Now defines only the following macros:
2674         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2675         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2676         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2678         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2679         bits/sysmacros.h and the above new macros to generate the
2680         public implementations of major, minor, and makedev.
2681         * misc/tst-makedev.c: New test.
2682         * include/sys/sysmacros.h: New wrapper.
2684         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2685         (routines): Add makedev.
2686         (tests): Add tst-makedev.
2687         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2688         gnu_dev_makedev.
2689         * posix/Makefile (headers): Remove sys/sysmacros.h.
2690         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2692         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2693         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2694         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2695         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2696         * sysdeps/unix/sysv/linux/arm/libc.abilist
2697         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2698         * sysdeps/unix/sysv/linux/i386/libc.abilist
2699         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2700         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2701         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2702         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2703         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2704         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2705         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2706         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2707         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2712         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2713         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2714         * sysdeps/unix/sysv/linux/sh/libc.abilist
2715         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2716         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2719         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2720         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2721         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2722         Add GLIBC_2.25.
2724         * include/features.h (__glibc_clang_prereq): New macro.
2725         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2726         (__attribute_deprecated_msg__): New macros.
2728 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2730         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2731         macro.
2732         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2733         * manual/arith.texi (issignaling): Document as ISO from TS
2734         18661-1:2014.
2735         (nextup): Likewise.
2736         (nextupf): Likewise.
2737         (nextupl): Likewise.
2738         (nextdown): Likewise.
2739         (nextdownf): Likewise.
2740         (nextdownl): Likewise.
2741         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2742         macro.
2743         * math/math.h: Define
2744         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2745         <bits/libc-header-start.h> instead of including <features.h>.
2746         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2747         [__USE_GNU].
2748         * math/bits/mathcalls.h (nextdown): Declare if
2749         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2750         (nextup): Likewise.
2751         (__issignaling): Likewise.
2753 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2755         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2756         check, and remove __glibc_likely hint
2757         from FP_INFINITE check.
2758         * s_csinhf.c (__csinhf): Likewise.
2760         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2761         hint from FP_INFINITE check.
2762         * s_csinhl.c (__csinhl): Likewise.
2764 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2766         * math/Makefile (libm-calls): Insert F placeholder into
2767         object names.  Move w_lgamma_compat* routines into
2768         (libm-compat-calls): New variable.
2769         (libm-compat-calls-ldouble-yes): New variable.
2770         (calls): Insert F placeholder.
2771         (generated): Redefine using new type-foreach macro call.
2772         (routines): Likewise.
2774         (types): New variable to hold a list of symbolic names
2775         for each type supported by the target machine.
2776         (libm-routines): Redefine using new types variable.
2777         (type-foreach): macro to replace fooF with the
2778         appropriately suffixed foo for each types.
2780         (type-ldouble-suffix): New variable.
2781         (type-ldouble-routines): Likewise.
2782         (type-ldouble-yes): Likewise.
2783         (type-double-suffix): Likewise.
2784         (type-double-routines): Likewise.
2785         (type-float-suffix): Likewise.
2786         (type-float-routines): Likewise.
2788         (dbl-only-routines): Remove.
2789         (long-c-yes): Likewise.
2790         (long-m-routines): Likewise.
2791         (long-m-support): Likewise.
2792         (long-m-yes): Likewise.
2793         (test-longdouble-yes): Likewise.
2795         (test-float.o): Simplify by increasing the scope of the
2796         recipe which adds libm-test.stmp to the vector types.
2797         (test-ifloat.o): Likewise.
2798         (test-float-finite.o): Likewise.
2799         (test-double.o): Likewise
2800         (test-idouble.o): Likewise.
2801         (test-double-finite.o): Likewise.
2802         (test-ldouble.o): Likewise
2803         (test-ildoubl.o): Likewise.
2804         (test-ldouble-finite.o): Likewise.
2806         (libm-tests): Redefine type tests using foreach and the
2807         list of types in types.
2809         (CPPFLAGS-test-ildoubl.c): Rename to
2810         (CPPFLAGS-test-ildouble.c): New variable
2812         * math/test-ildoubl.c: Rename to
2813         * math/test-ildouble.c: New file.
2815 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2817         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2818         Use fabsl instead of fabs.
2819         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2820         Likewise.
2821         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2822         Add long double suffix to constant to ensure proper
2823         promotion to long double.
2825 2016-08-03  Tom Tromey  <tom@tromey.com>
2827         [BZ #20311]
2828         * nptl_db/Makefile (headers): Add proc_service.h.
2829         * nptl_db/proc_service.h: Add include guard.  Use
2830         __BEGIN/__END_DECLS.
2831         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2832         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2833         arguments.
2836 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2838         [BZ #17730]
2839         Avoid using memalign for TCB allocations.
2840         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2841         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2842         Avoid alignment gap in the TLS_DTV_AT_TP case.
2843         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2844         determine the pointer to free.
2845         * nptl/tst-tls3-malloc.c: New test.
2846         * nptl/Makefile (tests): Add it.
2847         (tst-tls3-malloc): Link with libdl, libpthread.
2848         (LDFLAGS-tst-tls3-malloc): Set.
2849         (tst-tls3-malloc.out): Depend on DSO used in test.
2851 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2853         [BZ #17730]
2854         Avoid using memalign for TLS allocations.
2855         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2856         is_static member with to_free member.
2857         (union dtv): Use struct dtv_pointer.
2858         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2859         dtv_pointer instead of is_static.
2860         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2861         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2862         instead of val.
2863         (allocate_dtv_entry): New function.
2864         (allocate_and_init): Return struct dtv_pointer.  Call
2865         allocate_dtv_entry instead of __libc_memalign.
2866         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2867         instead of val.
2868         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2869         instead of is_static.  Adjust call to allocate_and_init.
2870         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2871         struct dtv_pointer instead of val.
2873 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2875         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2876         (MALLOC_ALIGN_MASK): Move ...
2877         * malloc/malloc-internal.h: ... to here.
2878         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2880 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2882         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2883         (UDP_ENCAP_GTP1U): Likewise.
2885         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2886         (PF_MAX): Update value.
2887         (AF_QIPCRTR): New macro.
2889 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2891         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2892         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2893         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2894         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2895         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2896         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2897         s_truncf-vis3, s_trunc-vis3.
2898         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2899         (CFLAGS-s_ceil-vis3.c): Likewise.
2900         (CFLAGS-s_floorf-vis3.c): Likewise.
2901         (CFLAGS-s_floor-vis3.c): Likewise.
2902         (CFLAGS-s_truncf-vis3.c): Likewise.
2903         (CFLAGS-s_trunc-vis3.c): Likewise.
2904         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2905         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2906         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2907         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2908         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2909         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2910         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2911         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2912         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2913         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2914         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2915         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2917 2016-08-02  David S. Miller  <davem@davemloft.net>
2919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2920         (__nearbyint_vis3): Don't check for sNaN before float register is
2921         loaded with the incoming argument.
2922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2923         (__nearbyintf_vis3): Likewise.
2924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2925         Likewise.
2926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2927         Likewise.
2929         * string/test-strncmp.c (do_test_limit): Make sure the test data
2930         stream is aligned as required for the type "CHAR".
2931         (do_test): Likewise.
2933 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2935         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2936         by beq instructions jumping to the end of the function.
2937         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2938         clobber list. Use "i" constraint instead of "X".
2939         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2940         of "X".
2942 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2944         * bits/libc-header-start.h: New file.
2945         * Makefile (headers): Add bits/libc-header-start.h.
2946         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2947         (__GLIBC_USE): New macro.
2948         * libio/stdio.h: Define
2949         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2950         <bits/libc-header-start.h> instead of including <features.h>.
2951         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2952         (open_memstream): Likewise.
2953         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2954         (__asprintf): Likewise.
2955         (asprintf): Likewise.
2956         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2957         (getdelim): Likewise.
2958         (getline): Likewise.
2959         * string/string.h: Define
2960         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2961         <bits/libc-header-start.h> instead of including <features.h>.
2962         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2963         (strndup): Likewise.
2964         * wcsmbs/wchar.h: Define
2965         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2966         <bits/libc-header-start.h> instead of including <features.h>.
2967         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2968         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2970 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2972         Support linking against compatibility symbols, for use in tests.
2973         * include/libc-symbols.h (symbol_version_reference): New macro.
2974         (symbol_version): Use it.
2975         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2976         (compat_symbol): Use compat_symbol_reference.
2977         (compat_symbol_1, compat_symbol_2): Remove.
2978         (compat_symbol_reference, compat_symbol_reference_1)
2979         (compat_symbol_reference_2): New macro.  Use
2980         symbol_version_reference.
2982 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2984         [BZ #19469]
2985         * malloc/Makefile (CPPFLAGS): Compile tests with
2986         -DTEST_NO_MALLOPT.
2987         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2989 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2991         [BZ #20033]
2992         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2993         finite version.
2994         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2995         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2996         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2997         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2998         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2999         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3000         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3001         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3002         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3003         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3004         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3005         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3006         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3007         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3008         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3009         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3010         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3011         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3012         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3013         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3014         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3015         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3016         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3017         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3018         in zero power.
3020 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3022         [BZ #20370]
3023         * malloc/arena.c (get_free_list): Update comment.  Assert that
3024         arenas on the free list have no attached threads.
3025         (remove_from_free_list): New function.
3026         (reused_arena): Call it.
3028 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
3030         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3031         when it is a NaN.
3032         [_IEEE_FP_INEXACT] Remove.
3033         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3034         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3035         when it is a NaN.
3036         [_IEEE_FP_INEXACT] Remove.
3037         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3038         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3039         when it is a NaN.
3040         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3041         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3042         when its absolute value is greater than 0x1.0p52.
3043         [_IEEE_FP_INEXACT] Remove.
3044         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3045         when its absolute value is greater than 0x1.0p23.
3046         [_IEEE_FP_INEXACT] Remove.
3048 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3050         * version.h (RELEASE): Set to "development"
3051         (VERSION): Set to 2.24.90.
3052         * NEWS: Add 2.25 section.
3054         * version.h (RELEASE): Set to "stable"
3055         (VERSION): Set to 2.24.
3056         * include/features.h (__GLIBC_MINOR__): Set to 24.
3058         * NEWS: Add 2.24 fixed bugs.
3059         * po/libc.pot: Regenerate.
3061 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
3063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3064         [$(subdir) = math] (libm-sysdep_routines): Remove.
3065         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3066         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3067         s_truncf-vis3, s_trunc-vis3.
3068         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3070         file.
3071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3092         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3093         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3094         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3095         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3096         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3097         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3098         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3099         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3100         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3101         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3102         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3103         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3104         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3105         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3106         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3107         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3108         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3109         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3110         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3111         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3112         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3113         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3115 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3117         [BZ #20384]
3118         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3119         test-double-libmvec-sincos-avx-main.o,
3120         test-double-libmvec-sincos-avx2-main.o,
3121         test-double-libmvec-sincos-main.o,
3122         test-float-libmvec-sincosf-avx-main.o,
3123         test-float-libmvec-sincosf-avx2-main.o and
3124         test-float-libmvec-sincosf-main.o.
3125         test-float-libmvec-sincosf-avx512-main.o.
3126         ($(objpfx)test-double-libmvec-sincos): Also link with
3127         $(objpfx)test-double-libmvec-sincos-main.o.
3128         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3129         $(objpfx)test-double-libmvec-sincos-avx-main.o.
3130         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3131         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3132         ($(objpfx)test-float-libmvec-sincosf): Also link with
3133         $(objpfx)test-float-libmvec-sincosf-main.o.
3134         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3135         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3136         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3137         test-double-libmvec-sincos-avx512-main.o and
3138         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3139         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3140         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3141         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3142         (CFLAGS-test-double-libmvec-sincos.c): Removed.
3143         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3144         (CFLAGS-test-double-libmvec-sincos-main.c): New.
3145         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3146         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3147         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3148         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3149         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3150         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3151         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3152         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3153         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3154         -DREQUIRE_AVX2.
3155         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3156         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3157         -DREQUIRE_AVX512F.
3158         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3159         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3160         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3161         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3162         file.
3163         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3164         Likewise.
3165         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3166         Likewise.
3167         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3168         Likewise.
3169         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3170         Likewise.
3171         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3172         Likewise.
3173         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3174         Likewise.
3175         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3176         Likewise.
3178 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3180         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3182 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3184         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3185         and typo in a comment about AT_HWCAP entry.
3187 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3189         * sysdeps/aarch64/libm-test-ulps: Updated.
3191 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3193         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3194         of r13 as it is not restored in mvcle case.
3196 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3198         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3199         Rename "ret" to "__ret".
3200         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3201         inline_syscall5, inline_syscall6): Likewise.
3203 2016-07-19   Will Newton  <will.newton@gmail.com>
3205         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3206         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3207         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3208         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3209         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3211 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3213         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3214         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3215         -mfpmath=387 with $(rtld-CFLAGS).
3216         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3217         $(rtld-CFLAGS).
3219 2016-07-18   Ross Burton  <ross.burton@intel.com>
3220              Khem Raj  <raj.khem@gmail.com>
3222         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3223         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3224         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3225         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3226         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3227         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3228         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3229         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3230         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3231         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3232         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3233         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3234         R_METAG_TLS_DTPOFF): New.
3236 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3237             Matt Clay  <mclay@lycos.com>
3239         [BZ #20357]
3240         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3241         to call __mpsin/__mpcos and to negate values.
3242         * math/auto-libm-test-in: Add test.
3243         * math/auto-libm-test-out: Regenerate.
3245 2016-07-18  Zack Weinberg  <zackw@panix.com>
3247         * grp/Makefile: Don't install the internal header grp-merge.h.
3249 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3251         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3253 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3255         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3257 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3259         [BZ #15368]
3260         * sysdeps/unix/sysv/linux/nptl-signals.h
3261         (__nptl_clear_internal_signals): New function.
3262         (__libc_signal_block_all): Likewise.
3263         (__libc_signal_block_app): Likewise.
3264         (__libc_signal_restore_set): Likewise.
3265         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3266         implementation.
3267         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3268         the cached pid/tid value in pthread structure.
3270 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3272         [BZ #20347]
3273         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3275 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3277         [BZ #20348]
3278         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3279         preadv64, pwrite64 and pwritev64.
3281 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3283         [BZ #20350]
3284         * posix/tst-preadwrite.c: Renamed to ...
3285         * posix/tst-preadwrite-common.c: This.
3286         (PREAD): Removed.
3287         (PWRITE): Likewise.
3288         (STRINGIFY): Likewise.
3289         (STRINGIFY2): Likewise.
3290         (do_prepare): Make it static and remove function arguments.
3291         (do_test): Likewise.
3292         (PREPARE): Updated.
3293         (TEST_FUNCTION): New.
3294         (name): Make it static.
3295         (fd): Likewise.
3296         (do_prepare): Use create_temp_file.
3297         (do_test): Renamed to ...
3298         (do_test_with_offset): This.  Make it static and accept offset.
3299         Properly check return value of PWRITE and PREAD.  Return bytes
3300         read.  Don't close fd nor unlink name.
3301         * posix/tst-preadwrite.c: Rewrite.
3302         * posix/tst-preadwrite64.c: Likewise.
3304 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3306         [BZ #20309]
3307         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3308         -mtls-dialect=gnu2 works.
3309         * configure: Regenerated.
3310         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3311         (tests): Add tst-gnu2-tls1.
3312         (modules-names): Add tst-gnu2-tls1mod.
3313         ($(objpfx)tst-gnu2-tls1): New.
3314         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3315         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3316         * elf/tst-gnu2-tls1.c: New file.
3317         * elf/tst-gnu2-tls1mod.c: Likewise.
3318         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3319         bytes for push in the PLT entry to align the stack.
3321 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3323         [BZ #20349]
3324         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3326 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3328         [BZ #18707]
3329         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3330         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3332 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3334         * sysdeps/unix/sysv/linux/sysdep.h
3335         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3336         guards.
3337         * misc/tst-preadvwritev-common.c: New file.
3338         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3339         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3340         a check for files larger than 2GB.
3342         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3343         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3344         * sysdeps/unix/sysv/linux/pread.c
3345         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3346         __OFF_T_MATCHES_OFF64_T.
3347         * sysdeps/unix/sysv/linux/pread64.c
3348         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3349         * sysdeps/unix/sysv/linux/preadv.c
3350         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3351         * sysdeps/unix/sysv/linux/preadv64.c
3352         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3353         * sysdeps/unix/sysv/linux/pwrite.c
3354         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3355         * sysdeps/unix/sysv/linux/pwrite64.c
3356         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3357         * sysdeps/unix/sysv/linux/pwritev.c
3358         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3359         * sysdeps/unix/sysv/linux/pwritev64.c
3360         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3362 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3364         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3365         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3367 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3369         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3371 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3373         [BZ #20240]
3374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3375         (CFLAGS-s_modf-ppc32.c): New variable.
3376         (CFLAGS-s_modff-ppc32.c): Likewise.
3377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3378         (CFLAGS-s_modf-ppc64.c): Likewise.
3379         (CFLAGS-s_modff-ppc64.c): Likewise.
3381 2016-07-07  Andreas Schwab  <schwab@suse.de>
3383         [BZ #20263]
3384         * nptl/tst-robust10.c: New test.
3385         * nptl/Makefile (tests): Add tst-robust10.
3387 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3389         [BZ #20263]
3390         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3392 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3394         * sysdeps/s390/linkmap.h (struct link_map_machine):
3395         Remove member gotplt and add member jmprel.
3396         * sysdeps/s390/s390-32/dl-machine.h
3397         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3398         instead of gotplt with &got[3].
3399         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3400         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3402 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3404         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3406 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3408         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3409         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3410         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3411         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3412         * libio/vtables.c (_IO_vtable_check)
3413         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3414         * libio/libioP.h (IO_set_accept_foreign_vtables)
3415         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3417 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3419         [BZ #20314]
3420         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3421         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3422         $(common-objpfx)cmath.
3423         ($(common-objpfx)cstdlib): New target.
3424         ($(common-objpfx)cmath): Likewise.
3426 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3428         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3430 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3432         [BZ #20327]
3433         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3434         are not part of the string.
3436 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3438         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3439         * nptl/tst-cancel4-common.h (fifoname): New variable.
3440         (fifofd): Likewise.
3441         (cl_fifo): New function.
3442         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3443         SIGINT.
3444         (tf_open): Add early cancel test.
3446 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3448         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3450 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3452         * sysdeps/generic/ldsodefs.h
3453         (dl_symbol_visibility_binds_local_p): New inline function.
3454         * elf/dl-addr.c (determine_info): Treat hidden and internal
3455         symbols as local.
3456         * elf/dl-lookup.c (do_lookup_x): Likewise.
3457         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3459 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3461         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3462         invalid exception for a sNaN input.
3463         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3464         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3465         (__nearbyint_vis3): Likewise
3466         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3467         (__nearbyintf_vis3): Likewise
3468         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3469         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3470         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3471         Likewise.
3472         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3473         Likewise.
3475 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3477         [BZ #20139]
3478         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3479         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3480         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3481         2.24 or above.
3482         (HAVE_AVX512_ASM_SUPPORT): Removed.
3483         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3484         * sysdeps/x86_64/configure: Regenerated.
3485         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3486         check unconditional.
3487         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3488         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3489         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3490         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3491         Likewise.
3492         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3493         Likewise.
3494         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3495         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3496         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3497         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3498         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3499         Likewise.
3500         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3501         Likewise.
3502         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3503         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3504         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3505         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3506         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3507         Likewise.
3508         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3509         Likewise.
3510         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3511         Likewise.
3512         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3513         Likewise.
3514         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3515         Likewise.
3516         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3517         Likewise.
3518         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3519         Likewise.
3520         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3521         Likewise.
3522         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3523         Likewise.
3524         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3525         Likewise.
3526         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3527         Likewise.
3529 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3531         [BZ #20024]
3532         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3533         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3534         of this implementation of vector function.
3535         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3536         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3537         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3538         Likewise.
3539         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3540         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3541         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3542         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3543         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3544         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3545         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3546         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3547         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3548         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3549         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3550         for testing vector sincos with fixed ABI.
3551         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3552         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3553         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3554         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3555         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3556         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3557         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3558         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3559         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3560         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3561         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3562         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3563         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3564         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3565         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3566         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3568 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3570         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3572 2016-06-30  Anton Blanchard  <anton@samba.org>
3574         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3575         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3576         s_sinf-ppc64.
3577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3580         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3582 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3585         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3586         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3587         e_expf-ppc64.
3588         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3589         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3590         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3591         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3593 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3595         [BZ #20277]
3596         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3597         when SHARED is defined.
3599 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3601         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3602         (index_arch_Prefer_ERMS): Likewise.
3603         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3604         __memcpy_erms for Prefer_ERMS.
3605         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3606         (__memmove_erms): Enabled for libc.a.
3607         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3608         __memmove_erms or Prefer_ERMS.
3609         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3610         __mempcpy_erms for Prefer_ERMS.
3611         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3612         __memset_erms for Prefer_ERMS.
3614 2016-06-30  Andreas Schwab  <schwab@suse.de>
3616         [BZ #20262]
3617         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3618         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3619         of memory.
3621 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3623         [BZ #18645]
3624         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3625         (test-extras): Add tst-cleanupx4aux.
3626         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3627         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3628         tst-cleanupx4aux.o.
3629         * nptl/tst-cleanupx4aux.c: New file.
3631 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3633         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3635 2016-06-29  Andreas Schwab  <schwab@suse.de>
3637         [BZ #20260]
3638         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3639         address before the beginning of the string as an integer to avoid
3640         array-bounds warning.
3642 2016-06-28  Richard Henderson  <rth@redhat.com>
3644         * elf/elf.h (EM_BPF): New.
3645         (EM_NUM): Update.
3646         (R_BPF_NONE, R_BPF_MAP_FD): New.
3648         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3649         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3650         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3651         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3652         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3653         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3654         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3655         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3656         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3657         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3658         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3659         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3660         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3661         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3662         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3663         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3664         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3665         (EM_NUM): Update.
3667 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3669         [BZ #18960]
3670         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3671         Set _nl_current_LC_CATEGORY_used to two instead of one.
3673 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3675         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3676         (do_test): ... this.
3677         (TEST_FUNCTION): New macro.
3678          Include test-skeleton.c.
3679         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3680         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3682 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3684         [BZ #15479]
3685         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3686         floating-point environment rather than just control word.
3687         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3688         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3689         floating-point environment, with "invalid" exceptions merged in,
3690         rather than just control word.
3691         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3692         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3693         "inexact" exceptions.
3695         [BZ #15479]
3696         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3697         floating-point environment rather than just control word.
3698         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3699         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3700         floating-point environment, with "invalid" exceptions merged in,
3701         rather than just control word.
3702         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3703         * math/libm-test.inc (floor_test_data): Do not allow spurious
3704         "inexact" exceptions.
3706         [BZ #15479]
3707         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3708         floating-point environment rather than just control word.
3709         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3710         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3711         floating-point environment, with "invalid" exceptions merged in,
3712         rather than just control word.
3713         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3714         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3715         "inexact" exceptions.
3717 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3719         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3720         __libc_vfork.
3721         (__vfork) [IS_IN (libc)]: Remove alias.
3722         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3723         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3724         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3726 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3728         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3729         of atomic_compare_and_exchange_bool_rel.
3730         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3731         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3732         catomic_compare_and_exchange_bool_rel): Remove.
3733         * sysdeps/aarch64/atomic-machine.h
3734         (atomic_compare_and_exchange_bool_rel): Likewise.
3735         * sysdeps/alpha/atomic-machine.h
3736         (atomic_compare_and_exchange_bool_rel): Likewise.
3737         * sysdeps/arm/atomic-machine.h
3738         (atomic_compare_and_exchange_bool_rel): Likewise.
3739         * sysdeps/mips/atomic-machine.h
3740         (atomic_compare_and_exchange_bool_rel): Likewise.
3741         * sysdeps/microblaze/atomic-machine.h
3742         ( __arch_compare_and_exchange_bool_8_rel,
3743         __arch_compare_and_exchange_bool_16_rel): Likewise.
3744         * sysdeps/powerpc/atomic-machine.h
3745         ( __arch_compare_and_exchange_bool_8_rel,
3746         __arch_compare_and_exchange_bool_16_rel): Likewise.
3747         * sysdeps/powerpc/powerpc32/atomic-machine.h
3748         ( __arch_compare_and_exchange_bool_32_rel,
3749         __arch_compare_and_exchange_bool_64_rel): Likewise.
3750         * sysdeps/powerpc/powerpc64/atomic-machine.h
3751         ( __arch_compare_and_exchange_bool_32_rel,
3752         __arch_compare_and_exchange_bool_64_rel): Likewise.
3753         * sysdeps/tile/atomic-machine.h
3754         (atomic_compare_and_exchange_bool_rel): Likewise.
3756 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3758         [BZ #20296]
3759         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3760         when either argument is a NaN.
3761         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3762         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3764         * math/libm-test.inc (snan_value_ld): New macro.
3765         (isgreater_test_data): Add sNaN tests.
3766         (isgreaterequal_test_data): Likewise.
3767         (isless_test_data): Likewise.
3768         (islessequal_test_data): Likewise.
3769         (islessgreater_test_data): Likewise.
3770         (isunordered_test_data): Likewise.
3771         (nextafter_test_data): Likewise.
3772         (nexttoward_test_data): Likewise.
3773         (remainder_test_data): Likewise.
3774         (remquo_test_data): Likewise.
3775         (significand_test_data): Likewise.
3776         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3778 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3780         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3781         environment macros are defined.
3782         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3784 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3786         [BZ #20191]
3787         Implement vtable verification in libio.
3788         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3789         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3790         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3791         _IO_new_file_init_internal instead of _IO_file_init.
3792         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3793         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3794         * libio/Makefile (routines): Add vtables.
3795         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3796         (_IO_init): Remove, not for internal use.
3797         (_IO_init_internal): Declare, internal replacement for _IO_init.
3798         (_IO_file_init): Remove, not for internal use.
3799         (_IO_new_file_init): Remove, not for internal use.
3800         (_IO_new_file_init_internal): Declare, internal replacement for
3801         _IO_new_file_init.
3802         (_IO_old_file_init): Remove, not for internal use.
3803         (_IO_old_file_init_internal): Declare, internal replacement for
3804         _IO_old_file_init.
3805         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3806         internal use.
3807         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3808         Declare.
3809         (libio_vtable): New macro.
3810         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3811         functions.
3812         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3813         _IO_new_file_init.
3814         (_IO_new_file_init): New externally visible wrapper which disables
3815         vtable verification.
3816         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3817         Define as vtables.
3818         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3819         (_IO_init): New externally visible wrapper which disables
3820         vtable verification.
3821         * libio/iofdopen.c (_IO_new_fdopen): Call
3822         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3823         comment.
3824         * libio/iofopen.c (__fopen_internal): Call
3825         _IO_new_file_init_internal instead of _IO_file_init.
3826         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3827         Define as vtables.
3828         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3829         _IO_new_file_init_internal instead of _IO_file_init.
3830         * libio/iopopen.c (_IO_new_popen): Likewise.
3831         (_IO_proc_jumps): Define as vtable.
3832         * libio/iovdprintf.c (_IO_vdprintf): Call
3833         _IO_new_file_init_internal instead of _IO_file_init.
3834         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3835         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3836         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3837         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3838         _IO_old_file_init.
3839         (_IO_old_file_init): New externally visible wrapper which disables
3840         vtable verification.
3841         (_IO_old_file_jumps): Define as vtable.
3842         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3843         _IO_old_file_init_internal instead of _IO_old_file_init.
3844         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3845         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3846         (_IO_old_proc_jumps): Define as vtable.
3847         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3848         Define as vtables.
3849         * libio/vtables.c: New file.
3850         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3851         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3852         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3853         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3854         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3855         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3856         instead of _IO_init.
3858 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3860         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3862 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3864         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3865         potentially unused.
3867 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3869         * test-skeleton.c (write_message): New function.
3870         * malloc/tst-mallocfork2.c (write_message): Remove.
3871         * debug/tst-longjmp_chk2.c (write_indented): New function.
3872         (write_message): Remove.
3873         (stackoverflow_handler): Call write_indented.
3875 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3877         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3878         "inexact" exceptions after fnstenv.
3879         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3880         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3881         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3883 2015-06-22  Zack Weinberg  <zackw@panix.com>
3885         * sysdeps/generic/bits/hwcap.h: Moved to ...
3886         * bits/hwcap.h: Here.
3888 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3890         * sysdeps/aarch64/memcpy.S (memcpy):
3891         Further tuning for performance.
3893 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3895         [BZ #20284]
3896         * malloc/arena.c (reused_arena): Do not return NULL if we start
3897         out with a non-corrupted arena.
3899 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3901         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3902         * misc/tst-preadvwritev.c: New file.
3903         * misc/tst-preadvwritev64.c: Likewise.
3904         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3905         usage.
3906         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3907         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3908         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3909         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3911 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3913         [BZ #19654]
3914         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3915         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3916         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3917         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3918         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3919         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3920         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3921         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3922         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3923         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3924         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3925         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3926         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3927         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3928         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3929         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3930         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3931         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3932         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3933         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3934         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3935         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3936         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3937         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3938         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3939         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3941 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3943         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3944         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3946 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3948         * sysdeps/aarch64/memcpy.S (memcpy):
3949         Rewrite of optimized memcpy and memmove.
3950         * sysdeps/aarch64/memmove.S (memmove): Remove
3951         memmove code (merged into memcpy.S).
3953 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3955         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3956         * sysdeps/generic/dl-dtv.h: New file.
3957         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3958         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3959         (dtv_t): Remove.
3960         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3961         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3962         (dtv_t): Remove.
3963         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3964         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3965         (dtv_t): Remove.
3966         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3967         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3968         (dtv_t): Remove.
3969         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3970         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3971         (dtv_t): Remove.
3972         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3973         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3974         (dtv_t): Remove.
3975         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3976         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3977         (dtv_t): Remove.
3978         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3979         (dtv_t): Remove.
3980         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3981         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3982         (dtv_t): Remove.
3983         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3984         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3985         (dtv_t): Remove.
3986         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3987         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3988         (dtv_t): Remove.
3989         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3990         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3991         (dtv_t): Remove.
3992         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3993         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3994         (dtv_t): Remove.
3995         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3996         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3997         (dtv_t): Remove.
3998         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3999         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4000         (dtv_t): Remove.
4001         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4002         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4003         (dtv_t): Remove.
4005 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4007         Revert symbol poisoning of  __malloc_initialize_hook.
4008         * include/stdc-predef.h (__malloc_initialize_hook): Remove
4009         poisoning.
4010         * malloc/Makefile: Remove un-poisoning.
4011         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4012         instead of old__malloc_initialize_hook.
4013         * malloc/malloc-hooks.h: Likewise.
4014         * malloc/malloc.c: Likewise.
4015         * malloc/mcheck-init.c: Likewise.
4017 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
4019         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4021 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
4023         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4024         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4025         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4026         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4028 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4030         * NEWS: Mention addition of nextup and nextdown.
4031         * manual/arith.texi: Document nextup and nextdown.
4032         * manual/libm-err-tab.pl: Add nextup and nextdown.
4033         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4034         * math/Versions (libm): Add GLIBC_2.24.
4035         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4036         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4037         Add new test.
4038         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4039         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4040         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4041         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4042         (nextup_test_data): Likewise.
4043         (nextdown_test_data): Likewise.
4044         * math/s_nextdown.c: New file.
4045         * math/s_nextdownf.c: Likewise.
4046         * math/s_nextdownl.c: Likewise.
4047         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4048         F(nextup): New function.
4049         F(nextdown): Likewise.
4050         * math/tgmath.h: Add nextup and nextdown.
4051         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4052         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4053         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4054         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4055         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4056         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4057         Add nextup and nextdown.
4058         (CFLAGS-nldbl-nextup.c): New variable.
4059         (CFLAGS-nldbl-nextdown.c): Likewise.
4060         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4061         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4062         * sysdeps/nacl/libm.abilist: Update.
4063         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4064         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4065         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4066         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4067         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4068         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4069         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4070         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4071         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4072         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4073         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4074         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4077         Likewise.
4078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4080         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4081         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4082         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4083         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4084         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4087         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4088         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4089         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4090         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4092 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4094         * manual/pattern.texi: Fix typos & grammar errors.
4096 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4098         * manual/search.texi: Fix typos & grammar errors.
4100 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4102         * manual/message.texi: Fix typos & grammar errors.
4104 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
4106         * manual/contrib.texi: Fix spelling typos.
4107         * manual/crypt.texi: Likewise.
4108         * manual/filesys.texi: Likewise.
4109         * manual/locale.texi: Likewise.
4110         * manual/message.texi: Likewise.
4111         * manual/nss.texi: Likewise.
4112         * manual/string.texi: Likewise.
4114 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4116         * manual/locale.texi: Fix typos & grammar errors.
4118 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4120         * manual/charset.texi: Fix typos & grammar errors.
4122 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4124         * manual/string.texi: Fix typos.
4126 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4128         * manual/ctype.texi: Fix typos.
4130 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4132         * manual/memory.texi: Fix various typos & grammar errors.
4134 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
4136         [BZ #20255]
4137         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
4138         * math/libm-test.inc (fdim_test_data): Add another test.
4140         [BZ #6796]
4141         [BZ #20255]
4142         [BZ #20256]
4143         * math/s_fdim.c: Include <math_private.h>.
4144         (__fdim): Use math_narrow_eval on result.
4145         * math/s_fdimf.c: Include <math_private.h>.
4146         (__fdimf): Use math_narrow_eval on result.
4147         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4148         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4149         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4150         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4151         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4152         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4153         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4154         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4155         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4156         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4157         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4158         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4159         overflow.  Add sNaN tests.
4161         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4162         fpclassify.
4163         * math/s_fdimf.c (__fdimf): Likewise.
4164         * math/s_fdiml.c (__fdiml): Likewise.
4166 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4168         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4169         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4171         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4172         ifunc'ed strcasecmp/strncasecmp.
4173         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4174         [EALIGN]: Removed.
4175         [END]: Likewise.
4176         [__strcasecmp]: Define instead of the above to control symbol name.
4177         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4178         for __strcasecmp_power8.
4179         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4180         for __strncasecmp_power8.
4181         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4182         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4183         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4184         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4185         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4186         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4188 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4190         [BZ #20252]
4191         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4192         arguments when second argument is a NaN.
4193         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4194         qNaN tests.
4196         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4197         (conj_test_data): Likewise.
4198         (copysign_test_data): Likewise.
4199         (creal_test_data): Likewise.
4200         (fma_test_data): Likewise.
4201         (fmod_test_data): Likewise.
4203         [BZ #20250]
4204         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4205         itself.
4206         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4207         zero input to itself.
4208         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4209         Likewise.
4210         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4211         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4212         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4213         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4214         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4216 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4218         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4219         * nptl/tst-cancel4-common.c: New file.
4220         * nptl/tst-cancel4-common.h: Likewise.
4221         * nptl/tst-cancel4.c: Move common definitions to
4222         tst-cancel4-common.{c,h} file.
4223         * nptl/tst-cancel4_1.c: New test.
4224         * nptl/tst-cancel4_2.c: New test.
4226 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4228         [BZ #20248]
4229         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4230         (write_message): New function.
4231         (stackoverflow_handler): Call it instead of printf, to avoid
4232         excessive stack usage by printf.
4233         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4235 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4237         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4238         (prio_inherit_missing): Remove define.
4239         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4240         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4241         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4242         Likewise.
4243         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4244         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4245         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4246         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4247         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4248         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4250 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4252         [BZ #19670]
4253         [BZ #19672]
4255         * io/test-lfs.c (do_prepare): Use xmalloc.
4256         * io/tst-fcntl.c (do_prepare): Likewise.
4257         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4258         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4259         * login/tst-utmp.c (do_prepare): Likewise.
4260         * posix/tst-exec.c (do_prepare): Likewise.
4261         * posix/tst-pathconf.c (prepare): Likewise.
4262         * posix/tst-spawn.c (do_prepare): Likewise.
4263         * posix/tst-truncate.c (do_prepare): Likewise.
4264         * rt/tst-aio.c (do_prepare): Likewise.
4265         * rt/tst-aio64.c (do_prepare): Likewise.
4267 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4269         [BZ #20237]
4270         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4271         (get*ent): Set entidx to NULL during initialization.  If entidx is
4272         NULL, start iteration from the beginning.
4274 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4276         * malloc/malloc.c (musable): Return correct size for dumped fake
4277         mmapped chunk.
4279 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4281         [BZ #20222]
4282         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4283         (_IO_cookie_write): Likewise.
4284         (_IO_cookie_seek): Likewise.
4285         (_IO_cookie_close): Likewise.
4286         (_IO_old_cookie_seek): Likewise.
4287         (set_callbacks): New function.
4288         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4290 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4292         * locale/programs/localedef.c (oldstyle_tables): Remove.
4293         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4295 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4297         [BZ #20240]
4298         * math/Makefile (CFLAGS-s_modf.c): New variable.
4299         (CFLAGS-s_modff.c): Likewise.
4300         (CFLAGS-s_modfl.c): Likewise.
4301         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4303 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4305         [BZ #20215]
4306         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4307         [!__GNUC_PREREQ (3,2)]: Likewise.
4309 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4311         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4312         (msghdr.msg_controllen): Likewise.
4313         (cmsghdr.cmsg_len): Likewise.
4314         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4315         ptw-oldsendmsg.
4316         (CFLAGS-oldrecvmsg.c): Remove rule.
4317         (CFLAGS-oldsendmsg.c): Likewise.
4318         (CFLAGS-recvmsg.c): Add rule.
4319         (CFLAGS-sendmsg.c): Likewise.
4320         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4321         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4322         (CFLAGS-recvmsg.c): Remove rule.
4323         (CFLAGS-sendmsg.c): Likewise.
4324         (CFLAGS-oldrecvmsg.c): Likewise.
4325         (CFLAGS-oldsendmsg.c): Likewise.
4326         (CFLAGS-recvmmsg.c): Likewise.
4327         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4328         to kernel defined interfaces.
4329         (msghdr.msg_controllen): Likewise.
4330         (cmsghdr.cmsg_len): Likewise.
4331         (msghdr.__glibc_reserved1): Remove member.
4332         (msghdr.__glibc_reserved2): Likewise.
4333         (cmsghdr.__glibc_reserved1): Likewise.
4334         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4335         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4336         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4337         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4338         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4339         version.
4340         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4341         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4342         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4343         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4344         Remove recvmsg and sendmsg.
4345         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4346         Likewise.
4347         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4348         Likewise.
4349         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4350         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4351         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4352         Likewise.
4353         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4354         Likewise.
4355         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4356         [libc] (GLIBC_2.24): Likewise.
4357         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4358         Likewise.
4359         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4360         Likewise.
4361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4362         [libc] (GLIBC_2.24): Likewise.
4363         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4364         Likewise.
4365         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4366         Likewise.
4367         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4368         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4369         Likewise.
4370         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4371         Likewise.
4372         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4373         Likewise.
4374         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4375         Likewise.
4376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4377         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4378         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4379         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4380         version for {recv,send,recm,sendm}msg.
4381         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4382         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4383         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4384         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4385         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4386         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4387         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4388         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4389         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4390         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4391         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4392         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4394         Likewise.
4395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4396         Likewise.
4397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4399         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4400         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4401         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4402         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4403         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4404         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4407         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4408         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4409         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4411 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4413         [BZ #19564]
4414         Remove __malloc_initialize_hook from the API.
4415         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4416         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4417         #pragma GCC poison.
4418         * malloc/malloc-hooks.h: New file.
4419         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4420         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4421         (old__malloc_initialize_hook): Rename from
4422         __malloc_initialize_hook to evade poisoning.  Turn into compat
4423         symbol.
4424         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4425         __malloc_initialize_hook.
4426         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4427         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4428         * manual/memory.texi (Hooks for Malloc): Remove
4429         __malloc_initialize_hook.  Adjust hook example.
4431 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4433         [BZ #20235]
4434         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4435         itself.
4436         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4437         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4439         [BZ #20234]
4440         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4441         infinity or NaN input to itself.
4443         [BZ #20233]
4444         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4445         to itself.
4447         [BZ #20232]
4448         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4449         itself.
4451 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4453         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4454         __libc_start_main via GOT.
4456 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4458         * sysdeps/x86_64/memcopy.h: New file.
4459         * sysdeps/x86_64/wordcopy.c: Likewise.
4461 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4463         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4464         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4465         <cstdlib>.
4466         (optimization_barrier): New.
4467         (do_test): Use it.  Call quick_exit in the global namespace.
4468         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4469         instead of <cstdlib>, <thread>.
4470         (optimization_barrier): New.
4471         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4472         Call quick_exit in the global namespace.
4473         (do_test): Call optimization_barrier.  Use pthread_create,
4474         pthread_join instead of std::thread.
4476 2016-06-09  Andreas Schwab  <schwab@suse.de>
4478         [BZ #19755]
4479         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4480         new entries in auto-propagate mode.
4481         * nscd/grpcache.c (cache_addgr): Likewise.
4483 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4485         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4486         New functions.
4487         (add_temp_file): Use them.
4489 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4491         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4493 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4495         [BZ #20229]
4496         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4497         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4498         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4500         [BZ #20228]
4501         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4502         itself.
4503         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4504         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4506         [BZ #20227]
4507         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4508         itself.
4509         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4510         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4511         * math/libm-test.inc (log_test_data): Add sNaN tests.
4513         [BZ #20226]
4514         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4515         itself.
4516         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4517         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4518         (exp10_test_data): Likewise.
4519         (expm1_test_data): Likewise.
4521         [BZ #20225]
4522         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4523         itself.
4524         * math/s_ldexpf.c (__ldexpf): Likewise.
4525         * math/s_ldexpl.c (__ldexpl): Likewise.
4526         * math/w_scalbln.c (__w_scalbln): Likewise.
4527         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4528         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4529         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4530         (scalbln_test_data): Likewise.
4532         [BZ #20224]
4533         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4534         argument to itself.
4535         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4537 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4539         [BZ #19776]
4540         * sysdeps/x86_64/memcpy.S: Make it dummy.
4541         * sysdeps/x86_64/mempcpy.S: Likewise.
4542         * sysdeps/x86_64/memmove.S: New file.
4543         * sysdeps/x86_64/memmove_chk.S: Likewise.
4544         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4545         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4546         * sysdeps/x86_64/memmove.c: Removed.
4547         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4548         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4549         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4550         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4551         Likewise.
4552         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4553         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4555         memcpy-sse2-unaligned, memmove-avx-unaligned,
4556         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4557         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4558         (__libc_ifunc_impl_list): Replace
4559         __memmove_chk_avx512_unaligned_2 with
4560         __memmove_chk_avx512_unaligned.  Remove
4561         __memmove_chk_avx_unaligned_2.  Replace
4562         __memmove_chk_sse2_unaligned_2 with
4563         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4564         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4565         with __memmove_avx512_unaligned.  Replace
4566         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4567         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4568         with __memcpy_chk_avx512_unaligned.  Remove
4569         __memcpy_chk_avx_unaligned_2.  Replace
4570         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4571         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4572         Replace __memcpy_avx512_unaligned_2 with
4573         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4574         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4575         with __mempcpy_chk_avx512_unaligned.  Remove
4576         __mempcpy_chk_avx_unaligned_2.  Replace
4577         __mempcpy_chk_sse2_unaligned_2 with
4578         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4579         Replace __mempcpy_avx512_unaligned_2 with
4580         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4581         Replace __mempcpy_sse2_unaligned_2 with
4582         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4583         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4584         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4585         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4586         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4587         (ENTRY): Removed.
4588         (END): Likewise.
4589         (ENTRY_CHK): Likewise.
4590         (libc_hidden_builtin_def): Likewise.
4591         Don't include ../memcpy.S.
4592         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4593         __memcpy_chk_avx512_unaligned_erms and
4594         __memcpy_chk_avx512_unaligned.  Use
4595         __memcpy_chk_avx_unaligned_erms and
4596         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4597         Default to __memcpy_chk_sse2_unaligned.
4598         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4599         Change function suffix from unaligned_2 to unaligned.
4600         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4601         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4602         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4603         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4604         (ENTRY): Removed.
4605         (END): Likewise.
4606         (ENTRY_CHK): Likewise.
4607         (libc_hidden_builtin_def): Likewise.
4608         Don't include ../mempcpy.S.
4609         (mempcpy): New.  Add a weak alias.
4610         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4611         __mempcpy_chk_avx512_unaligned_erms and
4612         __mempcpy_chk_avx512_unaligned.  Use
4613         __mempcpy_chk_avx_unaligned_erms and
4614         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4615         Default to __mempcpy_chk_sse2_unaligned.
4617 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4619         [BZ #19881]
4620         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4621         into ...
4622         * sysdeps/x86_64/memset.S: This.
4623         (__bzero): Removed.
4624         (__memset_tail): Likewise.
4625         (__memset_chk): Likewise.
4626         (memset): Likewise.
4627         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4628         defined.
4629         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4630         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4631         (__memset_zero_constant_len_parameter): Check SHARED instead of
4632         PIC.
4633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4634         memset-avx2 and memset-sse2-unaligned-erms.
4635         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4636         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4637         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4638         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4639         (__bzero): Enabled.
4640         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4641         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4642         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4643         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4644         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4645         (memset): Removed.
4646         (__memset_chk): Likewise.
4647         (MEMSET_SYMBOL): New.
4648         (libc_hidden_builtin_def): Replace __memset_sse2 with
4649         __memset_sse2_unaligned.
4650         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4651         __memset_chk_sse2 and __memset_chk_avx2 with
4652         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4653         Use __memset_chk_sse2_unaligned_erms or
4654         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4655         __memset_chk_avx512_unaligned_erms and
4656         __memset_chk_avx512_unaligned.
4658 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4660         * math/gen-auto-libm-test.c (fp_format_desc): remove
4661         suffix member.
4662         (output_generic_value): Remove usage of suffix member,
4663         and the resulting unuse of the fp_format argument.
4664         (output_for_one_input_case): Remove unused fp_format
4665         parameter.
4667         * math/auto-libm-test-out: Regenerate.
4669         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4670         usage with TEST_COND_ibm128.
4671         (TEST_COND_flt_32): Remove.
4672         (TEST_COND_dbl_64): Remove.
4673         (TEST_COND_ldbl_96_intel): Remove.
4674         (TEST_COND_ldbl_96_m68k): Remove.
4675         (TEST_COND_ldbl_128): Remove.
4677 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4679         * auto-libm-test-in:
4680         Replace flt-32 usage with binary32.
4681         Replace dbl-64 usage with binary64.
4682         Replace ldbl-intel-96 usage with intel96.
4683         Replace ldbl-m68k-96 usage with m68k96.
4684         Replace ldbl-128ibm usage with ibm128.
4685         Replace ldbl-128 usage with binary128.
4687         * auto-libm-test-out: Regenerate.
4689 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4691         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4692         (parse_ulps): Dynamically generate type name matching
4693         string from all_floats.
4694         (get_ulps): Generate the ulps as an array instead.
4695         (output_ulps): Dynamically compose the type based
4696         on the number of supported formats, and print
4697         the indices as type specific helper macros.
4699         * math/libm-test.inc: Remove comment about CHOOSE.
4700         (ulp_data): Generate the type in libm-test-ulps.h.
4701         (ULP_IDX): New macro.
4702         (find_ulps): Update usage of max_ulp.
4704         * math/test-double-vlen2.h (CHOOSE): Remove.
4705         * math/test-double-vlen4.h (CHOOSE): Likewise.
4706         * math/test-double-vlen8.h (CHOOSE): Likewise.
4707         * math/test-float.c (CHOOSE): Likewise.
4708         * math/test-float-finite.c (CHOOSE): Likewise.
4709         * math/test-double.c (CHOOSE): Likewise.
4710         * math/test-double-finite.c (CHOOSE): Likewise.
4711         * math/test-idouble.c (CHOOSE): Likewise.
4712         * math/test-ifloat.c (CHOOSE): Likewise.
4713         * math/test-ildoubl.c (CHOOSE): Likewise.
4714         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4715         * math/test-ldouble.c (CHOOSE): Likewise.
4717         * math/test-float.h (TEST_FLOAT): Remove.
4718         * math/test-double.h (TEST_DOUBLE): Likewise.
4719         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4721 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4723         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4724         (parse_args): Strip C suffix from floating point literals
4725         typed with 'f' and wrap them with LIT().
4727         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4728         (test_ff_f_data_nexttoward): Rename to
4729         (test_fj_f_data): New struct.
4730         (nexttoward_test_data): Relabel tests as
4731         TEST_fj_f instead of TEST_ff_f.
4733 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4735         Emacs bug 23726.
4736         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4737         (__libc_realloc): Correct size computation for dumped fake mmapped
4738         chunks.
4740 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4742         [BZ #20219]
4743         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4744         to itself.
4745         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4747         [BZ #20218]
4748         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4749         to itself.
4750         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4752 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4754         [BZ #20195]
4755         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4756         check to ...
4757         (init_cpu_features): Here.
4759 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4761         [BZ #20214]
4762         * sysdeps/unix/sysv/linux/bits/in.h
4763         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4764          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4765         Define to 1.
4766         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4767          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4768         Define to 0.
4769         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4770         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4772 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4774         [BZ #20198]
4775         * stdlib/Makefile (tests): Add tst-quick_exit, and
4776         tst-thread-quick_exit.
4777         [ifeq ($(have-cxx-thread_local),yes)]
4778         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4779         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4780         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4781         (LDLIBS-tst-thread-quick_exit): Likewise.
4782         [ifneq ($(have-cxx-thread_local),yes)]
4783         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4784         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4785         If run_dtors is true call __call_tls_dtors.
4786         (exit): Call __run_exit_handlers with run_dtors set to true.
4787         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4788         definition.
4789         * stdlib/quick_exit.c (quick_exit): Remove function.
4790         (__new_quick_exit): New function.
4791         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4792         function.
4793         * stdlib/tst-quick_exit.cc: New file.
4794         * stdlib/tst-thread-quick_exit.cc: New file.
4795         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4796         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4797         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4798         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4799         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4800         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4801         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4802         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4803         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4804         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4805         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4806         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4807         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4808         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4809         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4810         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4815         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4816         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4817         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4818         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4819         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4822         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4823         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4824         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4826 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4828         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4829         a typo in comments.
4831 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4833         [BZ #20213]
4834         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4835         argument to itself.
4836         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4838 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4840         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4841         required flags.
4842         (CFLAGS-pwritev64.c): Likewise.
4843         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4844         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4845         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4846         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4847         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4848         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4849         syscall from auto-generation.
4850         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4851         [WORDSIZE == 64] (pwritev64): Remove macro.
4852         [!PWRITEV] (PWRITEV): Likewise.
4853         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4854         [!PWRITEV] (PWRITE): Likewise.
4855         [!PWRITEV] (OFF_T): Likewise.
4856         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4857         (LO_HI_LONG): Remove macro.
4858         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4859         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4860         (PWRITEV): Remove macro.
4861         (PWRITEV_REPLACEMENTE): Likewise.
4862         (PWRITE): Likewise.
4863         (OFF_T): Likewise.
4864         (pwritev64): New function.
4865         * nptl/tst-cancel4.c (tf_writev): Add test.
4867         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4868         required flags.
4869         (CFLAGS-preadv64.c): Likewise.
4870         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4871         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4872         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4873         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4874         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4875         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4876         syscall from auto-generation.
4877         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4878         [WORDSIZE == 64] (preadv64): Remove macro.
4879         [!PREADV] (PREADV): Likewise.
4880         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4881         [!PREADV] (PREAD): Likewise.
4882         [!PREADV] (OFF_T): Likewise.
4883         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4884         (LO_HI_LONG): Remove macro.
4885         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4886         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4887         (PREADV): Remove macro.
4888         (PREADV_REPLACEMENTE): Likewise.
4889         (PREAD): Likewise.
4890         (OFF_T): Likewise.
4891         (preadv64): New function.
4892         * nptl/tst-cancel4.c (tf_preadv): Add test.
4894 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4896         [BZ #20212]
4897         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4898         argument to itself.
4899         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4901 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4903         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4904         New symbol defined as libc_hidden_def.
4905         (strcasestr): Became a weak alias to __strcasestr.
4906         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4907         according to multi-arch support.  Move __stpncpy hidden
4908         definition from here to...
4909         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4910         symbol stpncpy.
4911         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4912         libc_hidden_builtin_def.
4913         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4914         memset symbol to use when multi-arch support is available.
4916 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4918         * dlfcn/tst-rec-dlopen.c: Include string.h.
4920 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4922         * manual/install.texi: Remove mention of --without-tls
4923         * INSTALL: Regenerate.
4925 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4927         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4928         Remove.
4929         (call_function, interposed_malloc_called): New variables.
4930         (malloc): New function.
4931         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4932         and clear call_function as needed.
4934 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4936         * include/wchar.h (__wmemset): Use __typeof.
4938 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4940         * include/wchar.h (__wmemset): Declare function without typeof.
4942 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4944         [BZ #20205]
4945         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4946         exponent when incrementing negative subnormal with low mantissa
4947         word zero.
4948         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4949         Add another test.
4951 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4953         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4954         __wmemset instead of wmemset.
4956 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4958         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4959         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4960         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4961         __USE_KERNEL_IPV6_DEFS to 0.
4962         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4963         Update comment.
4965 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4967         [BZ #19861]
4968         Do not use IFUNC resolver with potentially unrelocated symbol.
4969         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4970         (DEFINE_FORK): Remove macro and inline definition.
4971         (fork_alias): Renamed from fork_ifunc.
4972         (__fork_alias): Renamed from __fork_ifunc.
4974 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4976         [BZ 19653]
4977         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4978         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4980 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4982         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4983         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4984         i386-linux-gnu).
4985         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4986         Set to no.
4987         * sysdeps/mach/hurd/configure: Refresh.
4989 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4991         [BZ #20178]
4992         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4993         on failure instead of exit.
4995 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4997         [BZ #3629]
4998         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4999         of POSIX.1-2008.
5001 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5003         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5004           Use PLT entry for calling _hurd_self_sigstate.
5006 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5008         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5009         available logical processors with SMT level type sharing L2
5010         cache for Intel processors.
5012 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5014         [BZ #20160]
5015         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5016         argument to itself before returning the result.
5017         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5018         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5019         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5020         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5021         Likewise.
5022         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5023         Likewise.
5024         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5025         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5026         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5027         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5028         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5029         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5031         [BZ #20160]
5032         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5033         argument to itself before returning the result.
5034         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5035         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5036         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5037         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5038         Likewise.
5039         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5040         Likewise.
5041         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5042         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5043         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5044         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5045         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5046         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5048 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5050         * libm-test.inc: Replace usage of M_El with
5051         (lit_e): New macro.
5053 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5055         * libm-test.inc: Replace usage of M_PI_4l with
5056         (lit_pi_4_d): New macro.
5058 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5060         * libm-test.inc: Replace usage of M_PIl with
5061         (lit_pi): New macro.
5063 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5065         * libm-test.inc: Replace usage of M_PI2l with
5066         (lit_pi_2_d): New macro.
5068         * math/test-double.h (LITM): New macro.
5069         * math/test-float.h (LITM): Likewise.
5070         * math/test-ldouble.h (LITM): Likewise.
5072 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5074         * libm-test.inc (M_PI_34l): Rename to
5075         (lit_pi_3_m_4_d): New Macro.
5076         (M_PI_34_LOG10El): Rename to
5077         (lit_pi_3_m_4_ln10_m_d): New Macro.
5078         (M_PI2_LOG10El): Rename to
5079         (lit_pi_2_ln10_m_d):  New Macro.
5080         (M_PI4_LOG10El): Rename to
5081         (lit_pi_4_ln10_m_d):  New Macro.
5082         (M_PI_LOG10El): Rename to
5083         (lit_pi_ln10_d):  New Macro.
5085 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5087         [BZ #20157]
5088         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5089         determine whether to negate low half if [_ARCH_PPCGR], and integer
5090         comparison otherwise.
5091         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5092         determine whether to negate low half.
5094         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5095         (NO_TEST_INLINE_DOUBLE): Likewise.
5096         (TEST_COND_x86_64): Likewise.
5097         (TEST_COND_x86): Likewise.
5098         (M_PI_6l): Likewise.
5100 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5102         * math/libm-test.inc:
5103         (TEST_FLOAT): Change usage to TEST_COND_binary32.
5104         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5105         (TEST_LDOUBLE): Update usage to evaluate as true if
5106         the guarded tests match the property being tested.
5107         (LDBL_MAX_EXP): Change to MAX_EXP.
5108         (LDBL_MIN_EXP): Change to MIN_EXP.
5109         (LDBL_MANT_DIG): Change to MANT_DIG, except for
5110         nexttoward tests.
5112 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5114         * math/libm-test.inc:
5115         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5116         (TYPE_MIN): Likewise.
5117         (TYPE_TRUE_MIN): Likewise.
5118         (TYPE_MAX): Likewise.
5119         (MIN_EXP): Likewise.
5120         (MAX_EXP): Likewise.
5121         (MANT_DIG): Likewise.
5123         (FSTR_MAX): New macro.
5124         (__CONCATX): Likewise.
5125         (QTYPE_STR): Likewise.
5126         (TEST_COND_binary32): Likewise.
5127         (TEST_COND_binary64): Likewise.
5128         (TEST_COND_binary128): Likewise.
5129         (TEST_COND_ibm128): Likewise.
5130         (TEST_COND_intel96): Likewise.
5131         (TEST_COND_m68k96): Likewise.
5133         (TEST_COND_flt_32): Redefine as equivalent format test macro.
5134         (TEST_COND_dbl_64): Likewise.
5135         (TEST_COND_ldbl_96_intel): Likewise.
5136         (TEST_COND_ldbl_96_m68k): Likewise.
5137         (TEST_COND_ldbl_128): Likewise.
5138         (TEST_COND_ldbl_128ibm): Likewise.
5140         (plus_zero): Redefine using LIT macro.
5141         (minus_zero): Likewise.
5142         (plus_infty): Redefine as (INF).
5143         (minux_infty): Redefine as (-INF).
5144         (max_value): Redefine as TYPE_MAX.
5145         (min_value): Redefine as TYPE_MIN.
5146         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5148         (print_float): Refactor to use snprintf to convert FLOAT values
5149         to string. This brings it closer to dropin replacement of strtof
5150         for the TS 18661 defined types.
5151         (update_stats): Likewise.
5152         (print_complex_function_ulps): Likewise.
5153         (print_max_error): Likewise.
5154         (print_complex_max_error): Likewise.
5155         (check_float_internal): Likewise.
5157         * math/test-float.h (PREFIX): New macro.
5158         (LIT): Likewise.
5159         (TYPE_STR): Likewise.
5160         (FTOSTR): Likewise.
5162         * math/test-double.h (PREFIX): New macro.
5163         (LIT): Likewise.
5164         (TYPE_STR): Likewise.
5165         (FTOSTR): Likewise.
5167         * math/test-ldouble.h (PREFIX): New macro.
5168         (LIT): Likewise.
5169         (TYPE_STR): Likewise.
5170         (FTOSTR): Likewise.
5172 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5174         [BZ #20156]
5175         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5176         to itself when zero or not finite.
5177         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5178         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5179         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5180         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5182 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5184         [BZ #20153]
5185         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5186         x * x + x for infinities and NaNs.
5188         [BZ #20151]
5189         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5190         argument to itself before returning result.
5191         (__ieee754_y0l): Likewise.
5192         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5193         (__ieee754_y1l).
5195         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5196         (atan_test_data): Likewise.
5197         (ceil_test_data): Likewise.
5198         (cos_test_data): Likewise.
5199         (cosh_test_data): Likewise.
5200         (erf_test_data): Likewise.
5201         (exp2_test_data): Likewise.
5202         (fabs_test_data): Likewise.
5203         (floor_test_data): Likewise.
5204         (ilogb_test_data): Likewise.
5205         (j0_test_data): Likewise.
5206         (j1_test_data): Likewise.
5207         (jn_test_data): Likewise.
5208         (lgamma_test_data): Likewise.
5209         (lrint_test_data): Likewise.
5210         (llrint_test_data): Likewise.
5211         (logb_test_data): Likewise.
5212         (lround_test_data): Likewise.
5213         (llround_test_data): Likewise.
5214         (nearbyint_test_data): Likewise.
5215         (rint_test_data): Likewise.
5216         (round_test_data): Likewise.
5217         (sin_test_data): Likewise.
5218         (sincos_test_data): Likewise.
5219         (sinh_test_data): Likewise.
5220         (sqrt_test_data): Likewise.
5221         (tan_test_data): Likewise.
5222         (tanh_test_data): Likewise.
5223         (tgamma_test_data): Likewise.
5224         (trunc_test_data): Likewise.
5225         (y0_test_data): Likewise.
5226         (y1_test_data): Likewise.
5227         (yn_test_data): Likewise.
5229         * math/libm-test.inc: Update comment about NaN testing.
5230         (TEST_SNAN): New macro.
5231         (snan_value): Likewise.
5232         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5233         (fpclassify_test_data): Add sNaN tests.
5234         (isfinite_test_data): Likewise.
5235         (isinf_test_data): Likewise.
5236         (isnan_test_data): Likewise.
5237         (isnormal_test_data): Likewise.
5238         (issignaling_test_data): Likewise.
5239         (signbit_test_data): Likewise.
5240         * math/gen-libm-test.pl (%beautify): Add snan_value.
5241         (show_exceptions): Add argument $test_snan.
5242         (parse_args): Handle snan_value as non-finite.  Update call to
5243         show_exceptions.
5244         * math/Makefile (libm-test-no-inline-cflags): Add
5245         -fsignaling-nans.
5247 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5249         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5250         (CFLAGS-oldsendmsg.c): Add rule.
5251         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5252         Correct recvmsg symbol name.
5253         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5254         Likewise.
5256 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5258         * sysdeps/unix/sysv/linux/Makefile
5259         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5260         oldsendmmsg.
5261         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5262         sendmmsg.
5263         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5264         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5265         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5266         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5268         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5269         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5271         Likewise.
5272         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5273         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5274         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5275         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5276         iovlen and controllen fields to adjust to POSIX specification.
5277         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5279         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5280         and change to correct expected type.
5281         (msghdr.msg_controllen): Likewise.
5282         (cmsghdr.cmsg_len): Likewise.
5283         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5284         expected POSIX assumption about the size.
5285         (msghdr.msg_controllen): Likewise.
5286         (msghdr.__glibc_reserved1): Likewise.
5287         (msghdr.__glibc_reserved2): Likewise.
5288         (cmsghdr.cmsg_len): Likewise.
5289         (cmsghdr.__glibc_reserved1): Likewise.
5290         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5291         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5292         (CFLAGS-sendmsg.c): Remove rule.
5293         (CFLAGS-recvmsg.c): Likewise.
5294         (CFLAGS-oldsendmsg.c): Add rule.
5295         (CFLAGS-oldrecvmsg.c): Likewise.
5296         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5297         recvmsg and sendmsg.
5298         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5299         Likewise.
5300         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5301         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5302         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5303         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5304         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5305         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5306         Likewise.
5307         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5308         Likewise.
5309         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5310         Likewise.
5311         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5312         Likewise.
5313         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5314         Likewise.
5315         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5316         Likewise.
5317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5318         (GLIBC_2.24): Likewise.
5319         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5320         Likewise.
5321         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5322         Likewise.
5323         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5324         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5325         Likewise.
5326         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5327         Likewise.
5328         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5329         Likewise.
5330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5331         (GLIBC_2.24): Likewise.
5332         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5333         Likewise.
5334         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5335         Likewise.
5336         * sysdeps/unix/sysv/linux/Makefile
5337         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5338         (CFLAGS-sendmsg.c): Add rule.
5339         (CFLAGS-recvmsg.c): Likewise.
5340         (CFLAGS-oldsendmsg.c): Likewise.
5341         (CFLAGS-oldrecvmsg.c): Likewise.
5342         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5343         initialization.
5344         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5345         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5346         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5347         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5348         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5349         iovlen and controllen fields to adjust to POSIX specification.
5350         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5351         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5352         added recvmsg and sendmsg.
5353         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5354         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5355         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5356         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5357         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5358         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5359         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5360         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5361         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5362         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5363         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5364         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5366         Likewise.
5367         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5369         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5370         Likewise.
5371         Likewise.
5372         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5373         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5374         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5375         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5376         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5377         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5379         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5381         Likewise.
5382         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5383         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5385         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5386         from auto-generation.
5387         (sendmsg): Likewise.
5388         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5389         (sendmsg): Likewise.
5390         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5391         (sendmsg): Likewise.
5392         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5393         (sendmsg): Likewise.
5394         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5395         (sendmsg): Likewise.
5396         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5397         (sendmsg): Likewise.
5398         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5399         Likewise.
5400         (sendmsg): Likewise.
5401         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5402         (sendmsg): Likewise.
5403         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5404         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5405         Remove.
5406         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5407         Likewise.
5408         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5409         Undefine.
5410         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5411         Likewise.
5412         * sysdeps/unix/sysv/linux/kernel-features.h
5413         (__ASSUME_SENDMSG_SYSCALL): Define.
5414         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5415         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5416         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5417         Remove.
5418         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5419         Likewise.
5420         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5421         Undefine.
5422         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5423         Likewise.
5424         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5425         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5426         Remove.
5427         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5428         Likewise.
5429         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5430         Undefine.
5431         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5432         Likewise.
5433         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5434         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5435         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5436         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5437         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5438         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5439         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5440         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5441         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5443 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5445         * stdlib/gen-tst-strtod-round.c: Add backslash to
5446         compile command in comment.
5447         (printfp): Remove the literal suffix, and define an infinite
5448         value as INF to avoid expansion clash with INFINITY.
5449         (round_str): Remove the literal suffix.
5450         (round_for_all): Likewise, remove the now duplicate ldbl-64
5451         entry, and remove some magic constants.
5453         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5454         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5455         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5456         (_CONCAT): New macro.
5457         (CONCAT): Likewise.
5458         (CHOOSE_ld): Likewise.
5459         (CHOOSE_f): Likewise.
5460         (CHOOSE_d): Likewise.
5461         (FTYPE_MEMBER): Likewise.
5462         (BOOL_MEMBER): Likewise.
5463         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5464         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5465         (_XNTRY): Likewise.
5466         (XNTRY): Likewise.
5467         (_ENTRY): Likewise.
5468         (ENTRY): Likewise.
5469         (test_exactness): Generate members via macro.
5470         (test_results): Likewise.
5471         (test): Update members.
5472         (TEST): Redefine using new macros.
5473         (INF): New macro.
5474         (fetestmodes): New structure.
5475         (do_test): Refactor to be type generic.
5476         (test_in_one_mode): Refactor duplicate code into
5477         (GEN_ONE_TEST): New macro.
5479         * stdlib/tst-strtod-round-data.h: Regenerate.
5481         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5482         Extend to pass additional arbitrary parameters to
5483         generators.
5485 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5487         [BZ #15479]
5488         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5489         floating-point state after first floating-point operation on
5490         input.  Restore full floating-point state instead of just rounding
5491         mode.
5492         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5493         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5494         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5495         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5496         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5498         [BZ #15479]
5499         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5500         floating-point state after first floating-point operation on
5501         input.  Restore full floating-point state instead of just rounding
5502         mode.
5503         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5504         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5505         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5506         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5507         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5509 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5511         [BZ #19727]
5512         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5513         valid high surrogate.
5514         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5515         of an utf16 surrogate.
5516         * iconv/gconv_simple.c (BODY): Likewise.
5517         * iconvdata/bug-iconv12.c: New file.
5518         * iconvdata/Makefile (tests): Add bug-iconv12.
5520 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5522         [BZ #19726]
5523         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5524         outptrp in case of an illegal input.
5525         * iconv/tst-iconv6.c: New file.
5526         * iconv/Makefile (tests): Add tst-iconv6.
5528 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5530         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5531         an error in case of a value in range of an utf16 low surrogate.
5533 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5535         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5536         an error in case of a value in range of an utf16 low surrogate.
5538 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5540         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5541         Move to ...
5542         * sysdeps/s390/Makefile: ... here.
5543         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5544         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5545         (BRANCH_ON_COUNT): New define.
5546         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5547         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5548         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5549         run on s390-32, too.
5550         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5551         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5552         run on s390-32, too.
5553         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5554         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5555         run on s390-32, too.
5557 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5559         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5560         etf3eh or new vector loop-variant.
5562 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5564         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5565         etf3eh or new vector loop-variant.
5567 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5569         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5570         or new vector loop-variant.
5572 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5574         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5575         Rename to TR_LOOP and usage of tr instead of troo instruction.
5577 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5579         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5580         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5582 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5584         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5585         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5586         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5587         New override define.
5588         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5590 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5592         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5593         * sysdeps/s390/configure.ac: Add test for S390 vector register
5594         support in gcc.
5595         * sysdeps/s390/configure: Regenerated.
5597 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5599         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5600         Install file from $(objpfx)gconv-modules.
5601         ($(objpfx)gconv-modules): Concatenate architecture specific file
5602         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5603         * sysdeps/s390/gconv-modules: New file.
5604         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5605         Deleted.
5606         ($(objpfx)gconv-modules-s390): Deleted.
5607         (sysdeps-gconv-modules): New variable.
5609 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5611         [BZ #15479]
5612         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5613         of immediate operand to rounding instruction.
5614         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5615         Likewise.
5616         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5617         Likewise.
5618         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5619         Likewise.
5621 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5623         * math/libm-test.inc (MIN_EXP): Directly define as
5624         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5626 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5628         * math/libm-test.inc (MANT_DIG): Directly define as
5629         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5631 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5633         * stdlib/gen-tst-strtod-round.c (main):
5634           Change usage to more closely match the generated
5635           output.  Add usage and compilation instructions.
5636           (string_to_fp): Add and use FILE* parameter as
5637           output target.
5638           (print_fp): Likewise.
5639           (round_str): Likewise.
5640           (round_for_all): Likewise.
5641         * stdlib/tst-strtod-round.c (tests): Move into
5642         * stdlib/tst-strtod-round-data.h: New file.
5644 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5646         [BZ #15479]
5647         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5648         (__round): Do not force "inexact" exception.
5649         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5650         variable.
5651         (__round): Do not force "inexact" exception.
5652         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5653         (__roundf): Do not force "inexact" exception.
5654         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5655         (__roundl): Do not force "inexact" exception.
5656         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5657         (__roundl): Do not force "inexact" exception.
5658         * math/libm-test.inc (round_test_data): Do not allow spurious
5659         "inexact" exceptions.
5661         [BZ #15479]
5662         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5663         exception in comment.
5664         (huge): Remove variable.
5665         (__floor): Do not force "inexact" exception.
5666         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5667         "inexact" exception in comment.
5668         (huge): Remove variable.
5669         (__floor): Do not force "inexact" exception.
5670         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5671         exception in comment.
5672         (huge): Remove variable.
5673         (__floorf): Do not force "inexact" exception.
5674         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5675         exception in comment.
5676         (huge): Remove variable.
5677         (__floorl): Do not force "inexact" exception.
5679         [BZ #15479]
5680         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5681         exception in comment.
5682         (huge): Remove variable.
5683         (__ceil): Do not force "inexact" exception.
5684         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5685         "inexact" exception in comment.
5686         (huge): Remove variable.
5687         (__ceil): Do not force "inexact" exception.
5688         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5689         (__ceilf): Do not force "inexact" exception.
5690         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5691         exception in comment.
5692         (huge): Remove variable.
5693         (__ceill): Do not force "inexact" exception.
5695 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5697         * config.h.in (BIND_NOW): New.
5698         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5699         * configure: Regenerated.
5700         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5701         indirect branch via the GOT slot.
5703 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5705         [BZ #19765]
5706         * sysdeps/s390/mempcpy.S: New File.
5707         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5708         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5709         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5710         Add mempcpy variants.
5711         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5712         (memcpy): Adjust to be usable from mempcpy entry point.
5713         (__memcpy_mvcle): Likewise.
5714         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5715         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5716         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5717         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5718         (__memcpy_z10): Likewise.
5719         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5721 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5723         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5724         Remove __GI_ symbol.
5725         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5726         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5727         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5728         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5729         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5730         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5732 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5734         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5735         Use cghi instead of chi to compare 64bit value.
5737 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5739         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5740         Jump to 1MB check before executing mvc-loop.
5742 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5744         [BZ #6527]
5745         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5746         unconditionally.
5747         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5749 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5751         * stdlib/tst-strtod6.c (do_test): Use new type generic
5752         invocation of the test function.
5753         (test): Refactor into ...
5754         (TEST_STRTOD): New macro base function.
5756 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5758         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5759         (TEST_STRTOD): New macro.
5760         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5762 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5764         * stdlib/tst-strtod6.c (do_test): Use new type generic
5765         invocation of the test function.
5766         (test): Refactor into ...
5767         (TEST_STRTOD): New macro base function.
5769 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5771         CVE-2016-4429
5772         [BZ #20112]
5773         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5774         payload.
5776 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5778         [BZ #20111]
5779         * bits/sockaddr.h (_SS_SIZE): Define.
5780         * bits/socket.h (_SS_SIZE): Remove.
5781         (_SS_PADSIZE): Adjust to account for all padding.
5782         (struct sockaddr_storage): Update comment.  Avoid implicit
5783         padding.
5784         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5785         (_SS_PADSIZE): Adjust to account for all padding.
5786         (struct sockaddr_storage): Update comment.  Avoid implicit
5787         padding.
5788         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5789         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5790         (_SS_PADSIZE): Adjust to account for all padding.
5791         (struct sockaddr_storage): Update comment.  Avoid implicit
5792         padding.
5793         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5794         __SS_SIZE is 126 in this version.
5795         * inet/tst-sockaddr.c: New file.
5796         * inet/Makefile (tests): Add tst-sockaddr.c
5797         (tst-sockaddr.c): Compile with non-strict aliasing.
5799 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5801         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5802         [XPG3 || XPG4].
5803         (NL_ARGMAX): Also expect for [XPG3].
5804         (NL_LANGMAX): Likewise.
5805         (NL_MSGMAX): Likewise.
5806         (NL_NMAX): Likewise.
5807         (NL_SETMAX): Likewise.
5808         (NL_TEXTMAX): Likewise.
5809         (NZERO): Likewise.
5810         (TMP_MAX): Likewise.
5811         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5812         variable.
5814         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5815         (PF_MAX): Update value.
5816         (AF_KCM): New macro.
5817         (SOL_NETBEUI): Likewise.
5818         (SOL_LLC): Likewise.
5819         (SOL_DCCP): Likewise.
5820         (SOL_NETLINK): Likewise.
5821         (SOL_TIPC): Likewise.
5822         (SOL_RXRPC): Likewise.
5823         (SOL_PPPOL2TP): Likewise.
5824         (SOL_BLUETOOTH): Likewise.
5825         (SOL_PNPIPE): Likewise.
5826         (SOL_RDS): Likewise.
5827         (SOL_IUCV): Likewise.
5828         (SOL_CAIF): Likewise.
5829         (SOL_ALG): Likewise.
5830         (SOL_NFC): Likewise.
5831         (SOL_KCM): Likewise.
5832         (MSG_BATCH): New enum value and macro.
5834 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5836         [BZ #18185]
5837         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5838         sharing L2 cache to 2 for Knights Landing.
5840 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5842         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5843         (FTW_DP): Do not expect for [XPG3 || XPG4].
5844         (FTW_SL): Do not expect for [XPG3].
5845         (FTW_SLN): Likewise.
5846         (FTW_PHYS): Likewise.
5847         (FTW_MOUNT): Likewise.
5848         (FTW_DEPTH): Likewise.
5849         (FTW_CHDIR): Likewise.
5850         (nftw): Likewise.
5851         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5852         variable.
5854 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5856         * manual/errno.texi: Fix various typos & grammar errors.
5858 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5860         * manual/intro.texi: Fix duplicated typo.
5862 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5864         [BZ #13304]
5865         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5866         <float.h>, <math_private.h> and <stdlib.h>.
5867         (add_split): New function.
5868         (mul_split): Likewise.
5869         (ext_val): New typedef.
5870         (store_ext_val): New function.
5871         (mul_ext_val): New function.
5872         (compare): New function.
5873         (add_split_ext): New function.
5874         (__fmal): After checking for Inf, NaN and zero, compute result as
5875         an exact sum of scaled double values in round-to-nearest before
5876         adding those up and adjusting for other rounding modes.
5877         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5878         tests of fma.
5879         * math/auto-libm-test-out: Regenerated.
5881 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5883         [BZ #20119]
5884         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5885         processor level type mask for CPUID with EAX == 11.
5887 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5889         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5890         logical threads if the HTT bit is 0.
5891         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5892         (index_cpu_HTT): Likewise.
5893         (reg_HTT): Likewise.
5895 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5897         [BZ #20115]
5898         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5899         Remove alignments on jump targets.
5901 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5903         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5904         (getpwent): Likewise.
5905         (setpwent): Likewise.
5906         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5907         variable.
5909         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5910         (remque): Likewise.
5911         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5912         variable.
5914 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5916         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5917         not being tested.
5919 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5921         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5922         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5923         call.
5924         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5925         (__condvar_cleanup1): Likewise.
5927 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5929         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5930         New
5931         (__pthread_unwind): Renamed to ...
5932         (PTHREAD_UNWIND): This.
5933         (__pthread_enable_asynccancel): Replace
5934         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5936 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5938         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5939         (CLONE_NEWCGROUP): New macro.
5941         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5942         (Q_GETNEXTQUOTA): New macro.
5944 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5946         [BZ #19907]
5947         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5948         buffer updated by the previous run.
5949         * string/test-memcpy.c (do_one_test): Likewise.
5950         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5951         * string/test-memmove.c (do_one_test): Likewise.
5953 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5955         [BZ #20094]
5956         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5957         not [__USE_XOPEN].
5958         (unlockpt): Likewise.
5959         (ptsname): Likewise.
5960         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5961         variable.
5963         [BZ #20076]
5964         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5965         instead of [__USE_UNIX98].
5966         (S_ISSOCK): Likewise.
5967         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5968         variable.
5970         [BZ #20074]
5971         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5972         [__USE_POSIX].
5973         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5974         variable.
5976         [BZ #20051]
5977         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5978         (ttyslot): Do not declare.
5979         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5980         (ttyslot): New prototype.
5981         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5982         variable.
5983         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5985 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5987         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5989 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5991         Fix race condition in tst-mallocfork2, use fewer resources.
5992         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5993         to current process group.
5994         (signal_sender): Yield in the non-sleeping case.
5996 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5998         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5999         (ecvt): Likewise.
6000         (fcvt): Likewise.
6001         (gcvt): Likewise.
6002         (getsubopt): Likewise.
6003         (grantpt): Likewise.
6004         (initstate): Likewise.
6005         (l64a): Likewise.
6006         (mktemp): Likewise.
6007         (mkstemp): Likewise.
6008         (ptsname): Likewise.
6009         (random): Likewise.
6010         (realpath): Likewise.
6011         (setstate): Likewise.
6012         (srandom): Likewise.
6013         (ttyslot): Likewise.
6014         (unlockpt): Likewise.
6015         (valloc): Likewise.
6017         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6018         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6019         variable.
6021 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6023         [BZ #20072]
6024         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6025         init_cpu_features only if SHARED is defined.
6026         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6028 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6030         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6031         non-inclusive caches on Intel processors.
6033 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6035         * malloc/malloc.c (dumped_main_arena_start)
6036         (dumped_main_arena_end): New variables.
6037         (DUMPED_MAIN_ARENA_CHUNK): New macro.
6038         (do_check_chunk): Skip dumped fake mmapped chunks.
6039         (munmap_chunk): Likewise.
6040         (__libc_free): Do not adjust statistics for fake mmapped chunks.
6041         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
6042         mmapped chunks.
6043         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6044         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
6045         and dumped_main_arena_end to cover the dumped heap.
6047 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
6049         * conform/data/time.h-data (getdate_err): Do not expect for
6050         [XPG3].
6051         (getdate): Likewise.
6052         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6053         variable.
6055         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6056         (F_ULOCK): Likewise.
6057         (F_TEST): Likewise.
6058         (F_TLOCK): Likewise.
6059         (useconds_t): Likewise.
6060         (intptr_t): Do not expect for [XPG3] or [XPG4].
6061         (brk): Do not expect for [XPG3]
6062         (fchown): Likewise.
6063         (fchdir): Likewise.
6064         (ftruncate): Likewise.
6065         (getdtablesize): Likewise.
6066         (gethostid): Likewise.
6067         (getpagesize): Likewise.
6068         (getpgid): Likewise.
6069         (getsid): Likewise.
6070         (getwd): Likewise.
6071         (lchown): Likewise.
6072         (lockf): Likewise.
6073         (readlink): Likewise.
6074         (sbrk): Likewise.
6075         (setpgrp): Likewise.
6076         (setregid): Likewise.
6077         (setreuid): Likewise.
6078         (symlink): Likewise.
6079         (sync): Likewise.
6080         (truncate): Likewise.
6081         (ualarm): Likewise.
6082         (usleep): Likewise.
6083         (vfork): Likewise.
6084         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6085         variable.
6087         [BZ #20054]
6088         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6089         not [__USE_UNIX98].
6090         * conform/data/unistd.h-data (gethostname): Do not expect for
6091         [XPG3].
6093         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6094         [!POSIX] (S_IFBLK): Likewise.
6095         [!POSIX] (S_IFCHR): Likewise.
6096         [!POSIX] (S_IFIFO): Likewise.
6097         [!POSIX] (S_IFREG): Likewise.
6098         [!POSIX] (S_IFDIR): Likewise.
6099         [!POSIX] (S_IFLNK): Likewise.
6100         [!POSIX] (S_IFSOCK): Likewise.
6101         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6102         variable.
6103         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6105 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
6107         * sysdeps/aarch64/memset.S (__memset):
6108         Rewrite of optimized memset.
6110 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6112         [BZ #19703]
6113         Partially async-signal-safe fork for single-threaded processes.
6114         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6115         variable.  Do not acquire and reset/release malloc and libio locks
6116         in single-threaded processes.
6117         * malloc/tst-mallocfork2.c: New file.
6118         * malloc/Makefile (tests): Add it.
6120 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6122         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6123         argument.  Use scratch buffer instead of extend_alloca.
6124         (gethosts): Use scratch buffer instead of extend_alloca.
6125         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
6126         extend_alloca.
6127         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6129 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
6131         [BZ #20055]
6132         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6133         instead of [__USE_UNIX98].
6134         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6135         [__USE_UNIX98].
6136         * conform/data/termios.h-data (tcgetsid): Do not expect for
6137         [XPG3].
6138         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6139         variable.
6140         (test-xfail-XPG4/termios.h/conform): Likewise.
6142 2016-05-11  Florian Weimer  <fweimer@redhat.com>
6144         Do not use mcheck in localedef.
6145         * locale/programs/localedef.c (turn_on_mcheck)
6146         (__malloc_initialize_hook): Remove.
6148 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6150         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6151         * sysdeps/s390/s390-64/Makefile: Likewise.
6153 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6155         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6156         Remove ifunc-defines.sym.
6157         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6158         Likewise.
6159         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6160         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6161         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6162         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6163         rtld-global-offsets.sym.
6164         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6165         * sysdeps/x86/cpu-features-offsets.sym: This.
6166         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6167         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6169 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6171         [BZ #20073]
6172         * io/sys/stat.h (fchmod): Declare for
6173         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6174         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6175         variable.
6177         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6178         [XPG3] (S_IFSOCK): Likewise.
6179         [XPG3] (S_ISVTX): Likewise.
6180         [XPG3] (S_ISLNK): Likewise.
6181         [XPG3] (S_ISSOCK): Likewise.
6182         [XPG3] (fchmod): Likewise.
6183         [XPG3] (lstat): Likewise.
6184         [XPG3] (mknod): Likewise.
6186         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6187         [XPG3].  Expect type long and XFAIL for [XPG4].
6188         (st_blocks): Likewise.
6190         [BZ #20044]
6191         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6192         (pthread_atfork): New prototype.
6193         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6194         variable.
6196         [BZ #20043]
6197         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6198         prototype.
6200 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6202         [BZ #20017]
6203         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6204         gmtime.
6206 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6208         [BZ #19994]
6209         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6210         flag in _res.options.
6212 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6214         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6215         [XPG3 || XPG4].
6216         (blksize_t): Likewise.
6217         (clockid_t): Likewise.
6218         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6219         variable.
6220         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6222 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6224         * sysdeps/unix/sysv/linux/s390/init-first.c:
6225         Add VDSO_SYMBOL(getcpu).
6226         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6227         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6228         Add VDSO_SYMBOL(getcpu).
6229         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6230         New define HAVE_GETCPU_VSYSCALL.
6231         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6233 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6235         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6236         instead of <sysdeps/x86_64/cacheinfo.c>.
6237         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6238         * sysdeps/x86/cacheinfo.c: Here.
6240 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6242         * malloc/malloc-internal.h: Adjust header file guard.
6244 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6246         [BZ #19787]
6247         * inet/getnameinfo.c (check_sprintf_result): New function.
6248         (CHECKED_SNPRINTF): New macro.
6249         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6250         to the host buffer.
6251         (gni_host_local): Use checked_copy to copy the host name.
6252         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6253         (gni_serv_local): Use checked_copy to copy the service name.
6254         (getnameinfo): Remove unnecessary truncation of result buffers.
6256 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6258         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6259         in case of inet_ntop failure.
6261 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6263         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6264         avoid long lines.
6265         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6266         variables.
6267         (gni_host_inet, gni_host_local): Add comment.
6268         (gni_host): Add comment.  Use temporary to avoid long lines.
6270 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6272         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6273         registers specifiers where general purpose registers specifiers should
6274         have been used.
6276 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6278         [BZ #19779]
6279         CVE-2016-1234
6280         Avoid copying names of directory entries.
6281         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6282         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6283         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6284         (struct readdir_result): New type.
6285         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6286         (GL_READDIR): New macros.
6287         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6288         (convert_dirent, convert_dirent64): New functions.
6289         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6290         convert_dirent64.  Adjust references to the readdir result.
6291         * sysdeps/unix/sysv/linux/i386/glob64.c:
6292         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6293         * posix/bug-glob2.c (LONG_NAME): Define.
6294         (filesystem): Add LONG_NAME.
6295         (my_DIR): Increase the size of room_for_dirent.
6297 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6299         [BZ #20041]
6300         * misc/sys/select.h (__need_timespec): Only define if
6301         [__USE_XOPEN2K].
6302         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6303         variable.
6304         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6305         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6306         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6308 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6309             Segher Boessenkool  <segher@gcc.gnu.org>
6311         [BZ #20004]
6312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6313         (__novec_swapcontext): Add missing load.
6315 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6317         [BZ #20023]
6318         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6319         <time.h>.
6320         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6321         variable.
6322         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6324 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6327         flags CLONE_VM compare.
6329 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6331         [BZ #20031]
6332         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6333         completely empty.
6335 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6337         [BZ #19573]
6338         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6339         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6340         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6341         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6342         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6343         (hesiod_free_list): Mark as hidden.
6344         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6345         res_set, res_get.
6346         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6347         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6348         (hesiod_init): Remove obsolete res_ninit call.
6349         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6350         (hesiod_bind): Do not call init.
6351         (get_txt_records): Use res_mkquery, res_send instead of
6352         res_nmkquery, res_nsend.
6353         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6354         instead of _nss_hesiod_init.
6355         (_nss_hesiod_initgroups_dyn): Likewise.
6356         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6357         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6358         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6360 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6362         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6363         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6365 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6367         * hesiod/hesiod.h: Remove RCS keyword.
6368         * hesiod/hesiod_p.h: Likewise.
6370         * hesiod/hesiod.c: Likewise.
6372 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6374         [BZ #12450]
6375         * locale/iso-639.def: Add Samogitian/sgs.
6377 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6379         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6381         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6383 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6384             Carlos O'Donell  <carlos@redhat.com>
6386         [BZ #19072]
6387         * grp/Makefile (headers): Add grp-merge.h
6388         (routines): Add grp-merge.
6389         * grp/getgrgid_r.c: Include grp-merge.h.
6390         (DEEPCOPY_FN): Define.
6391         (MERGE_FN): Define.
6392         * grp/getgrname_r.c: Include grp-merge.h.
6393         (DEEPCOPY_FN): Define.
6394         (MERGE_FN): Define.
6395         * grp/grp-merge.c: New file.
6396         * grp/grp-merge.h: New file.
6397         * include/grp-merge.h: New file.
6398         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6399         __copy_grp@GLIBC_PRIVATE.
6400         * manual/nss.texi (Actions in the NSS configuration): Describe
6401         return, continue, and merge.
6402         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6403         (DEEPCOPY_FN): Define.
6404         (MERGE_FN): Define.
6405         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6406         (DEEPCOPY_FN): Define.
6407         (MERGE_FN): Define.
6408         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6409         [!MERGE_FN]: Define __merge_einval.
6410         (CHECK_MERGE): Define.
6411         (REENTRANT_NAME): Process merge if do_merge is true.
6412         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6413         (__nss_getent_r): Likewise.
6414         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6415         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6417 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6419         [BZ #20012]
6420         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6421         length to calculate the buffer to read.
6422         (fmemopen_write): Set the buffer position based on bytes written.
6423         (fmemopen_seek): Return EINVAL for invalid whence modes.
6425         [BZ #19957]
6426         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6427         tst-getpid2.
6428         (test): Add tst-clone2.
6429         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6430         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6431         pid/tid fields for CLONE_VM.
6432         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6433         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6434         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6435         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6436         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6437         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6438         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6439         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6441         Likewise.
6442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6443         Likewise.
6444         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6445         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6446         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6447         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6448         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6449         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6450         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6451         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6453 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6455         [BZ #19642]
6456         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6457         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6458         (gni_serv_local, gni_serv): New functions extracted from
6459         getnameinfo.
6460         (getnameinfo): Call gni_host and gni_serv to perform the
6461         processing.  Always free scratch buffer.
6463 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6465         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6466         remaining bytes in the dest string, with zeros.
6468 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6470         [BZ #20010]
6471         CVE-2016-3706
6472         * sysdeps/posix/getaddrinfo.c
6473         (convert_hostent_to_gaih_addrtuple): New function.
6474         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6475         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6476         AF_INET data.
6478 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6480         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6481         callback function gl_readdir.
6482         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6483         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6484         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6485         memcpy to copy the name.
6486         * manual/pattern.texi (Calling Glob): Document requirements for
6487         implementations of the gl_readdir callback function.
6488         * manual/examples/mkdirent.c: New example.
6489         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6490         per the manual guidance.
6491         * posix/tst-gnuglob.c (my_readdir): Likewise.
6493 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6495         [BZ #20014]
6496         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6497         not [__USE_POSIX].
6498         (getchar_unlocked): Likewise.
6499         (putc_unlocked): Likewise.
6500         (putchar_unlocked): Likewise.
6501         (flockfile): Likewise.
6502         (ftrylockfile): Likewise.
6503         (funlockfile): Likewise.
6504         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6505         variable.
6506         (test-xfail-XPG4/stdio.h/conform): Likewise.
6508         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6509         Expect constant.
6510         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6511         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6512         variable.
6513         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6514         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6516         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6517         [__USE_LARGEFILE64] (off64_t): Likewise.
6518         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6519         variable.
6521 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6523         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6525 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6527         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6528         * resolv/res_init.c: Likewise.
6529         * resolv/res_mkquery.c: Likewise.
6531 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6533         * resolv/res_init.c (isascii): Do not define.  Use definition in
6534         <ctype.h>.
6535         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6536         (LOG_AUTH): Remove.
6537         (SPRINTF): Remove, adjust caller.
6538         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6540 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6542         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6543         SUNSECURITY conditional.
6544         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6546 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6548         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6549         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6550         Remove BSD-related preprocessor conditionals.
6551         * conf/portability.h: Remove.
6553 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6555         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6556         * resolv/res_data.c: Likewise.
6558 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6560         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6561         * resolv/res_data.c: Remove code conditional on ultrix.
6563 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6565         * resolv/res_init.c (RFC1535): Do not define.  Remove
6566         RFC1535 preprocessor conditionals.
6567         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6568         because there configuration options which make the resolver
6569         behavior different.
6571 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6573         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6574         RESOLVSORT preprocessor conditionals.
6575         * resolv/nss_dns/dns-host.c: Likewise.
6576         * resolv/res_init.c: Likewise.
6578 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6580         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6581         is never defined.
6583 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6585         * inet/inet_lnaof.c: Remove SCSS keyword.
6586         * inet/inet_mkadr.c: Likewise.
6587         * inet/inet_net.c: Likewise.
6588         * inet/inet_netof.c: Likewise.
6589         * inet/rcmd.c: Likewise.
6590         * inet/rexec.c: Likewise.
6591         * inet/ruserpass.c: Likewise.
6593 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6595         * resolv/inet_addr.c: Remove _LIBC conditionals.
6596         * resolv/res_data.c: Likewise.
6597         * resolv/res_init.c: Likewise.
6598         * resolv/res_mkquery.c: Likewise.
6599         * resolv/res_libc.c: Update comment.
6600         * resolv/README: Update.
6602 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6604         * resolv/gethnamaddr.c: Remove SCSS keyword.
6605         * resolv/herror.c: Likewise.
6606         * resolv/inet_addr.c: Likewise.
6607         * resolv/inet_net_ntop.c: Likewise.
6608         * resolv/inet_net_pton.c: Likewise.
6609         * resolv/inet_neta.c: Likewise.
6610         * resolv/inet_ntop.c: Likewise.
6611         * resolv/inet_pton.c: Likewise.
6612         * resolv/ns_date.c: Remove RCS keyword.
6613         * resolv/ns_name.c: Likewise.
6614         * resolv/ns_netint.c: Likewise.
6615         * resolv/ns_parse.c: Likewise.
6616         * resolv/ns_print.c: Likewise.
6617         * resolv/ns_samedomain.c: Likewise.
6618         * resolv/ns_ttl.c: Likewise.
6619         * resolv/nsap_addr.c: Likewise.
6620         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6621         * resolv/res_data.c: Remove RCS keyword.
6622         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6623         * resolv/res_init.c: Likewise.
6624         * resolv/res_mkquery.c: Likewise.
6625         * resolv/res_query.c: Likewise.
6626         * resolv/res_send.c: Likewise.
6628 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6630         * conform/data/stdio.h-data (fdopen): Expect also for
6631         [XPG3 || XPG4].
6633         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6634         (fseeko): Likewise.
6635         (ftello): Likewise.
6636         (ftrylockfile): Likewise.
6637         (funlockfile): Likewise.
6638         (getc_unlocked): Likewise.
6639         (getchar_unlocked): Likewise.
6640         (putc_unlocked): Likewise.
6641         (putchar_unlocked): Likewise.
6643 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6645         [BZ #19868]
6646         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6647         DNS packet syntax checks (which were not needed before).  Skip
6648         over non-PTR records.
6650 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6652         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6653         definition.  Include <stddef.h> instead.
6655 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6657         [BZ #19831]
6658         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6659         function.
6660         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6661         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6663 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6665         [BZ #19862]
6666         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6667         (getanswer_r): Do not call syslog.
6668         (gaih_getanswer_slice): Likewise.
6669         * resolv/gethnamaddr.c (AskedForGot): Remove.
6670         (getanswer): Do not call syslog.
6671         (gethostbyaddr): Likewise.
6673 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6675         * conform/data/signal.h-data (union sigval): Expect also if
6676         [XOPEN2K].
6677         (struct sigevent): Likewise.
6678         (SIGEV_NONE): Likewise.
6679         (SIGEV_SIGNAL): Likewise.
6680         (SIGEV_THREAD): Likewise.
6681         (SIGRTMIN): Likewise.
6682         (SIGRTMAX): Likewise.
6683         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6684         variable.
6685         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6687 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6689         [BZ #19830]
6690         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6691         (gaih_getanswer_slice): Likewise.
6692         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6693         Also check for availability of RR metadata.
6695 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6697         [BZ #19825]
6698         * resolv/res_send.c (send_vc): Remove early *resplen2
6699         initialization.  Set *resplen2 on socket error.  Call
6700         close_and_return_error for other errors.
6702 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6704         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6705         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6706         (SCM_IUCV_TRGCLS): New define.
6708 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6710         [BZ #20005]
6711         * libio/fmemopen.c (fmemopen_write): Update internal position after
6712         write.
6713         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6714         * stdio-common/tst-fmemopen4.c: New file..
6716 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6718         [BZ #19996]
6719         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6720         not [__USE_XOPEN2K].
6721         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6722         variable.
6724         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6725         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6726         variable.
6728         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6729         [__USE_XOPEN2K8].
6730         [__USE_LARGEFILE64] (off64_t): Likewise.
6731         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6732         variable.
6734 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6736         [BZ #19989]
6737         * libio/stdio.h (cuserid): Do not declare if
6738         [__USE_XOPEN2K && !__USE_GNU].
6739         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6740         variable.
6742 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6744         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6745         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6747         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6748         ifunc'ed strcspn.
6749         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6750         [EALIGN]: Removed.
6751         [END]: Likewise
6752         [STRSPN]: Define instead of the above to control symbol name.
6753         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6754         New file.
6755         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6756         Likewise.
6757         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6758         Likewise.
6759         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6760         Likewise.
6761         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6762         [INITIAL_MASK]: New macro.
6763         [STRCSPN]: Likewise.
6764         [UPDATE_MASK]: Likewise.
6765         [USE_AS_STRCSPN]: Lisewise.
6767 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6769         [BZ #19931]
6770         * stdio-common/tst-vfprintf-width-prec.c: New file.
6771         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6772         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6773         (generated): Add mtrace-related files.
6774         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6775         (tst-%-mem.out): New pattern rule, replaces
6776         tst-printf-bz18872-mem.out.
6777         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6778         specifier, deallocate any previously allocated work buffer.
6780 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6782         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6783         Add nop before __startcontext, add explaining comments.
6785 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6787         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6788         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6789         completely different API.
6791         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6792         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6793         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6794         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6795         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6796         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6797         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6798         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6799         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6800         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6802 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6804         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6806 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6808         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6809         when it is the default of 0.
6811 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6813         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6814         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6815         (sysdep_routines): Add new strcasestr targets.
6816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6817         (__libc_ifunc_impl_list): Likewise.
6818         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6819         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6820         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6821         * sysdeps/powerpc/powerpc64/power8/Makefile:
6822         New file to add strcasestr-ppc64 to sysdep_routines.
6823         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6824         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6826 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6828         * benchtests/Makefile (wcsmbs-benchset): Include only for
6829         native builds and runs.
6830         (LOCALES): Likewise.
6831         (bench-build): Build timing-type here instead of the bench
6832         target.  Generate locale only for native builds.
6833         * benchtests/README: Add note for cross-building.
6835         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6837         * benchtests/README: Update README to include instructions on
6838         using bench-build.
6840         * Makefile.in (bench-build): New target.
6841         * Rules (PHONY): Add bench-build target.
6842         * benchtests/Makefile (bench): Depend on bench-build.
6843         (bench-build): New target.
6845 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6847         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6848         profil_reply_port.
6849         (profile_waiter): Do not initialize profil_reply_port.
6850         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6851         frequency instead of tick length in us.
6853 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6855         [BZ #18712]
6856         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6857         (__old_mempcpy_small): Likewise.
6858         (__old_strcpy_small): Likewise.
6859         (__old_stpcpy_small): Likewise.
6860         (__old_strpbrk_c2): Fix compat symbol name.
6861         (__old_strpbrk_c3): Likewise.
6862         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6863         (__mempcpy_small): Remove.
6864         (__strcpy_small): Remove.
6865         (__stpcpy_small): Remove.
6867 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6869         [BZ #19400]
6870         * locale/iso-639.def: Add the Talossan/tzl language.
6872 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6874         [BZ #16983]
6875         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6876         comment.  Add "ln" to strchr check on postal_fmt.
6878 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6880         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6881         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6882         tel_dom_fmt.
6884 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6886         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6887         (sysdep_routines): Added __strlen_power8.
6888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6889         __strlen_power8 entry.
6890         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6891         Implementation for POWER8.
6892         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6893         for __strlen_power8.
6894         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6895         Implementation for POWER8.
6897 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6899         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6901 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6903         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6904         Goldmont and Airmont processors.
6906 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6908         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6909         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6910         (__STRING2_SMALL_GET32): Remove.
6911         (memset): Remove.
6912         (__memset_1): Remove.
6913         (__memset_gc): Remove.
6914         (__mempcpy): Remove.
6915         (mempcpy): Remove.
6916         (__mempcpy_args): Remove.
6917         (strchr): Remove.
6918         (strcpy): Remove.
6919         (strcpy_args): Remove.
6920         (__stpcpy_args): Remove.
6921         (__strcmp_cc): Remove.
6922         (__strcmp_gc): Remove.
6923         (strstr): Remove.
6925 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6927         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6928         * nis/nis_call.c (nis_server_cache_add): Likewise.
6930 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6932         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6934 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6936         * malloc/arena.c (__malloc_fork_lock_parent)
6937         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6938         internal_function attribute.
6940 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6942         * stdio-common/printf_fp.c (__printf_fp_l):
6943         Rename ___printf_fp_l to __printf_fp_l and
6944         remove strong alias. Use libc_hidden_def instead
6945         of ldbl_hidden_def macro.
6947 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6949         Remove malloc hooks from fork handler.  They are no longer needed
6950         because malloc runs right before fork, and no malloc calls from
6951         other fork handlers are not possible anymore.
6952         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6953         declarations.
6954         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6955         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6956         (atfork_recursive_cntr): Remove.
6957         (__malloc_fork_lock_parent): Do not override malloc hooks and
6958         thread_arena.
6959         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6960         thread_arena.
6961         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6962         thread_arena instead of save_arena.
6964 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6966         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6967         (thread_atfork, thread_atfork_static): Remove.
6968         * sysdeps/mach/hurd/malloc-machine.h:
6969         (thread_atfork, thread_atfork_static): Remove.
6971 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6973         [BZ #19431]
6974         Run the malloc fork handler as late as possible to avoid deadlocks.
6975         * malloc/malloc-internal.h: New file.
6976         * malloc/malloc.c: Include it.
6977         * malloc/arena.c (ATFORK_MEM): Remove.
6978         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6979         Update comment.
6980         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6981         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6982         Remove outdated comment.
6983         (ptmalloc_init): Do not call thread_atfork.  Remove
6984         thread_atfork_static.
6985         * malloc/tst-malloc-fork-deadlock.c: New file.
6986         * Makefile (tests): Add tst-malloc-fork-deadlock.
6987         (tst-malloc-fork-deadlock): Link against libpthread.
6988         * manual/memory.texi (Aligned Memory Blocks): Update safety
6989         annotation comments.
6990         * sysdeps/nptl/fork.c (__libc_fork): Call
6991         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6992         __malloc_fork_unlock_child.
6993         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6995 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6997         [BZ #19613]
6998         Remove union wait.
6999         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7000         (w_stopsig, w_stopval): Remove.
7001         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7002         stat_loc argument.
7003         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7004         (__WAIT_STATUS_DEFN): Remove.
7005         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7006         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7007         (wait, wait3, wait4): Use int * for the stat_loc argument.
7008         * posix/wait.c (__wait): Likewise.
7009         * posix/wait3.c (__wait3): Likewise.
7010         * posix/wait4.c (__wait4): Likewise.
7011         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7012         (__WAIT_STATUS_DEFN): Remove.
7013         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7014         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7015         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7016         argument.
7017         * sysdeps/posix/wait.c (__libc_wait): Likewise.
7018         * sysdeps/posix/wait3.c (__wait3): Likewise.
7019         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7020         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7021         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7022         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7023         stat_loc argument.
7024         * manual/process.texi (BSD Wait Functions): Remove union wait.
7026 2016-04-13  Andreas Schwab  <schwab@suse.de>
7028         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7029         (test-extras): Add tst-tlsalign-vars.
7030         * math/Makefile: Wrap long lines.
7031         (libm-vec-test-wrappers): Define.
7032         (test-extras): Add $(libm-vec-test-wrappers).
7033         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7034         * nss/Makefile (extra-test-objs): Add nss_test1.os.
7035         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7036         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7037         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7038         (extra-test-objs): Add corresponding objects.
7040 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
7042         [BZ #19928]
7043         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7044         New.
7045         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7046         times of shared cache size.
7047         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7048         (VMOVNT): New.
7049         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7050         (VMOVNT): Likewise.
7051         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7052         (VMOVNT): Likewise.
7053         (VMOVU): Changed to movups for smaller code sizes.
7054         (VMOVA): Changed to movaps for smaller code sizes.
7055         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7056         comments.
7057         (PREFETCH): New.
7058         (PREFETCH_SIZE): Likewise.
7059         (PREFETCHED_LOAD_SIZE): Likewise.
7060         (PREFETCH_ONE_SET): Likewise.
7061         Rewrite to use forward and backward loops, which move 4 vector
7062         registers at a time, to support overlapping addresses and use
7063         non temporal store if size is above the threshold and there is
7064         no overlap between destination and source.
7066 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
7068         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7069         Include dl-vdso.
7070         * sysdeps/unix/sysv/linux/mips/Versions: Add
7071         __vdso_clock_gettime.
7072         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7073         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7074         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7075         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7076         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7077         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7078         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7079         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7080         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7082 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7084         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7085         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7086         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7087         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7088         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7089         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7092         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7093         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7094         syscalls generation.
7095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7096         [__NR_pwrite64] (__NR_write): Remove define.
7097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7098         [__NR_pwrite64] (__NR_write): Remove define.
7099         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7100         Remove define.
7101         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7102         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7103         Remove define.
7104         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7105         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7106         Linux implementation as base.
7107         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7109         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7110         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7111         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7112         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7115         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7116         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7117         syscall generation.
7118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7119         [__NR_pread64] (__NR_pread): Remove define.
7120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7121         [__NR_pread64] (__NR_pread): Likewise.
7122         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7123         define.
7124         (__libc_pread): Use SYSCALL_LL macro on offset argument.
7125         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7126         Remove define.
7127         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7128         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7129         Linux implementation as base.
7130         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7131         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7132         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7134         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7135         definition.
7136         (__ALIGNMENT_COUNT): Likewise.
7137         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7138         (__ALIGNMENT_COUNT): Likewise.
7139         (SYSCALL_LL): New define.
7140         (SYSCALL_LL64): Likewise.
7141         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7142         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7143         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7144         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7146         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7147         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7148         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7149         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7150         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7151         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7153 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7155         [BZ #19865]
7156         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7157         original buffer before retry.
7159 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7161         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7162         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7163         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7164         GLRO(dl_auxv) list.
7165         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7166         including <ldsodefs.h>.
7167         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7169 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7171         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7172         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7173         $(CPPFLAGS).
7175 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7177         [BZ #17950]
7178         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7179         Add -mfpmath=387.
7181 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7183         * sysdeps/i386/configure.ac: Change == to = when calling test.
7184         * sysdeps/x86_64/configure.ac: Likewise.
7185         * sysdeps/i386/configure: Regenerated.
7186         * sysdeps/x86_64/configure: Likewise.
7188 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7190         [BZ #16137]
7191         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7192         * benchtests/bench-strcoll.c (input_files): Likewise.
7193         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7194         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7195         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7197 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7199         [BZ #19929]
7200         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7201         [__USE_XOPEN2K8 && !__USE_GNU].
7202         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7203         variable.
7205         [BZ #19925]
7206         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7207         define if [!__USE_MISC && __USE_XOPEN2K].
7208         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7209         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7210         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7211         Likewise.
7212         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7213         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7214         variable.
7215         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7217 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7219         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7220         (sysdep_routines): Add new strspn targets.
7221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7222         (__libc_ifunc_impl_list): Add strspn.
7223         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7224         New file.
7225         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7226         Likewise.
7227         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7228         Likewise.
7229         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7230         Likewise.
7232 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7234         * misc/hsearch_r.c: Include <limits.h>.
7236 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7238         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7240 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7242         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7243         (MEMCPY_SYMBOL): New.
7244         (MEMPCPY_SYMBOL): Likewise.
7245         (MEMMOVE_CHK_SYMBOL): Likewise.
7246         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7247         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7248         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7249         Provide alias for memcpy in libc.a and ld.so.
7251 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7253         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7254         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7255         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7256         Disabled fro now.
7257         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7258         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7260 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7262         * benchtests/Makefile (string-benchset): Add memcpy-large,
7263         memmove-large and memset-large.
7264         * benchtests/bench-memcpy-large.c: New file.
7265         * benchtests/bench-memmove-large.c: Likewise.
7266         * benchtests/bench-memmove-large.c: Likewise.
7267         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7269 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7271         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7272         32-bit displacement to avoid long nop between instructions.
7274 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7276         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7277         a comment on VMOVU and VMOVA.
7279 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7281         [BZ #19633]
7282         Use specified locale for number formatting in strfmon_l.
7283         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7284         (__nl_lookup_word): New inline functions.
7285         * include/printf.h (__print_fp_l): Declare.
7286         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7287         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7288         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7289         (___printf_fp): New function.
7290         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7291         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7292         * stdlib/tst-strfmon_l.c (do_test): New test.
7293         * stdlib/Makefile (tests): Add kt.
7294         (LOCALES): Build additional locales.
7295         (tst-strfmon_l.out): Require locales.
7297 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7299         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7300         if not in libc.
7301         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7302         Likewise.
7303         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7304         Likewise.
7305         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7306         Likewise.
7308 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7310         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7311         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7312         with unaligned_erms.
7313         (__memmove_erms): Skip if source == destination.
7314         (__memmove_unaligned_erms): Don't check source == destination
7315         first.
7317 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7319         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7320         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7322 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7324         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7325         * string/strspn.c (strspn): Likewise.
7327 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7329         * benchtests/bench-memset.c (do_test): Support 64-byte
7330         alignment.
7331         (test_main): Test 64-byte alignment.
7333 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7335         * benchtests/bench-memmove.c (test_main): Test 64-byte
7336         alignment.
7338 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7340         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7342 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7344         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7345         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7346         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7348         * string/strpbrk.c (strpbrk): Rewrite function.
7349         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7350         (__strpbrk_c2): Likewise.
7351         (__strpbrk_c3): Likewise.
7352         * string/string-inlines.c
7353         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7354         Likewise.
7355         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7356         Likewise.
7358         * string/strspn.c (strcspn): Rewrite function.
7359         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7360         (__strspn_c1): Remove inline function.
7361         (__strspn_c2): Likewise.
7362         (__strspn_c3): Likewise.
7363         * string/string-inlines.c
7364         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7365         compatibility symbol.
7366         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7367         Likewise.
7368         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7369         Likewise.
7370         * string/string-inlines.c: Include generic version.
7372 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7373             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7375         * string/Version (libc): Add GLIBC_2.24.
7376         * string/strcspn.c (strcspn): Rewrite function.
7377         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7378         (__strcspn_c1): Remove inline function.
7379         (__strcspn_c2): Likewise.
7380         (__strcspn_c3): Likewise.
7381         * string/string-inline.c
7382         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7383         compatibility symbol.
7384         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7385         Likewise.
7386         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7387         Likewise.
7388         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7390 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7392         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7393         Use ahi instead of aghi to adjust stack pointer.
7395 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7397         [BZ #19853]
7398         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7399         TEST to take significant digits as second parameter.
7400         [TEST]: Redefine in terms of TEST_N taking 30
7401         significant digits.
7402         (do_test): Add test case to demonstrate precision
7403         failure in the ldbl-128ibm printf.
7404         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7405         (__mpn_extract_long_double): Carry 7 extra intermediate
7406         bits of precision to aide computing difference when
7407         signs differ.
7409 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7411         [BZ #19881]
7412         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7413         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7414         memset-avx512-unaligned-erms.
7415         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7416         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7417         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7418         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7419         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7420         __memset_sse2_unaligned_erms, __memset_erms,
7421         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7422         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7423         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7424         file.
7425         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7426         Likewise.
7427         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7428         Likewise.
7429         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7430         Likewise.
7432 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7434         [BZ #19776]
7435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7436         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7437         memmove-avx512-unaligned-erms.
7438         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7439         (__libc_ifunc_impl_list): Test
7440         __memmove_chk_avx512_unaligned_2,
7441         __memmove_chk_avx512_unaligned_erms,
7442         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7443         __memmove_chk_sse2_unaligned_2,
7444         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7445         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7446         __memmove_avx512_unaligned_erms, __memmove_erms,
7447         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7448         __memcpy_chk_avx512_unaligned_2,
7449         __memcpy_chk_avx512_unaligned_erms,
7450         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7451         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7452         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7453         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7454         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7455         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7456         __mempcpy_chk_avx512_unaligned_erms,
7457         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7458         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7459         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7460         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7461         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7462         __mempcpy_erms.
7463         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7464         file.
7465         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7466         Likwise.
7467         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7468         Likwise.
7469         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7470         Likwise.
7472 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7474         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7475         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7476         (La_s390_64_regs): Likewise.
7477         (La_s390_32_retval): Append vector register lrv_v24.
7478         (La_s390_64_retval): Likeweise.
7479         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7480         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7481         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7482         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7484 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7486         [BZ #19916]
7487         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7488         to create a non-vector/vector version for _dl_runtime_resolve and
7489         _dl_runtime_profile. Move implementation to ...
7490         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7491         (_dl_runtime_resolve) Save and restore fpr/vrs.
7492         (_dl_runtime_profile) Save and restore vrs and fix some issues
7493         if _dl_call_pltexit is called.
7494         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7495         Choose the correct resolver function if running on a machine with vx.
7496         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7497         to create a non-vector/vector version for _dl_runtime_resolve and
7498         _dl_runtime_profile. Move implementation to ...
7499         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7500         (_dl_runtime_resolve) Save and restore fpr/vrs.
7501         (_dl_runtime_profile) Save and restore vrs and fix some issues
7502         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7503         Choose the correct resolver function if running on a machine with vx.
7505 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7507         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7509 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7511         [BZ #19509]
7512         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7513         skip_map != NULL.
7514         * elf/tst-dlsym-error.c: New file.
7515         * elf/Makefile (tests): Add tst-dlsym-error.
7516         (tst-dlsym-error): Link against libdl.
7518 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7520         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7521         (__ASSUME_FUTIMESAT): Remove macro.
7522         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7524 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7526         [BZ #19879]
7527         CVE-2016-3075
7528         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7529         copy name.
7531 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7533         [BZ #19837]
7534         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7535         error if parse_line fails.
7537 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7539         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7540         (index_cpu_ERMS): Likewise.
7541         (reg_ERMS): Likewise.
7543 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7545         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7546         PER_LINUX_FDPIC): Add.
7548 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7550         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7551         memcpy-avx512-no-vzeroupper.
7552         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7553         to ...
7554         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7555         (MEMCPY): Don't define.
7556         (MEMCPY_CHK): Likewise.
7557         (MEMPCPY): Likewise.
7558         (MEMPCPY_CHK): Likewise.
7559         (MEMPCPY_CHK): Renamed to ...
7560         (__mempcpy_chk_avx512_no_vzeroupper): This.
7561         (MEMPCPY_CHK): Renamed to ...
7562         (__mempcpy_chk_avx512_no_vzeroupper): This.
7563         (MEMCPY_CHK): Renamed to ...
7564         (__memmove_chk_avx512_no_vzeroupper): This.
7565         (MEMCPY): Renamed to ...
7566         (__memmove_avx512_no_vzeroupper): This.
7567         (__memcpy_avx512_no_vzeroupper): New alias.
7568         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7570 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7572         [BZ #18858]
7573         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7574         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7575         and mempcpy-avx512-no-vzeroupper.
7576         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7577         New.
7578         (MEMPCPY): Likewise.
7579         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7580         (MEMPCPY_CHK): New.
7581         (MEMPCPY): Likewise.
7582         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7583         (MEMPCPY): Likewise.
7584         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7585         (MEMPCPY): Likewise.
7586         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7587         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7588         Likewise.
7589         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7590         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7592 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7593              Amit Pawar  <Amit.Pawar@amd.com>
7595         [BZ #19583]
7596         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7597         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7598         processors.  Set Fast_Copy_Backward for AMD Excavator
7599         processors.
7600         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7601         New.
7602         (index_arch_Fast_Unaligned_Copy): Likewise.
7603         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7604         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7606 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7608         [BZ #19791]
7609         * resolv/res_send.c (close_and_return_error): New function.
7610         (send_dg): Initialize *resplen2 after reopen failure.  Call
7611         close_and_return_error for error returns.  On error paths without
7612         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7613         successful return.
7615 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7617         [BZ# 19860]
7618         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7619         zero if the compiler does not provide the AVX512F bit.
7621 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7623         [BZ #19848]
7624         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7625         from 8 to 4.
7626         (__ieee754_powl): Compare integer exponent against 4 not 8.
7627         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7628         from 8 to 4.
7629         (__ieee754_powl): Compare integer exponent against 4 not 8.
7630         * math/auto-libm-test-in: Add more tests of pow.
7631         * math/auto-libm-test-out: Regenerated.
7632         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7635 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7637         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7638         Make code unconditional.
7639         [!__NR_utimensat]: Remove conditional code.
7640         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7641         Make code unconditional.
7642         [!__NR_utimensat]: Remove conditional code.
7643         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7644         Make code unconditional.
7645         [!__NR_utimensat]: Remove conditional code.
7647 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7649         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7650         Make code unconditional.
7652 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7654         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7655         call-clobbered %eax on retry path.
7656         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7658 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7660         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7661         Don't set %rcx twice before "rep movsb".
7663 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7665         [BZ #19583]
7666         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7667         inline.  Check family before setting family, model and
7668         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7669         bits here.
7670         (init_cpu_features): Replace HAS_CPU_FEATURE and
7671         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7672         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7673         for Intel processors with usable AVX2.  Call get_common_indeces
7674         for other processors with family == NULL.
7675         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7676         (CPU_FEATURES_ARCH_P): Likewise.
7677         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7678         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7680 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7682         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7683         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7684         $(shared-thread-library) instead of hardcoding the path to libpthread.
7686 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7688         * sysdeps/unix/sysv/linux/kernel-features.h
7689         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7690         * sysdeps/unix/sysv/linux/getdents.c
7691         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7692         [!have_no_getdents64_defined]: Likewise.
7693         (__GETDENTS): Remove __have_no_getdents64 conditional.
7695 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7697         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7698         Remove macro.
7699         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7700         <kernel-features.h>.
7701         (signalfd) [__NR_signalfd4]: Make code unconditional.
7702         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7704 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7706         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7707         style.
7709 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7711         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7712         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7713         __pthread_unwind.
7714         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7715         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7716         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7717         (__condvar_cleanup1): Likewise.
7719 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7721         [BZ #19822]
7722         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7723         move it to the final $@ location.
7725 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7727         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7728         access where posix_spawn success and pid argument is null.
7729         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7730         success case.
7732 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7734         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7736         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7738         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7739         and __fcntl.
7740         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7741         __fcntl only.
7742         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7743         adding attribute_hidden to __open and __fcntl.
7745         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7746         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7747         depend on libc-modules.h,
7748         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7750 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7752         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7753         Remove macro.
7754         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7755         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7756         entry.
7758         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7759         Remove macro.
7760         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7761         include <kernel-features.h>.
7762         [!__ASSUME_FALLOCATE]: Remove conditional code.
7763         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7765 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7767         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7768         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7769         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7770         (_ZGVdN4v_cos_avx2): Likewise.
7771         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7772         (_ZGVdN4v_cos): Likewise.
7773         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7774         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7775         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7776         (_ZGVdN4v_exp_avx2): Likewise.
7777         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7778         (_ZGVdN4v_exp): Likewise.
7779         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7780         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7781         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7782         (_ZGVdN4v_log_avx2): Likewise.
7783         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7784         (_ZGVdN4v_log): Likewise.
7785         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7786         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7787         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7788         (_ZGVdN4vv_pow_avx2): Likewise.
7789         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7790         (_ZGVdN4vv_pow): Likewise.
7791         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7792         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7793         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7794         (_ZGVdN4v_sin_avx2): Likewise.
7795         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7796         (_ZGVdN4v_sin): Likewise.
7797         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7798         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7799         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7800         (_ZGVdN4vvv_sincos_avx2): Likewise.
7801         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7802         (_ZGVdN4vvv_sincos): Likewise.
7803         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7804         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7805         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7806         (_ZGVbN4v_cosf_sse4): Likewise.
7807         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7808         (_ZGVdN8v_cosf_avx2): Likewise.
7809         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7810         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7811         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7812         (_ZGVbN4v_expf_sse4): Likewise.
7813         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7814         (_ZGVdN8v_expf_avx2): Likewise.
7815         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7816         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7817         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7818         (_ZGVbN4v_logf_sse4): Likewise.
7819         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7820         (_ZGVdN8v_logf_avx2): Likewise.
7821         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7822         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7823         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7824         (_ZGVbN4vv_powf_sse4): Likewise.
7825         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7826         (_ZGVdN8vv_powf_avx2): Likewise.
7827         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7828         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7829         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7830         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7831         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7832         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7833         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7834         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7835         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7836         (_ZGVbN4v_sinf_sse4): Likewise.
7837         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7838         (_ZGVdN8v_sinf_avx2): Likewise.
7839         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7840         Use JUMPTARGET to call callee.
7841         (WRAPPER_IMPL_SSE2_ff): Likewise.
7842         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7843         (WRAPPER_IMPL_AVX): Likewise.
7844         (WRAPPER_IMPL_AVX_ff): Likewise.
7845         (WRAPPER_IMPL_AVX_fFF): Likewise.
7846         (WRAPPER_IMPL_AVX512): Likewise.
7847         (WRAPPER_IMPL_AVX512_ff): Likewise.
7848         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7849         Likewise.
7850         (WRAPPER_IMPL_SSE2_ff): Likewise.
7851         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7852         (WRAPPER_IMPL_AVX): Likewise.
7853         (WRAPPER_IMPL_AVX_ff): Likewise.
7854         (WRAPPER_IMPL_AVX_fFF): Likewise.
7855         (WRAPPER_IMPL_AVX512): Likewise.
7856         (WRAPPER_IMPL_AVX512_ff): Likewise.
7857         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7859 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7861         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7862         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7863         qualifier.
7864         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7865         internal_function qualifiers.
7867 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7869         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7870         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7871         * math/atest-exp.c (exp_mpn): Mark chk unused.
7872         * math/atest-exp2.c (exp_mpn): Likwise.
7873         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7874         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7876 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7878         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7879         Remove macro.
7880         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7881         <kernel-features.h>.
7882         [__NR_ppoll]: Make code unconditional.
7883         [!__ASSUME_PPOLL]: Remove conditional code.
7885         * sysdeps/unix/sysv/linux/kernel-features.h
7886         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7887         (__ASSUME_ACCEPT4): Likewise.
7888         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7889         Define.
7890         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7891         Likewise.
7892         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7893         Likewise.
7894         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7895         Likewise.
7896         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7897         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7898         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7899         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7900         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7901         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7902         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7903         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7904         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7905         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7906         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7907         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7908         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7909         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7910         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7911         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7912         Likewise.
7913         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7914         Likewise.
7915         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7916         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7917         0x040300].
7918         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7919         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7920         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7921         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7922         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7923         0x030300].
7924         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7925         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7926         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7927         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7928         0x040300].
7929         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7930         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7931         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7932         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7933         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7934         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7935         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7936         0x030300].
7937         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7938         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7939         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7940         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7941         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7942         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7943         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7944         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7945         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7946         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7947         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7948         0x040300].
7949         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7950         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7951         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7952         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7953         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7954         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7955         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7956         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7957         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7958         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7959         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7960         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7961         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7962         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7963         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7964         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7965         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7966         Likewise.
7967         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7968         Likewise.
7970 2016-03-15  Andreas Schwab  <schwab@suse.de>
7972         [BZ #19257]
7973         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7974         statp->_u._ext.nscount as loop count.
7976 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7978         * math/test-signgam-finite-c99.c: Also #undef
7979         __LIBC_INTERNAL_MATH_INLINES.
7980         * math/test-signgam-main.c: Likewise.
7982 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7984         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7985         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7986         (MADV_FREE): Likewise.
7987         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7988         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7989         EPOLLEXCLUSIVE.
7991 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7993         * timezone/README: Remove mention of checktab.awk. Mention wiki
7994         SharedSourceFiles.
7996 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7998         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7999         WUNTRACED.
8001 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8003         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8004         order to match the type of p when calling atomic_exchange_acq().
8006 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8008         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8009         cfi_offset calls.
8010         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8011         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8012         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8013         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8014         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8016 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
8018         * timezone/checktab.awk: Removed.
8020 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
8022         * manual/math.texi (Errors in Math Functions): Document relaxed
8023         accuracy goals for IBM long double.
8024         * math/libm-test.inc (test_exceptions): Always allow spurious
8025         "underflow" and "inexact" exceptions for IBM long double.
8027 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
8029         [BZ #19762]
8030         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8031         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8032         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8033         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8034         (bit_arch_*): This for feature array.
8035         (bit_*): Renamed to ...
8036         (bit_cpu_*): This for cpu array.
8037         (index_*): Renamed to ...
8038         (index_arch_*): This for feature array.
8039         (index_*): Renamed to ...
8040         (index_cpu_*): This for cpu array.
8041         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8042         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8043         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8044         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8045         bit_##name with index_cpu_##name and bit_cpu_##name.
8046         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8047         bit_##name with index_arch_##name and bit_arch_##name.
8049 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
8051         [BZ #19792]
8052         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8053         Terminate FDE before return label.
8055 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
8057         [BZ #19790]
8058         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8059         (rintl): Define as macro.
8060         [USE_AS_NEARBYINTL] (__rintl): Likewise.
8061         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8062         of fesetround.  Ensure results are evaluated before end of scope.
8063         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8064         USE_AS_NEARBYINTL and include s_rintl.c.
8065         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8066         Disable exception traps in new environment.
8067         (libc_feholdsetround_ppc_ctx): Likewise.
8069 2016-03-08  Roland McGrath  <roland@hack.frob.com>
8071         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8072         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8073         (tst_audit10_aux) [__AVX512F__]: ... here.
8075 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
8077         * include/sys/auxv.h: New file.
8079 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8081         [BZ #19759]
8082         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8084 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8086         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8087         operand modifier.
8088         (feclearexcept): Likewise.
8090 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8092         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8093         to reflect the entire 32-bit HWCAP.
8094         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8095         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
8097 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8099         [BZ #19783]
8100         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8101         $(test-via-rtld-prefix).
8102         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8104 2016-03-08  Florian Weimer  <fweimer@redhat.com>
8106         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8107         union wait.  Report any non-zero exit status as error.
8109 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8111         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8112         configured with --enable-hardcoded-path-in-tests.
8114 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
8116         [BZ #19677]
8117         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8118         (__ieee754_remainderl): Put zero low parts in canonical form.
8119         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8120         file.  Based on
8121         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8122         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8123         with wrapper round test-fmodrem-ldbl-128ibm.c.
8124         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8125         file.
8126         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8127         Likewise.
8128         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8129         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8131 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8133         [BZ #19610]
8134         * elf/ldconfig.c (opt_link): Update comment.
8135         (options): Update help string for option -X.
8136         (search_dir): Unlink stale symbolic link only if updating symbolic
8137         links.
8138         * elf/tst-ldconfig-X.sh: New file.
8139         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8140         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8142 2016-03-07  Andreas Schwab  <schwab@suse.de>
8144         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8145         needed arguments.
8147 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8149         [BZ #15333]
8150         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8151         to lstat64.
8153 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8155         * libio/filedoalloc.c (isatty): Remove.
8156         (local_isatty): Add comment.  Call __isatty directly.
8157         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8158         * libio/wfiledoalloc.c (isatty): Remove.
8159         (_IO_wfile_doallocate): Update comment.
8161 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8163         [BZ #19269]
8164         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8165         tst-audit4-aux.o.
8166         (tst-audit10): Depend on tst-audit10-aux.o.
8167         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8168         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8169         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8170         instead of inline AVX code.
8171         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8172         instead of inline AVX512 code.
8173         * sysdeps/x86_64/tst-audit4-aux.c: New file
8174         * sysdeps/x86_64/tst-audit10-aux.c: New file
8176         [BZ #19648]
8177         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8179 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8181         [BZ #14750]
8182         [BZ #10354]
8183         [BZ #18433]
8184         * include/sched.h (__clone): Add hidden prototype.
8185         (__clone2): Likewise.
8186         * include/unistd.h (__dup): Likewise.
8187         * posix/Makefile (tests): Add tst-spawn2.
8188         * posix/tst-spawn2.c: New file.
8189         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8190         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8191         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8192         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8193         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8194         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8195         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8196         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8197         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8198         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8199         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8201         Likewise.
8202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8203         Likewise.
8204         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8205         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8206         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8207         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8208         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8209         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8210         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8211         * sysdeps/unix/sysv/linux/nptl-signals.h
8212         (____nptl_is_internal_signal): New function.
8213         * sysdeps/unix/sysv/linux/spawni.c: New file.
8215         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8216         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8217         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8218         * posix/tst-execvp2.c (do_test): Likewise.
8219         * posix/tst-execvp3.c (do_test): Likewise.
8220         * posix/tst-execvp4.c (do_test): Likewise.
8221         * posix/tst-execvpe1.c: New file.
8222         * posix/tst-execvpe2.c: Likewise.
8223         * posix/tst-execvpe3.c: Likewise.
8224         * posix/tst-execvpe4.c: Likewise.
8225         * posix/tst-execvpe5.c: Likewise.
8226         * posix/tst-execvpe6.c: Likewise.
8228         [BZ #19534]
8229         * posix/execl.c (execl): Remove dynamic memory allocation.
8230         * posix/execle.c (execle): Likewise.
8231         * posix/execlp.c (execlp): Likewise.
8233 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8235         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8236         Replace .text with .text.avx512.
8237         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8238         Likewise.
8240 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8242         * sysdeps/generic/libnsl.abilist: New file.
8243         * sysdeps/generic/libutil.abilist: New file.
8245 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8247         [BZ #19762]
8248         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8249         HAS_ARCH_FEATURE with Fast_Rep_String.
8250         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8251         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8252         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8253         Likewise.
8254         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8255         Likewise.
8256         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8257         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8258         Likewise.
8259         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8260         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8261         Likewise.
8263 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8265         [BZ #19745]
8266         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8267         with *%rax in call.
8269 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8271         [BZ #19745]
8272         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8273         with *__libc_start_main@GOTPCREL(%rip) in call.
8275 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8277         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8278         inside conditional for nonempty $(CXX).
8280         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8281         nonempty.
8283         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8284         to test for empty $(CXX) rather than $(CXX) of "no".
8286 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8288         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8290 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8291             H.J. Lu  <hongjiu.lu@intel.com>
8293         [BZ #18880]
8294         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8295         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8296         enable __memcpy_ssse3_back.
8298 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8300         [BZ #19758]
8301         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8302         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8304 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8306         [BZ #19490]
8307         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8308         (__fentry__): Likewise.
8310 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8312         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8313         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8315 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8317         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8318         __mcount_internal directly.
8319         (C_LABEL(__fentry__)): Likewise.
8320         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8321         directly.
8323 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8325         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8326         (__start_context): Call __setcontext directly.
8328 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8330         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8331         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8332         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8333         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8334         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8335         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8336         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8337         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8338         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8339         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8340         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8341         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8342         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8343         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8344         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8345         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8346         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8347         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8348         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8349         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8350         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8351         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8352         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8353         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8354         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8355         Remove conditional code.
8356         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8357         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8358         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8359         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8360         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8361         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8362         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8363         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8364         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8365         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8366         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8367         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8369 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8371         * NEWS (2.23): Fix typo in bug 19048 text.
8373 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8375         [BZ #14259]
8376         * Makeconfig: Rename msgcatdir to localedir.
8377         Rename inst_msgcatdir to inst_localedir.
8378         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8379         * config.make.in: Add localedir.
8380         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8381         (ldd-rewrite): Likewise.
8382         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8383         (install-others): Use inst_localedir.
8384         (CPPFLAGS): Use localedir.
8385         * locale/Makefile (locale-CPPFLAGS): Likewise.
8386         * po/Makefile (mo-installed): Use inst_localedir.
8388         [BZ #19575]
8389         * localedata/charmaps/GB18030: Update comments regarding PAU to
8390         non-PUA mappings.
8392 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8394         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8395         test for header.
8396         * sysdeps/unix/sysv/linux/configure: Regenerated.
8397         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8398         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8399         Remove conditional code.
8400         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8402         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8403         Define to 3.2.0.
8404         (arch_minimum_kernel): Likewise.
8405         * sysdeps/unix/sysv/linux/configure: Regenerated.
8406         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8407         Define to 2.6.32.
8408         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8409         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8410         (arch_minimum_kernel): Define to 2.6.32.
8411         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8412         * README: Document Linux 3.2 requirement.
8413         * manual/install.texi (Linux): Document Linux 3.2 headers
8414         requirement.
8415         * INSTALL: Regenerated.
8417 2016-02-24  Andreas Schwab  <schwab@suse.de>
8419         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8420         if !NO_LONG_DOUBLE.
8422 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8424         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8425         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8427 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8429         [BZ #19512]
8430         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8432 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8434         * posix/tst-dir.c: Include libc-internal.h.
8436 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8438         [BZ #19056]
8439         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8440         * manual/filesys.texi (Reading/Closing Directory): Mention
8441         deprecaion.
8442         * posix/tst-dir.c (main): Disable deprecation warning in test.
8444 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8446         [BZ #19679]
8447         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8448         Renamed to ...
8449         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8450         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8451         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8452         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8453         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8454         * sysdeps/x86_64/dl-trampoline.h
8455         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8456         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8458 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8460         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8462 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8464         * elf/elf.h (R_386_GOT32X): New.
8465         (R_386_NUM): Update.
8466         (R_X86_64_GOTPCRELX: New.
8467         (R_X86_64_REX_GOTPCRELX): New.
8468         (R_X86_64_NUM): Update.
8470 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8472         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8474 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8476         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8477         assign attr->stackaddr to it, and adjust it down when
8478         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8479         [_STACK_GROWS_UP]: Delete assert.
8480         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8481         Implement stack grows up logic.
8482         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8483         stack grows up logic.
8485 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8487         * NEWS: Update with 2.24 template.
8489 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8491         [BZ #19678]
8492         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8493         Ensure +0.0 is returned when taking the next value below the least
8494         positive value.
8496 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8498         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8499         available.  Do not define NO_THREADS.
8500         * malloc/malloc.c: Do not check NO_THREADS.
8501         * malloc/arena.c: Likewise.
8503 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8505         * malloc/malloc.c (__libc_mallinfo): Update comment.
8506         (struct malloc_par): Remove max_total_mem member, it was always 0.
8507         (int_mallinfo): Store 0 into usmblks (no functional change).
8508         * malloc/hooks.c (struct malloc_state): Document that
8509         max_total_mem is always 0.
8510         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8511         always 0.
8512         * manual/memory.texi (Statistics of Malloc): Likewise.
8514 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8516         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8517         * malloc/arena.c (arena_max): Remove.
8518         (heap_trim, _int_new_arena): Do not update arena_max.
8520 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8522         * resolv/res_init.c (res_ninit): Update comment.
8524 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8526         [BZ #19505]
8527         * posix/spawn_int.h: Add headers and include guard.
8528         (__spawn_valid_fd): New function.
8529         * posix/spawn_faction_addopen.c
8530         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8531         * posix/spawn_faction_addclose.c
8532         (posix_spawn_file_actions_addclose): Likewise.
8533         * posix/spawn_faction_adddup2.c
8534         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8535         second file descriptor.
8536         * posix/spawn_valid_fd.c: New file.
8537         * posix/tst-posix_spawn-fd.c: New file.
8538         * posix/Makefile (routines): Add spawn_valid_fd.
8539         (tests): Add tst-posix_spawn-fd.
8541 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8543         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8544         (do_test): Limit the number of arenas, so that we can use fewer
8545         outer threads.  Limit timeout to 3 seconds, in preparation for a
8546         larger TIMEOUT value.
8548 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8550         [BZ #19674]
8551         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8552         sign in overflowing and underflowing results when overflow or
8553         underflow is detected early.  Include sign in result before rather
8554         than after scaling.
8556         [BZ #19603]
8557         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8558         (__ieee754_remainderl): Adjust sign of integer version of low part
8559         when taking absolute value of high part.
8560         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8561         * math/libm-test.inc (remainder_test_data): Add another test.
8562         (remquo_test_data): Likewise.
8564 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8566         [BZ #19602]
8567         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8568         equal high parts and both low parts zero specially.
8569         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8570         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8571         Add test-fmodl-ldbl-128ibm.
8573         [BZ #19595]
8574         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8575         common logic for all cases of shifting subnormal results.  Do not
8576         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8577         exponent to ldbl_insert_mantissa in subnormal case.
8579         [BZ #19594]
8580         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8581         on high and low parts then adjust result and use
8582         ldbl_canonicalize_int if needed.
8584         [BZ #19593]
8585         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8586         on high part and __floor or __ceil on low part then use
8587         ldbl_canonicalize_int if needed.
8589         [BZ #19592]
8590         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8591         high and low parts then use ldbl_canonicalize_int if needed.
8593         [BZ #17899]
8594         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8595         New function.
8596         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8597         on high and low parts then use ldbl_canonicalize_int if needed.
8599 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8601         * configure: Regenerated.
8603         * po/libc.pot: Regenerated.
8605         * po/be.po: Updated translation.
8606         * po/bg.po: Likewise.
8607         * po/ca.po: Likewise.
8608         * po/cs.po: Likewise.
8609         * po/da.po: Likewise.
8610         * po/el.po: Likewise.
8611         * po/eo.po: Likewise.
8612         * po/es.po: Likewise.
8613         * po/fi.po: Likewise.
8614         * po/fr.po: Likewise.
8615         * po/gl.po: Likewise.
8616         * po/hr.po: Likewise.
8617         * po/hu.po: Likewise.
8618         * po/ia.po: Likewise.
8619         * po/id.po: Likewise.
8620         * po/it.po: Likewise.
8621         * po/ja.po: Likewise.
8622         * po/lt.po: Likewise.
8623         * po/nb.po: Likewise.
8624         * po/nl.po: Likewise.
8625         * po/pt_BR.po: Likewise.
8626         * po/rw.po: Likewise.
8627         * po/sk.po: Likewise.
8628         * po/sl.po: Likewise.
8629         * po/sv.po: Likewise.
8630         * po/tr.po: Likewise.
8631         * po/zh_CN.po: Likewise.
8632         * po/zh_TW.po: Likewise.
8634         * version.h (RELEAES): Set to "development".
8635         (VERSION): Set to 2.23.90.
8637         * version.h (RELEASE): Set to "stable".
8638         (VERSION): Set to 2.23.
8639         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8641         * NEWS: Updated fixed bugs.
8643 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8644             Wilco Dijkstra  <wdijkstr@arm.com>
8646         [BZ #19462]
8647         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8648         (_STRING_INLINE_unaligned): This.
8649         * include/string.h: Include <string_private.h>.
8650         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8651         _STRING_INLINE_unaligned.
8652         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8653         (_STRING_INLINE_unaligned): New.
8654         * sysdeps/aarch64/string_private.h: New file.
8655         * sysdeps/generic/string_private.h: Likewise.
8656         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8657         * sysdeps/s390/string_private.h: Likewise.
8658         * sysdeps/x86/string_private.h: Likewise.
8659         * sysdeps/m68k/m680x0/m68020/bits/string.h
8660         (_STRING_ARCH_unaligned): Renamed to ...
8661         (_STRING_INLINE_unaligned): This.
8662         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8663         to ...
8664         (_STRING_INLINE_unaligned): This.
8665         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8666         to ...
8667         (_STRING_INLINE_unaligned): This.
8668         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8669         to ...
8670         (_STRING_INLINE_unaligned): This.
8672 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8673             H.J. Lu  <hongjiu.lu@intel.com>
8675         [BZ #19590]
8676         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8677         relocation.
8679 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8681         [BZ #18665]
8682         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8683         *herrno_p.
8684         (gaih_getanswer): Document functional behviour. Return tryagain
8685         if any result is tryagain.
8686         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8687         when freed.
8688         * resolv/res_send.c: Add copyright text.
8689         (__libc_res_nsend): Document that MAXPACKET is expected.
8690         (send_vc): Document. Remove buffer reuse.
8691         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8692         size of the buffer. Add Dprint for truncated UDP buffer.
8694 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8696         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8697         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8698         * INSTALL: Regenerate.
8700 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8701             Jonathan Wakely  <jwakely@redhat.com>
8702             Carlos O'Donell  <carlos@redhat.com>
8704         [BZ 19439]
8705         * math/Makefile (tests): Add test-math-isinff.
8706         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8707         * math/bits/mathcalls.h [__USE_MISC]: Use
8708         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8709         functions not in C++11 and which don't conflict e.g. isinff,
8710         isinfl etc.
8711         * math/test-math-isinff.cc: New file.
8713 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8715         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8717 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8719         [BZ #19529]
8720         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8722 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8724         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8726 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8728         [BZ #19550]
8729         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8730         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8731         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8732         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8733         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8734         New syscall entry.
8735         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8736         New syscall entry.
8737         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8738         syscall entry.
8740 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8742         [BZ #18240]
8743         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8744         unsigned int wraparound.
8746 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8748         [BZ #18240]
8749         * misc/bug18240.c: New test.
8750         * misc/Makefile (tests): Add it.
8752 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8753             Joseph Myers  <joseph@codesourcery.com>
8755         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8756         load in branch delay slot when less than a word of input left.
8758 2016-01-27  Andreas Schwab  <schwab@suse.de>
8760         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8761         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8762         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8763         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8765 2016-01-26  David S. Miller  <davem@davemloft.net>
8767         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8769 2016-01-25  David S. Miller  <davem@davemloft.net>
8771         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8772         __sqrtl_finite.
8773         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8774         instead using versioned_symbol.
8775         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8776         of entries.
8778         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8779         __sqrtl_finite to GLIBC_2.23
8781 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8783         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8785 2016-01-25  Andreas Schwab  <schwab@suse.de>
8787         [BZ #17514]
8788         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8789         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8790         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8791         * nptl/tst-mutex-errorcheck.c: New file.
8793 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8795         [BZ #18560]
8796         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8797         (IPCOP_semop): Likewise.
8798         (IPCOP_semget): Likewise.
8799         (IPCOP_semctl): Likewise.
8800         (IPCOP_msgsnd): Likewise.
8801         (IPCOP_msgrcv): Likewise.
8802         (IPCOP_msgget): Likewise.
8803         (IPCOP_msgctl): Likewise.
8804         (IPCOP_shmat): Likewise.
8805         (IPCOP_shmdt): Likewise.
8806         (IPCOP_shmget): Likewise.
8807         (IPCOP_shmctl): Likewise.
8809 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8811         * string/tst-endian.c: Include <libc-internal.h>.
8812         (do_test): Ignore tautological-compare warnings around
8813         "htobeXX (beXXtoh (i)) != i" and
8814         "htoleXX (leXXtoh (i)) != i" if-statements.
8816 2016-01-24  David S. Miller  <davem@davemloft.net>
8818         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8819         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8820         alias.
8821         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8822         __sqrtl_finite.
8824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8826 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8828         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8829         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8830         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8832 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8834         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8835         (thread_func): Use new function to simplify barrier check.
8836         (do_test): Use new function to simplify checking barrier exit
8837         code, and actually join the child thread.
8839 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8841         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8842         semicolon.
8843         (__libc_tend): Likewise.
8844         (__libc_tabort): Likewise.
8846 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8848         * sysdeps/nios2/libm-test-ulps: Update.
8849         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8850         (__gtsf2): Likewise.
8851         (__unorddf2): Likewise.
8852         (__unordsf2): Likewise.
8853         (__ledf2): Likewise.
8855 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8857         * nis/nis_table.c (__follow_path): Disable diagnostic for
8858         uninitialized variable that is a false positive for gcc 4.7.
8859         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8861 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8863         * sysdeps/nacl/lowlevellock-futex.h
8864         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8865         Always evaluate PRIVATE argument.
8867 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8869         [BZ #19490]
8870         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8871         (pthread_cond_broadcast): Use ENTRY/END
8872         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8873         (pthread_cond_signal): Likewise.
8874         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8875         Likewise.
8876         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8877         Likewise.
8878         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8879         Likewise.
8881 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8883         * sysdeps/ieee754/dbl-64/s_finite.c
8884         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8885         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8886         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8887         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8888         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8891         (__gtsf2): Add as optional for libc.so.
8892         (__unordsf2): Likewise.
8893         (__signbit): Remove for libc.so.
8894         (__signbitl): Likewise.
8896 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8898         * iconvdata/bug-iconv11.c (test_ibm93x):
8899         Use %zu printf format specifier for size_t argument.
8901 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8903         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8904         already-recorded ulps.
8905         * sysdeps/arm/libm-test-ulps: Regenerated.
8906         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8907         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8908         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8910 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8911             Paul Pluzhnikov  <ppluzhnikov@google.com>
8913         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8914         assembler not supporting AVX-512.
8916 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8918         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8920 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8922         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8923         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8925         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8927         * sysdeps/arm/libm-test-ulps: Regenerated.
8929 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8931         [BZ #19451]
8932         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8934 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8936         [BZ #19486]
8937         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8938         * sysdeps/generic/fix-fp-int-convert-overflow.h
8939         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8940         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8941         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8942         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8943         Likewise.
8944         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8945         Avoid conversions to long int where inexact exceptions
8946         could be raised.
8947         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8948         Likewise.
8949         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8950         Avoid conversions to long long int where inexact exceptions
8951         could be raised.
8952         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8953         Likewise.
8955 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8957         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8958         * configure: Regenerated.
8960 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8962         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8964 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8966         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8967         outside of comment.
8969 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8971         * nptl/tst-barrier1.c: Add description on first line.
8972         * nptl/tst-barrier2.c: Likewise.
8973         * nptl/tst-barrier3.c: Likewise.
8974         * nptl/tst-barrier4.c: Likewise.
8975         * nptl/tst-barrier5.c: Likewise.
8977 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8979         [BZ #18868]
8980         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8982 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8985         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8986         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8987         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8988         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8989         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8990         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8991         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8992         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8993         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8994         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8996 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8998         [BZ #13065]
8999         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9000         new implementation.
9001         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9002         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9003         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9004         (BARRIER_IN_THRESHOLD): New macro.
9005         * nptl/pthread_barrierattr_setpshared.c
9006         (pthread_barrierattr_setpshared): Clean up.
9007         * nptl/tst-barrier4.c: Correct comment.
9008         * nptl/tst-barrier5.c: New file.
9009         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9010         (gen-as-const-headers): Remove lowlevelbarrier.sym.
9011         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9012         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9013         * nptl/lowlevelbarrier.sym: Remove.
9014         * nptl/DESIGN-barrier.txt: Remove.
9015         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9016         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9017         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9018         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9019         error.
9020         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9021         implementation.
9023 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9025         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9026         (do_child): Mask SIGRTMIN while thr is running.
9028 2016-01-15  Martin Sebor  <msebor@redhat.com>
9030         [BZ #19432]
9031         * iconvdata/Makefile: Add bug-iconv11.
9032         * iconvdata/bug-iconv11.c: New test.
9033         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9034         * iconvdata/ibm933.c: Same.
9035         * iconvdata/ibm935.c: Same.
9036         * iconvdata/ibm937.c: Same.
9037         * iconvdata/ibm939.c: Same.
9039 2016-01-15  Martin Sebor  <msebor@redhat.com>
9041         [BZ #19443]
9042         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9043         [DEBUG] (_ufc_set_bits): Declare used.
9044         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9045         [DEBUG] (print_all): Declare used.
9046         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9047         operands of the ternary ?: expression to target type.
9048         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9049         calling the undeclared abort.
9050         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9052 2016-01-15  Martin Sebor  <msebor@redhat.com>
9054         [BZ #18755]
9055         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9056         warnings.
9057         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9058         (__gai_create_helper_thread): Same.
9059         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9060         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9061         to suppress -Wmaybe-uninitialized warnings.
9063 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
9065         [BZ #19465]
9066         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9067         inside if.
9068         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9069         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9070         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9072 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
9074         [BZ #19466]
9075         * time/tst-mktime2.c (time_t_max): Removed.
9076         (time_t_min): Likewise.
9077         (TYPE_SIGNED): New.
9078         (TYPE_MINIMUM): Likewise.
9079         (TYPE_MAXIMUM): Likewise.
9080         (TIME_T_MIN): Likewise.
9081         (TIME_T_MAX): Likewise.
9082         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9083         and TIME_T_MIN.
9084         (do_test): Likewise.
9086 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
9088         [BZ #19467]
9089         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9090         index_Fast_Unaligned_Load flag for Excavator family CPUs.
9092 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9094         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9096 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
9098         * benchtests/Makefile (PYTHON): Define.
9099         (bench-func): Use $(PYTHON) to run python scripts.
9100         ($(objpfx)bench-%.c): Likewise.
9102 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
9104         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9105         leading slash when `file_name' is "/".
9107 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
9109         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9110         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9111         Likewise.
9112         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9113         Likewise.
9114         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9115         Likewise.
9116         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9117         enum constant and macro.
9118         (PTRACE_SETSIGMASK): Likewise.
9119         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9120         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9121         (PTRACE_GETSIGMASK): Likewise.
9122         (PTRACE_SETSIGMASK): Likewise.
9123         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9124         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9125         Likewise.
9126         (PTRACE_SETSIGMASK): Likewise.
9127         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9128         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9129         (PTRACE_GETSIGMASK): Likewise.
9130         (PTRACE_SETSIGMASK): Likewise.
9131         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9132         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9133         Likewise.
9134         (PTRACE_SETSIGMASK): Likewise.
9135         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9136         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9137         Likewise.
9138         (PTRACE_SETSIGMASK): Likewise.
9139         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9140         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9141         Likewise.
9142         (PTRACE_SETSIGMASK): Likewise.
9143         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9145 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9146             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9148         [BZ #19439]
9149         * math/bits/mathcalls.h
9150         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9151         prototype.
9152         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9154 2016-01-11  Andreas Schwab  <schwab@suse.de>
9156         [BZ #19253]
9157         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9158         cache when TZDEFRULES was used.
9159         * time/tst-tzname.c: New file.
9160         * time/Makefile (test): Add tst-tzname.
9161         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9162         * timezone/Makefile (test-zones): Add $(posixrules-file).
9163         ($(testdata)/$(posixrules-file)): New rule.
9165 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9167         Fix doc quoting problems with Texinfo 5
9168         Without this change, in the info file output, Texinfo 5 quotes code
9169         in text with undirected single quotes 'like this' and generates
9170         code examples that with many PDF readers cannot be cut out of PDFs
9171         and pasted into code.
9172         * manual/libc.texinfo: Configure the libc manual like the GNU
9173         Emacs manual, by using @documentencoding and setting
9174         txicodequoteundirected and txicodequotebacktick.  This way,
9175         Texinfo 5 quotes code in text with directed single quotes ‘like
9176         this’ and produces examples that can be cut out of PDFs.  This
9177         change causes Texinfo 5 to generate info files that contain UTF-8
9178         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9179         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9181 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9183         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9184         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9185         barriers to their respective compiler built-ins.
9186         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9187         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9188         * sysdeps/powerpc/sysdep.h: Likewise.
9189         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9190         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9191         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9193 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9195         * scripts/config.guess: Revert previous shebang change.
9196         * scripts/config.sub: Likewise.
9197         * scripts/mkinstalldirs: Likewise.
9199 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9201         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9202         PPC_FEATURE2_HAS_IEEE128.
9203         * sysdeps/powerpc/dl-procinfo.c:
9204         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9206 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9208         [BZ #19415]
9209         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9210         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9211         (_dl_lookup_address): Rewrite using function resolver trampoline.
9212         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9213         two bits in address.
9215 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9217         * longlong.h: Change !__SHMEDIA__ to
9218         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9219         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9221 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9222             Joseph Myers  <joseph@codesourcery.com>
9223             Mark Shinwell  <shinwell@codesourcery.com>
9224             Andrew Stubbs  <ams@codesourcery.com>
9225             Rich Felker <dalias@libc.org>
9227         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9229 2016-01-07  Richard Henderson  <rth@redhat.com>
9231         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9233 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9235         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9236         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9237         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9238         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9239         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9241 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9242             Joseph Myers  <joseph@codesourcery.com>
9244         * timezone/private.h: Update from tzcode 2015g.
9245         * timezone/tzfile.h: Likewise.
9246         * timezone/tzselect.ksh: Likewise.
9247         * timezone/zdump.c: Likewise.
9248         * timezone/zic.c: Likewise.
9249         * timezone/ialloc.c: Remove file.
9250         * timezone/scheck.c: Likewise.
9251         * timezone/Makefile (extra-objs): Remove variable.
9252         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9253         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9254         -Wno-maybe-uninitialized.
9255         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9256         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9257         (CFLAGS-ialloc.c): Remove variable.
9258         (CFLAGS-scheck.c): Likewise.
9259         * timezone/README: Update list of files from tzcode.
9261 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9263         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9264         instead of __fxprintf when _LIBC is undefined.
9266 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9268         * catgets/test-gencat.sh: Remove space after shebang.
9269         * conform/GlibcConform.pm: Likewise.
9270         * conform/check-header-lists.sh: Likewise.
9271         * conform/conformtest.pl: Likewise.
9272         * conform/linknamespace.pl: Likewise.
9273         * conform/list-header-symbols.pl: Likewise.
9274         * debug/catchsegv.sh: Likewise.
9275         * elf/genrtldtbl.awk: Likewise.
9276         * elf/tst-pathopt.sh: Likewise.
9277         * elf/tst-rtld-load-self.sh: Likewise.
9278         * grp/tst_fgetgrent.sh: Likewise.
9279         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9280         * iconvdata/gen-8bit-gap.sh: Likewise.
9281         * iconvdata/gen-8bit.sh: Likewise.
9282         * iconvdata/run-iconv-test.sh: Likewise.
9283         * intl/tst-gettext.sh: Likewise.
9284         * intl/tst-gettext2.sh: Likewise.
9285         * intl/tst-gettext4.sh: Likewise.
9286         * intl/tst-gettext6.sh: Likewise.
9287         * intl/tst-translit.sh: Likewise.
9288         * io/ftwtest-sh: Likewise.
9289         * libio/test-freopen.sh: Likewise.
9290         * locale/gen-translit.pl: Likewise.
9291         * malloc/tst-mtrace.sh: Likewise.
9292         * manual/check-safety.sh: Likewise.
9293         * manual/libc-texinfo.sh: Likewise.
9294         * manual/tsort.awk: Likewise.
9295         * manual/xtract-typefun.awk: Likewise.
9296         * nptl/tst-cancel-wrappers.sh: Likewise.
9297         * nptl/tst-tls6.sh: Likewise.
9298         * posix/globtest.sh: Likewise.
9299         * posix/tst-getconf.sh: Likewise.
9300         * posix/wordexp-tst.sh: Likewise.
9301         * scripts/check-c++-types.sh: Likewise.
9302         * scripts/check-local-headers.sh: Likewise.
9303         * scripts/config.guess: Likewise.
9304         * scripts/config.sub: Likewise.
9305         * scripts/cpp: Likewise.
9306         * scripts/cross-test-ssh.sh: Likewise.
9307         * scripts/documented.sh: Likewise.
9308         * scripts/evaluate-test.sh: Likewise.
9309         * scripts/gen-libc-abis: Likewise.
9310         * scripts/gen-sorted.awk: Likewise.
9311         * scripts/list-fixed-bugs.py: Likewise.
9312         * scripts/merge-test-results.sh: Likewise.
9313         * scripts/mkinstalldirs: Likewise.
9314         * scripts/rellns-sh: Likewise.
9315         * scripts/test-installation.pl: Likewise.
9316         * scripts/update-copyrights: Likewise.
9317         * stdio-common/tst-printf.sh: Likewise.
9318         * stdio-common/tst-unbputc.sh: Likewise.
9319         * stdlib/tst-fmtmsg.sh: Likewise.
9320         * stdlib/tst-setcontext3.sh: Likewise.
9321         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9322         * sysdeps/unix/make-syscalls.sh: Likewise.
9324 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9326         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9327         asm stw with atomic_exchange_rel.  Add explanatory comment.
9328         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9329         Likewise.
9331 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9333         [BZ #19122]
9334         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9335         * sysdeps/generic/dl-unistd.h: New file.
9336         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9338 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9340          [BZ #19122]
9341          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9342          * sysdeps/generic/dl-mman.h: New file.
9343          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9345 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9347         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9348         trailing whitespace removed.
9349         * scripts/config.guess: Update to version 2016-01-01.
9350         * scripts/config.sub: Update to version 2016-01-01.
9351         * scripts/move-if-change: Update from gnulib.
9353 2016-01-04  Anton Blanchard  <anton@samba.org>
9355         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9356         for array indices.
9357         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9359 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9361         * NEWS: Update copyright dates.
9362         * catgets/gencat.c (print_version): Likewise.
9363         * csu/version.c (banner): Likewise.
9364         * debug/catchsegv.sh: Likewise.
9365         * debug/pcprofiledump.c (print_version): Likewise.
9366         * debug/xtrace.sh (do_version): Likewise.
9367         * elf/ldconfig.c (print_version): Likewise.
9368         * elf/ldd.bash.in: Likewise.
9369         * elf/pldd.c (print_version): Likewise.
9370         * elf/sotruss.sh: Likewise.
9371         * elf/sprof.c (print_version): Likewise.
9372         * iconv/iconv_prog.c (print_version): Likewise.
9373         * iconv/iconvconfig.c (print_version): Likewise.
9374         * locale/programs/locale.c (print_version): Likewise.
9375         * locale/programs/localedef.c (print_version): Likewise.
9376         * login/programs/pt_chown.c (print_version): Likewise.
9377         * malloc/memusage.sh (do_version): Likewise.
9378         * malloc/memusagestat.c (print_version): Likewise.
9379         * malloc/mtrace.pl: Likewise.
9380         * manual/libc.texinfo: Likewise.
9381         * nptl/version.c (banner): Likewise.
9382         * nscd/nscd.c (print_version): Likewise.
9383         * nss/getent.c (print_version): Likewise.
9384         * nss/makedb.c (print_version): Likewise.
9385         * posix/getconf.c (main): Likewise.
9386         * scripts/test-installation.pl: Likewise.
9387         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9389         * All files with FSF copyright notices: Update copyright dates
9390         using scripts/update-copyrights.
9391         * intl/plural.c: Regenerated.
9392         * locale/programs/charmap-kw.h: Likewise.
9393         * locale/programs/locfile-kw.h: Likewise.
9395 2016-01-02  Helge Deller  <deller@gmx.de>
9397         [BZ #19285]
9398         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9399         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9400         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9401         (MADV_xxK_PAGES): Remove.
9403 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9405         [BZ #15421]
9406         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9407         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9408         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9409         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9411 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9413         [BZ #19408]
9414         * sysdeps/unix/sysv/linux/personality.c: New file.
9415         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9416         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9417         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9418         (sysdep_routines): Add personality.
9419         (tests): Add tst-personality.
9420         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9421         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9422         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9423         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9424         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9425         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9426         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9427         Likewise.
9428         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9429         Likewise.
9430         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9431         Likewise.
9432         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9433         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9434         Likewise.
9436 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9438         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9439         (PATH_ARM_SYSTYPE): Remove.
9440         (PATH_CPUINFO): Likewise.
9441         (IO_BASE_FOOTBRIDGE): Likewise.
9442         (IO_SHIFT_FOOTBRIDGE): Likewise.
9443         (struct platform): Likewise.
9444         (init_iosys): Remove compatibility code for 2.4 kernels.
9445         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9447 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9449         * malloc/tst-malloc-thread-fail.c: New file.
9450         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9451         (tst-malloc-thread-fail): Link against libpthread.
9453 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9455         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9456         (get_parser): New function.
9457         (main): New function.
9459 2015-12-29  Rob Wu  <rob@robwu.nl>
9461         [BZ #19369]
9462         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9464 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9466         [BZ #19270]
9467         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9469 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9471         [BZ #15421]
9472         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9474 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9476         [BZ #13690]
9477         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9478         after releasing it.
9479         (__lll_robust_unlock): Likewise.
9480         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9481         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9482         (lll_robust_unlock): Likewise.
9483         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9484         Prevent warnings in callers.
9486 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9488         * malloc/arena.c (list_lock): Update comment.
9490 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9492         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9493         __parse_hwcap_and_convert_at_platform to libc.a.
9495 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9497         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9498         platform and feature support for POWER9.
9499         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9500         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9501         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9502         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9503         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9504         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9505         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9506         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9508 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9510         Harmonize generic stdio-lock support with nptl
9512         This fixes build when _IO_funlockfile is a macro, fixes build where
9513         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9514         stack unwind.
9516         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9517         _IO_release_lock ): Use cleanup attribute on new
9518         _IO_acquire_lock_file variable instead of assuming that
9519         _IO_release_lock will be called.
9520         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9521         _IO_acquire_lock_needs_exceptions_enabled.
9522         (_IO_acquire_lock_clear_flags2): New macro.
9524 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9526         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9528 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9530         [BZ #19182]
9531         * malloc/arena.c (list_lock): Document lock ordering requirements.
9532         (free_list_lock): New lock.
9533         (ptmalloc_lock_all): Comment on free_list_lock.
9534         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9535         (detach_arena): Update comment.  free_list_lock is now needed.
9536         (_int_new_arena): Use free_list_lock around detach_arena call.
9537         Acquire arena lock after list_lock.  Add comment, including FIXME
9538         about incorrect synchronization.
9539         (get_free_list): Switch to free_list_lock.
9540         (reused_arena): Acquire free_list_lock around detach_arena call
9541         and attached threads counter update.  Add two FIXMEs about
9542         incorrect synchronization.
9543         (arena_thread_freeres): Switch to free_list_lock.
9544         * malloc/malloc.c (struct malloc_state): Update comments to
9545         mention free_list_lock.
9547 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9549         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9550         Remove functions.
9551         (sloww, sloww1): Accept argument to offset quadrant.
9552         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9553         quadrant.
9554         (__sin, __cos): Consolidate common code into new functions.
9555         (reduce_sincos_1, do_sincos_1): New functions.
9556         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9558         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9559         code to new functions.
9560         (reduce_sincos_2, do_sincos_2): New functions.
9561         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9563         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9564         common code for sincos.
9565         (__cos) [!IN_SINCOS]: Likewise.
9566         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9567         New function.
9568         (__sincos): Use it.
9570 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9572         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9573         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9574         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9576 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9578         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9579         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9580         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9581         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9582         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9583         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9584         index_Prefer_No_VZEROUPPER): New feature.
9585         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9586         Prefer_No_VZEROUPPER for Knights Landing.
9588 015-12-18  Torvald Riegel  <triegel@redhat.com>
9590         * math/atest-exp2.c (mp_exp_m1): Remove.
9592 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9594         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9595         syscalls.
9596         (__SYSCALL0): New macro.
9597         (__SYSCALL1): Likewise.
9598         (__SYSCALL2): Likewise.
9599         (__SYSCALL3): Likewise.
9600         (__SYSCALL4): Likewise.
9601         (__SYSCALL5): Likewise.
9602         (__SYSCALL6): Likewise.
9603         (__SYSCALL_CONCAT_X): Likewise.
9604         (__SYSCALL_CONCAT): Likewise.
9605         (__SYSCALL_DIST): Likewise.
9606         (__SYSCALL_CALL): Likewise.
9608 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9610         [BZ #19363]
9611         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9613 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9615         [BZ #19375]
9616         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9617         negative subnormals.
9619 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9621         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9622         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9623         (INTERNAL_SYSCALL_NCS): Use it.
9624         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9626 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9628         [BZ #19243]
9629         * malloc/arena.c (get_free_list): Remove assert and adjust
9630         reference count handling.  Add comment about reused_arena
9631         interaction.
9632         (reused_arena): Add comments abount get_free_list interaction.
9633         * malloc/tst-malloc-thread-exit.c: New file.
9634         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9635         (tst-malloc-thread-exit): Link against libpthread.
9637 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9639         [BZ #19367]
9640         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9641         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9642         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9643         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9644         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9646 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9648         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9649         Silvermont optimizations for Knights Landing.
9651 2015-12-15  Andreas Schwab  <schwab@suse.de>
9653         [BZ #17197]
9654         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9655         immediately after emitting SI.
9656         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9657         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9658         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9659         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9660         * iconvdata/bug-iconv10.c: New file.
9661         * iconvdata/Makefile (tests): Add bug-iconv10.
9662         ($(objpfx)bug-iconv10.out): New rule.
9664 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9666         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9667         aliasing violation.
9669 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9671         [BZ #18472]
9672         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9673         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9674         conditionals for them.
9675         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9676         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9677         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9678         sys/kdaemon.h.
9679         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9680         compat-only syscall, obsoleted in glibc 2.23.
9681         (create_module): Likewise.
9682         (get_kernel_syms): Likewise.
9683         (query_module): Likewise.
9684         (uselib): Likewise.
9685         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9687 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9689         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9690         <linux/version.h>.
9691         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9692         conditional code.
9693         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9694         and ioshift_name initialization.
9696 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9698         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9699         Fix indentation.
9701 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9703         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9705 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9707         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9709 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9710             Jakub Wilk  <jwilk@debian.org>
9712         [BZ #19347]
9713         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9714         to change the group of the device to the tty group.
9716 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9718         Split large string section; add truncation advice
9719         * manual/examples/strncat.c: Remove.
9720         This example was misleading, as the code would have undefined
9721         behavior if "hello" was longer than SIZE.  Anyway, the manual
9722         shouldn't encourage strncpy+strncat for this sort of thing.
9723         * manual/string.texi (Copying Strings and Arrays): Split into
9724         three sections Copying Strings and Arrays, Concatenating Strings,
9725         and Truncating Strings, as this section was way too long.  All
9726         cross-referenced changed.  Add advice about string-truncation
9727         functions.  Remove misleading strncat example.
9729 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9731         * manual/nss.texi (NSS Modules Interface): Document
9732         NSS_STATUS_NOTFOUND and SUCCESS.
9734 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9736         [BZ 18568]
9737         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9738         201505L, for Unicode 8.
9740 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9742         * locale/C-translit.h: Regenerate.
9744 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9746         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9747         and U+0153.
9749 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9751         [BZ #19351]
9752         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9753         expanding log(1+z), compare z rather than its square with epsilon
9754         to determine when to avoid evaluating the expansion.
9756         [BZ #19350]
9757         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9758         Increase overflow threshold.
9760         [BZ #19349]
9761         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9762         when small.
9764         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9765         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9766         New macro.
9767         [__LINUX_KERNEL_VERSION >= 0x040300]
9768         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9769         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9770         Likewise.
9771         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9772         Likewise.
9773         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9774         Likewise.
9775         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9776         Likewise.
9777         [__LINUX_KERNEL_VERSION >= 0x040300]
9778         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9779         [__LINUX_KERNEL_VERSION >= 0x040300]
9780         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9781         [__LINUX_KERNEL_VERSION >= 0x040300]
9782         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9783         [__LINUX_KERNEL_VERSION >= 0x040300]
9784         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9785         [__LINUX_KERNEL_VERSION >= 0x040300]
9786         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9787         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9788         Likewise.
9789         [__LINUX_KERNEL_VERSION >= 0x040300]
9790         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9791         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9792         Likewise.
9793         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9794         Likewise.
9795         [__LINUX_KERNEL_VERSION >= 0x040300]
9796         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9797         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9798         Likewise.
9799         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9800         Likewise.
9801         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9802         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9803         Likewise.
9804         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9805         Likewise.
9806         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9807         Likewise.
9808         [__LINUX_KERNEL_VERSION >= 0x040300]
9809         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9810         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9811         Likewise.
9812         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9813         Likewise.
9814         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9815         Likewise.
9816         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9817         Likewise.
9818         [__LINUX_KERNEL_VERSION >= 0x040300]
9819         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9820         [__LINUX_KERNEL_VERSION >= 0x040300]
9821         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9822         [__LINUX_KERNEL_VERSION >= 0x040300]
9823         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9824         [__LINUX_KERNEL_VERSION >= 0x040300]
9825         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9826         [__LINUX_KERNEL_VERSION >= 0x040300]
9827         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9828         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9829         Likewise.
9830         [__LINUX_KERNEL_VERSION >= 0x040300]
9831         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9832         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9833         Likewise.
9834         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9835         Likewise.
9836         [__LINUX_KERNEL_VERSION >= 0x040300]
9837         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9838         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9839         Likewise.
9840         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9841         Likewise.
9842         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9843         (__ASSUME_SOCKET_SYSCALL): Likewise.
9844         (__ASSUME_BIND_SYSCALL): Likewise.
9845         (__ASSUME_CONNECT_SYSCALL): Likewise.
9846         (__ASSUME_LISTEN_SYSCALL): Likewise.
9847         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9848         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9849         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9850         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9851         (__ASSUME_SEND_SYSCALL): Likewise.
9852         (__ASSUME_SENDTO_SYSCALL): Likewise.
9853         (__ASSUME_RECV_SYSCALL): Likewise.
9854         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9855         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9856         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9857         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9858         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9859         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9860         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9861         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9862         Likewise.
9863         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9864         Likewise.
9865         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9866         Likewise.
9867         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9868         Likewise.
9869         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9870         Likewise.
9871         [__LINUX_KERNEL_VERSION >= 0x020625]
9872         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9873         [__LINUX_KERNEL_VERSION >= 0x020625]
9874         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9875         [__LINUX_KERNEL_VERSION >= 0x020625]
9876         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9877         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9878         Likewise.
9879         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9880         Likewise.
9881         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9882         Likewise.
9883         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9884         Likewise.
9885         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9886         Likewise.
9887         [__LINUX_KERNEL_VERSION >= 0x020625]
9888         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9889         [__LINUX_KERNEL_VERSION >= 0x020625]
9890         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9891         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9892         Likewise.
9893         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9894         Likewise.
9896 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9898         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9899         record the current if the current ABI and CPU support the FP64
9900         extension.
9901         (has-modd-spreg): Define to record the current if the current ABI and
9902         CPU support 32-bit floating point values in odd FPU registers.
9903         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9904         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9905         $(has-modd-spreg) equals yes.
9906         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9907         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9908         $(has-modd-spreg) equal yes.
9910 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9912         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9913         basename.
9915 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9917         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9918         (bench-string): ... here.
9919         (bench): Add bench-string.
9920         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9921         to *-benchset to reflect what they are.
9922         (benchset): Adjust.
9924         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9925         cos-inputs.
9927 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9929         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9930         __attribute__ ((__simd__)) for vector math function declarations.
9932 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9934         Fix typo in strncat, wcsncat manual entries
9935         * manual/string.texi (Copying and Concatenation): Fix typos in
9936         sample implementations of strncat and wcsncat, by having them use
9937         the old value of the destination length, not the new one.
9939 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9941         [BZ #16961]
9942         [BZ #16962]
9943         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9944         string on the stack for strtod.
9945         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9946         a string on the stack for strtof.
9947         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9948         constructing a string on the stack for strtold.
9949         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9950         __strtold_nan to GLIBC_PRIVATE.
9951         * math/test-nan-overflow.c: New file.
9952         * math/test-nan-payload.c: Likewise.
9953         * math/Makefile (tests): Add test-nan-overflow and
9954         test-nan-payload.
9956 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9958         Consistency about byte vs character in string.texi
9959         * manual/string.texi (String and Array Utilities):
9960         Distinguish more carefully among bytes, multibyte characters,
9961         and wide characters.  Use "byte" when talking about C 'char',
9962         to distinguish it more clearly from multibyte characters.
9963         Say "wide character" or "multibyte character" instead of
9964         "character", when a wide or multibyte character is intended.
9965         Similarly for "multibyte string" versus "string".
9966         Define these terms more carefully.
9968 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9970         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9971         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9972         Likewise.
9973         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9974         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9975         * sysdeps/sh/math_private.h: New file.
9976         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9977         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9978         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9979         long double function name.
9980         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9981         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9982         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9983         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9984         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9986         Remove __finitel, __isinfl, and __isnanl.
9987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9988         Likewise.
9989         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9991         Remove __finitel.
9992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9993         Likewise.
9994         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9996 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9998         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9999         installed libmvec_nonshared.a.
10001 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10003         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10004         (sysdep_routines): Likewise.
10005         (sysdep-rtld-routines): Likewise.
10006         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10007         [$(subdir) = nptl](tests-static): test-get_hwcap-static
10008         * sysdeps/powerpc/Versions: Added new
10009         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10010         * sysdeps/powerpc/hwcapinfo.c: New file.
10011         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10012         and parse hwcap, hwcap2 and platform number information.
10013         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
10014         to store HWCAP+HWCAP2 and platform number.
10015         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10016         for HWCAP+HWCAP2 and platform number in the TCB.
10017         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
10018         the HWCAP, HWCAP2 and platform number in the TCB.
10019         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10020         (TLS_INIT_TP): Included calls to add the hwcap and
10021         at_platform values in the TCB in TP initialization.
10022         (TLS_DEFINE_INIT_TP): Likewise.
10023         (THREAD_GET_HWCAP): New macro.
10024         (THREAD_SET_HWCAP): Likewise.
10025         (THREAD_GET_AT_PLATFORM): Likewise.
10026         (THREAD_SET_AT_PLATFORM): Likewise.
10027         * sysdeps/powerpc/powerpc32/dl-machine.h:
10028         (dl_platform_init): New function that calls
10029         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10030         powerpc32.
10031         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10032         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
10033         this functionality, static linking case.
10034         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
10035         linking case.
10036         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10037         __parse_hwcap_and_convert_at_platform for the static linking case.
10038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10039         Included the new __parse_hwcap_and_convert_at_platform symbol in the
10040         ABI list for GLIBC 2.23.
10041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10042         Likewise.
10043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10044         Likewise.
10046 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
10048         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10049         * configure: Regenerate.
10050         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10051         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
10053 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
10055         * iconvdata/ibm930.c: Add comment explaining encoding uses.
10056         * iconvdata/ibm933.c: Likewise.
10057         * iconvdata/ibm935.c: Likewise.
10058         * iconvdata/ibm937.c: Likewise.
10059         * iconvdata/ibm939.c: Likewise.
10061 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10063         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10064         pthread_join.
10065         * nptl/tst-cancel21.c (tf): Likewise.
10067 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10069         [BZ #19313]
10070         * bits/typesizes.h (__CPU_MASK_TYPE): New.
10071         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10072         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10073         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10074         Likewise.
10075         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10076         Likewise.
10077         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10078         Likewise.
10079         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10080         Likewise.
10081         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10082         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10083         unsigned long int with __CPU_MASK_TYPE.
10085 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10087         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10089 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
10091         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10092         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10093         t512.x.
10094         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10096 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
10098         [BZ #19214]
10099         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10100         argument to return extended model.  Update family and model
10101         with extended family and model when family == 0x0f.
10102         (init_cpu_features): Updated.
10104 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10106         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10107         signed off_t, so 32bit bigger than 2GiB values are fine actually.
10109         * sysdeps/mach/hurd/mmap64.c: New file.
10111 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10113         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10114         rights for its main user thread in NEWTASK.
10116 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
10118         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10119         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10121 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
10123         [BZ #14259]
10124         * Makeconfig: Rename localedir to complocaledir.
10125         Rename inst_localedir to inst_complocaledir.
10126         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10127         * config.make.in: Use complocaledir and libc_cv_complocaledir.
10128         * configure.ac: Use libc_cv_complocaledir.
10129         * configure: Regenerate.
10130         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10131         -DCOMPLOCALEDIR.
10132         * locale/findlocale.c: Use COMPLOCALEDIR.
10133         * locale/loadarchive.c: Likewise.
10134         * locale/programs/locale.c: Likewise.
10135         * locale/programs/localedef.c: Likewise.
10136         * locale/programs/locarchive.c: Likewise.
10137         * localedata/Makefile: Use inst_complocaledir.
10138         * sysdeps/gnu/configure: Regenerate.
10139         * sysdeps/hppa/configure: Regenerate.
10140         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10141         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10143         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10144         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10145         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10146         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10148 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10150         [BZ #19058]
10151         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10152         AS_NEEDED.
10153         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10154         workaround.
10155         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10156         libmvec-static-only-routines): Added new file.
10157         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10159 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10161         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10162         of interrupted RPC instead of restoring it.
10164         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10165         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10166         libc_hidden_def.
10167         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10168         into initialized data instead of common. Define rtld_hidden_data_def.
10169         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10170         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10171         libc_hidden_def.
10172         (if_freenameindex): Add libc_hidden_weak.
10173         (if_nameindex): Add libc_hidden_weak.
10174         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10175         __open64.
10176         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10177         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10178         * sysdeps/mach/nanosleep.c: Include <time.h>
10179         (__nanosleep): Rename to __libc_nanosleep.
10180         (__nanosleep): Add weak_alias.
10181         (nanosleep): Update alias.
10183 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10185         * stdlib/strtod_nan.c: New file.
10186         * stdlib/strtod_nan_double.h: Likewise.
10187         * stdlib/strtod_nan_float.h: Likewise.
10188         * stdlib/strtod_nan_main.c: Likewise.
10189         * stdlib/strtod_nan_narrow.h: Likewise.
10190         * stdlib/strtod_nan_wide.h: Likewise.
10191         * stdlib/strtof_nan.c: Likewise.
10192         * stdlib/strtold_nan.c: Likewise.
10193         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10194         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10195         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10196         * wcsmbs/wcstod_nan.c: Likewise.
10197         * wcsmbs/wcstof_nan.c: Likewise.
10198         * wcsmbs/wcstold_nan.c: Likewise.
10199         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10200         strtold_nan.
10201         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10202         wcstof_nan.
10203         * include/stdlib.h (__strtof_nan): Declare and use
10204         libc_hidden_proto.
10205         (__strtod_nan): Likewise.
10206         (__strtold_nan): Likewise.
10207         (__wcstof_nan): Likewise.
10208         (__wcstod_nan): Likewise.
10209         (__wcstold_nan): Likewise.
10210         * include/wchar.h (____wcstoull_l_internal): Declare.
10211         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10212         (____strtoull_l_internal): Remove declaration.
10213         (STRTOF_NAN): Define macro.
10214         (SET_MANTISSA): Remove macro.
10215         (STRTOULL): Likewise.
10216         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10217         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10218         (STRTOF_NAN): Define macro.
10219         (SET_MANTISSA): Remove macro.
10220         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10221         (SET_MANTISSA): Remove macro.
10222         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10223         macro.
10224         (SET_MANTISSA): Remove macro.
10225         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10226         macro.
10227         (SET_MANTISSA): Remove macro.
10228         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10229         (SET_MANTISSA): Remove macro.
10230         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10231         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10232         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10234         [BZ #19266]
10235         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10236         upper case and lower case letters inside NAN(), not using TOLOWER.
10237         * stdlib/tst-strtod-nan-locale-main.c: New file.
10238         * stdlib/tst-strtod-nan-locale.c: Likewise.
10239         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10240         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10241         Depend on $(gen-locales).
10242         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10243         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10244         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10245         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10246         Depend on $(gen-locales).
10247         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10249 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10251         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10253         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10255         __finitel, __isinfl, and __isnanl.
10256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10257         Likewise.
10258         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10260         __finitel.
10261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10262         Likewise.
10263         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10265 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10267         * malloc/memusage.c (me): Remove redundant getenv call.
10269 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10271         [BZ #19143]
10272         [BZ #19164]
10273         * nptl/check-cpuset.h: Remove.
10274         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10275         Remove CPU set size check.
10276         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10277         Likewise.
10278         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10279         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10280         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10281         (__pthread_setaffinity_new): Remove CPU set size check.
10282         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10283         (__kernel_cpumask_size): Remove.
10284         (__sched_setaffinity_new): Remove CPU set size check.
10285         * manual/threads.texi (Default Thread Attributes): Remove stale
10286         reference to check_cpuset_attr, determine_cpumask_size in comment.
10287         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10288         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10289         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10290         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10291         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10292         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10293         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10294         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10295         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10296         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10297         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10298         skeleton test file.
10299         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10300         tst-affinity-pid.
10302 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10304         * scripts/update-abilist.sh: New file.
10305         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10306         * Makerules (update-all-abi-%, update-all-abi)
10307         (subdir_update-all-abi): New targets.
10308         * elf/Makefile (update-all-abi): New target.
10310 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10312         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10313         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10314         (__libc_lock_define_initialized): Use it.
10315         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10316         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10317         * malloc/malloc.c (main_arena): Likewise.
10318         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10319         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10321 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10323         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10324         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10325         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10326         (PTRACE_O_MASK): Update value.
10327         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10328         New value in enum __ptrace_setoptions.
10329         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10330         (PTRACE_O_MASK): Update value.
10331         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10332         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10333         (PTRACE_O_MASK): Update value.
10334         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10335         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10336         (PTRACE_O_MASK): Update value.
10337         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10338         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10339         (PTRACE_O_MASK): Update value.
10340         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10341         New value in enum __ptrace_setoptions.
10342         (PTRACE_O_MASK): Update value.
10343         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10344         New value in enum __ptrace_setoptions.
10345         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10346         (PTRACE_O_MASK): Update value.
10348         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10349         New macro.
10350         (PACKET_AUXDATA): Likewise.
10351         (PACKET_ORIGDEV): Likewise.
10352         (PACKET_VERSION): Likewise.
10353         (PACKET_HDRLEN): Likewise.
10354         (PACKET_RESERVE): Likewise.
10355         (PACKET_TX_RING): Likewise.
10356         (PACKET_LOSS): Likewise.
10357         (PACKET_VNET_HDR): Likewise.
10358         (PACKET_TX_TIMESTAMP): Likewise.
10359         (PACKET_TIMESTAMP): Likewise.
10360         (PACKET_FANOUT): Likewise.
10361         (PACKET_TX_HAS_OFF): Likewise.
10362         (PACKET_QDISC_BYPASS): Likewise.
10363         (PACKET_ROLLOVER_STATS): Likewise.
10364         (PACKET_FANOUT_DATA): Likewise.
10365         (PACKET_MR_UNICAST): Likewise.
10367         [BZ #19242]
10368         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10369         (TOUPPER): Likewise.
10370         * stdlib/tst-strtol-locale-main.c: New file.
10371         * stdlib/tst-strtol-locale.c: Likewise.
10372         * stdlib/Makefile (tests): Add tst-strtol-locale.
10373         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10374         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10375         Depend on $(gen-locales).
10376         * wcsmbs/tst-wcstol-locale.c: New file.
10377         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10378         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10379         tr_TR.ISO-8859-9.
10380         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10381         Depend on $(gen-locales).
10383 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10385         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10386         __glibc_likely instead of __builtin_expect.  After falling back to
10387         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10388         system interface to register the code pages as occupied.
10390 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10392         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10393         [!ARM_MATH_PRIVATE_H].
10394         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10395         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10396         [!HPPA_MATH_PRIVATE_H].
10397         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10398         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10399         to [!I386_MATH_PRIVATE_H].
10400         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10401         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10402         Change guard to [!M68K_MATH_PRIVATE_H].
10403         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10404         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10405         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10406         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10407         macro.
10408         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10409         [!MIPS_MATH_PRIVATE_H].
10410         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10411         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10412         [!NIO2_MATH_PRIVATE_H].
10413         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10414         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10415         [!TILE_MATH_PRIVATE_H].
10416         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10418         [BZ #15421]
10419         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10420         initialize with 0 and define as weak alias of __signgam.
10421         * include/math.h [!_ISOMAC] (__signgam): Declare.
10422         * math/Makefile (libm-calls): Add w_lgamma_compat.
10423         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10424         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10425         test-signgam-ullong-init.
10426         (tests-static): Add test-signgam-uchar-static,
10427         test-signgam-uchar-init-static, test-signgam-uint-static,
10428         test-signgam-uint-init-static, test-signgam-ullong-static and
10429         test-signgam-ullong-init-static.
10430         (CFLAGS-test-signgam-uchar.c): New variable.
10431         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10432         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10433         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10434         (CFLAGS-test-signgam-uint.c): Likewise.
10435         (CFLAGS-test-signgam-uint-init.c): Likewise.
10436         (CFLAGS-test-signgam-uint-static.c): Likewise.
10437         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10438         (CFLAGS-test-signgam-ullong.c): Likewise.
10439         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10440         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10441         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10442         * math/Versions (libm): Add GLIBC_2.23.
10443         * math/lgamma-compat.h: New file.
10444         * math/test-signgam-main.c: Likewise.
10445         * math/test-signgam-uchar-init-static.c: Likewise.
10446         * math/test-signgam-uchar-init.c: Likewise.
10447         * math/test-signgam-uchar-static.c: Likewise.
10448         * math/test-signgam-uchar.c: Likewise.
10449         * math/test-signgam-uint-init-static.c: Likewise.
10450         * math/test-signgam-uint-init.c: Likewise.
10451         * math/test-signgam-uint-static.c: Likewise.
10452         * math/test-signgam-uint.c: Likewise.
10453         * math/test-signgam-ullong-init-static.c: Likewise.
10454         * math/test-signgam-ullong-init.c: Likewise.
10455         * math/test-signgam-ullong-static.c: Likewise.
10456         * math/test-signgam-ullong.c: Likewise.
10457         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10458         wrapper of w_lgamma_main.c.
10459         * math/w_lgamma_compat.c: New file.
10460         * math/w_lgamma_compatf.c: Likewise.
10461         * math/w_lgamma_compatl.c: Likewise.
10462         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10463         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10464         defining compatibility symbols.
10465         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10466         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10467         wrapper of w_lgammaf_main.c.
10468         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10469         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10470         defining compatibility symbols.
10471         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10472         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10473         wrapper of w_lgammal_main.c.
10474         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10475         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10476         defining compatibility symbols.
10477         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10478         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10479         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10480         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10481         <lgamma-compat.h>.
10482         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10483         (__ieee754_gamma): Define as alias.
10484         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10485         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10486         <lgamma-compat.h>.
10487         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10488         (__ieee754_gammaf): Define as alias.
10489         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10490         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10491         <lgamma-compat.h>.
10492         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10493         (__ieee754_gammal): Define as alias.
10494         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10495         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10496         <math/w_lgamma_compat.c>.
10497         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10498         Define as alias of __lgamma_compat and use in defining lgammal.
10499         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10500         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10501         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10502         (USE_AS_COMPAT): New macro.
10503         (LGAMMA_OLD_VER): Undefine and redefine.
10504         (lgammal): Do not define here.
10505         (gammal): Only define here if [GAMMA_ALIAS].
10506         * conform/linknamespace.pl (@whitelist): Remove signgam.
10507         * sysdeps/nacl/libm.abilist: Update.
10508         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10509         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10510         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10511         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10512         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10513         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10514         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10515         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10516         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10517         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10518         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10519         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10521         Likewise.
10522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10523         Likewise.
10524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10525         Likewise.
10526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10527         Likewise.
10528         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10529         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10530         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10531         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10532         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10534         Likewise.
10535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10536         Likewise.
10537         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10538         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10539         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10541 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10543         [BZ #16364]
10544         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10545         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10547 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10549         * sysdeps/s390/fpu/bits/mathinline.h:
10550         Use __asm__ [__volatile__] instead of asm [volatile].
10551         * sysdeps/s390/abort-instr.h: Likewise.
10552         * sysdeps/s390/atomic-machine.h: Likewise.
10553         * sysdeps/s390/bits/string.h: Likewise.
10554         * sysdeps/s390/dl-tls.h: Likewise.
10555         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10556         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10557         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10558         * sysdeps/s390/fpu/fesetround.c: Likewise.
10559         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10560         * sysdeps/s390/fpu/s_fma.c: Likewise.
10561         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10562         * sysdeps/s390/memusage.h: Likewise.
10563         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10564         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10565         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10566         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10567         * sysdeps/s390/nptl/tls.h: Likewise.
10568         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10569         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10570         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10571         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10572         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10573         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10574         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10575         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10576         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10577         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10578         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10579         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10580         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10581         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10582         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10583         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10584         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10585         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10586         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10587         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10588         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10589         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10590         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10592 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10593             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10595         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10596         Add lwarx hint, and use macro for acquire instruction.
10597         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10598         Likewise.
10599         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10600         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10601         update to use new atomic macros.
10603 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10605         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10606         (__lll_trylock_elision): Fix setting of adapt_count.
10607         * sysdeps/unix/sysv/linux/powerpc/htm.h
10608         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10609         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10610         (_ABORT_SYSCALL): Renumber, and clarify definition.
10611         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10613 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10615         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10616         after system headers to prevent MIN/MAX redefinition.  Define
10617         HAVE_ALLOCA to preserve builtin alloca usage.
10619 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10621         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10622         static and don't set or restore rounding.
10623         (__cos)[IN_SINCOS]: Likewise.
10624         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10625         (__sincos): Set and restore rounding mode.  Remove check for infinite
10626         or NaN input.
10628         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10630         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10631         as used.
10633 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10635         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10637 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10639         * config.make.in (have-glob-dat-reloc): New.
10640         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10641         target supports GLOB_DAT relocaton. AC_SUBST.
10642         * configure: Regenerated.
10643         * elf/Makefile (tests): Add tst-prelink.
10644         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10645         (tst-prelink-ENV): New.
10646         ($(objpfx)tst-prelink-conflict.out): Likewise.
10647         ($(objpfx)tst-prelink-cmp.out): Likewise.
10648         * sysdeps/x86/tst-prelink.c: Moved to ...
10649         * elf/tst-prelink.c: Here.
10650         * sysdeps/x86/tst-prelink.exp: Moved to ...
10651         * elf/tst-prelink.exp: Here.
10652         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10653         (tst-prelink-ENV): Removed.
10654         ($(objpfx)tst-prelink-conflict.out): Likewise.
10655         ($(objpfx)tst-prelink-cmp.out): Likewise.
10656         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10658 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10660         [BZ #14551]
10661         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10662         (__mpn_construct_long_double): If high part overflows to infinity,
10663         set errno and recompute overflowed result of the correct sign.
10664         * sysdeps/ieee754/ldbl-128ibm/Makefile
10665         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10666         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10667         $(libm).
10668         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10670 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10672         [BZ #15479]
10673         [BZ #19238]
10674         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10675         floating-point state after first operation on input.  Restore full
10676         state rather than just rounding mode.
10677         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10678         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10679         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10681         [BZ #19235]
10682         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10683         add 0.5 to integer arguments.
10684         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10685         Likewise.
10686         (.LC2): New object.
10688 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10690         * scripts/pylintrc (reports): Set to no.
10692 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10694         * elf/dl-load.c (open_verify): Take new argument FD.
10695         Skip __open call if passed FD is not -1.
10696         (_dl_map_object, open_path): Update callers.
10697         * elf/dl-sysdep-open.h: New file.
10698         * elf/dl-load.c: Include it.
10699         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10700         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10701         * sysdeps/nacl/dl-sysdep-open.h: New file.
10702         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10703         from libc to rtld.
10705 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10707         [BZ #19228]
10708         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10709         and restore full floating-point state.
10710         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10711         Likewise.
10712         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10713         Likewise.
10714         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10715         Likewise.
10716         * math/test-nearbyint-except-2.c: New file.
10717         * math/Makefile (tests): Add test-nearbyint-except-2.
10719 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10721         [BZ #19178]
10722         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10723         (tst-prelink-ENV): New.
10724         ($(objpfx)tst-prelink-conflict.out): Likewise.
10725         ($(objpfx)tst-prelink-cmp.out): Likewise.
10726         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10727         * sysdeps/x86/tst-prelink.c: New file.
10728         * sysdeps/x86/tst-prelink.exp: Likewise.
10730 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10732         * math/auto-libm-test-in: Add another test of pow.
10733         * math/auto-libm-test-out: Regenerated.
10734         * math/libm-test.inc (pow_test_data): Add another test.
10736 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10738         [BZ #19219]
10739         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10740         weak_alias to nearbyintl.
10742 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10744         * sysdeps/aarch64/bits/string.h: New file.
10745         (_STRING_ARCH_unaligned): Define.
10747 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10749         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10750         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10751         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10752         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10755 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10757         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10758         for original name of the DSO.  Add it to the name list of the DSO
10759         if it is actually given.
10760         (_dl_map_object): Keep track of whether an audit module rewrote
10761         the file name.  If yes, pass the original name to
10762         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10763         debugging is enabled, log the change of the file name.
10764         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10765         _dl_map_object_from_fd.
10766         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10767         * elf/tst-audit11.c: New file
10768         * elf/tst-auditmod11.c: New file.
10769         * elf/tst-audit11mod1.c: New file.
10770         * elf/tst-audit11mod2.c: New file.
10771         * elf/tst-audit11mod2.map: New file.
10772         * elf/tst-audit12.c: New file
10773         * elf/tst-auditmod12.c: New file.
10774         * elf/tst-audit12mod1.c: New file.
10775         * elf/tst-audit12mod2.c: New file.
10776         * elf/tst-audit12mod2.map: New file.
10777         * elf/tst-audit12mod3.c: New file.
10779 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10781         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10782         Don't create weak aliases,
10783         because versioned symbols are created later.
10784         * sysdeps/s390/s390-32/setjmp.S
10785         (setjmp, _setjmp): Remove weak and rename to an unique name
10786         in SHARED case due to existing versioned symbols.
10787         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10788         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10789         (getcontext): Create weak alias only in non SHARED case.
10790         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10792 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10794         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10795         (__ASSUME_*_SYSCALL) Define new macros.
10796         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10797         Remove socketcall syscalls.
10798         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10799         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10800         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10801         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10802         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10803         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10805 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10807         [BZ #12926]
10808         Terminate process on invalid netlink response.
10809         * sysdeps/unix/sysv/linux/netlinkaccess.h
10810         (__netlink_assert_response): Declare.
10811         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10812         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10813         (sysdep_routines): Add netlink_assert_response.
10814         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10815         __netlink_assert_response.
10816         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10817         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10818         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10819         __netlink_assert_response.
10821 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10823         [BZ #19178]
10824         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10825         (RTYPE_CLASS_PLT): Likewise.
10826         (RTYPE_CLASS_COPY): Likewise.
10827         (RTYPE_CLASS_TLS): Likewise.
10828         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10829         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10830         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10831         DL_DEBUG_PRELINK.
10833 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10835         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10836         calls with argument -0.5.
10837         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10839         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10840         (libc_cv_z_nodlopen): Likewise.
10841         (libc_cv_z_initfirst): Likewise.
10842         * configure: Regenerated.
10844 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10846         Simplify abilist format to be line-based.
10847         * scripts/abilist.awk: Collect descriptors in the descs variable.
10848         (emit): Write descs variable and sort it
10849         externally, with sort.
10850         * sysdeps/**/*.abilist: Convert to new format.
10852 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10854         [BZ #11460]
10855         * io/Makefile (routines): Add fts64.
10856         (tests): Add tst-fts and tst-fts-lfs.
10857         (CFLAGS-fts64.c): New.
10858         * io/Versions (GLIBC_2.23): New.
10859         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10860         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10861         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10862         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10863         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10864         (FTSENT64): Likewise.
10865         (fts64_children): Likewise.
10866         (fts64_close): Likewise.
10867         (fts64_open): Likewise.
10868         (fts64_read): Likewise.
10869         (fts64_set): Likewise.
10870         * io/fts64.c: New file.
10871         * io/tst-fts.c: New test.
10872         * io/tst-fts-lfs.c: Likewise.
10873         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10874         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10875         fts64_set.
10876         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10877         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10878         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10879         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10880         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10881         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10882         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10883         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10884         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10885         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10886         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10887         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10888         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10890         Likewise.
10891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10892         Likewise.
10893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10895         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10896         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10897         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10898         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10899         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10902         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10903         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10904         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10905         * sysdeps/wordsize-64/fts.c: New file.
10906         * sysdeps/wordsize-64/fts64.c: Likewise.
10907         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10908         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10909         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10910         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10912 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10914         * math/libm-test.inc (NON_FINITE): New macro.
10915         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10916         * math/gen-libm-test.pl (show_exceptions): Add argument
10917         $non_finite.
10918         (parse_args): Update call to show_exceptions.
10919         * math/test-math-finite.h: New file.
10920         * math/test-math-no-finite.h: Likewise.
10921         * math/test-double-finite.c: Likewise.
10922         * math/test-float-finite.c: Likewise.
10923         * math/test-ldouble-finite.c: Likewise.
10924         * math/test-double.c: Include "test-math-no-finite.h".
10925         * math/test-float.c: Include "test-math-no-finite.h".
10926         * math/test-ldouble.c: Include "test-math-no-finite.h".
10927         * math/test-math-inline.h (TEST_FINITE): New macro.
10928         * math/test-math-vector.h (TEST_FINITE): Likewise.
10929         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10930         (libm-tests): Add test-float-finite and test-double-finite.
10931         ($(objpfx)test-float-finite.o): New dependency on
10932         $(objpfx)libm-test.stmp.
10933         ($(objpfx)test-double-finite.o): Likewise.
10934         ($(objpfx)test-ldouble-finite.o): Likewise.
10935         (libm-test-no-inline-cflags): New variable.
10936         (libm-test-finite-cflags): Likewise.
10937         (CFLAGS-test-float-finite.c): Likewise.
10938         (CFLAGS-test-double-finite.c): Likewise.
10939         (CFLAGS-test-ldouble-finite.c): Likewise.
10940         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10941         (CFLAGS-test-double.c): Likewise.
10942         (CFLAGS-test-ldouble.c): Likewise.
10944 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10946         * io/fcntl.c (__fcntl): Add ... to prototype.
10947         * misc/ioctl.c (__ioctl): Likewise.
10948         * misc/syscall.c (syscall): Likewise.
10950 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10952         * scripts/list-fixed-bugs.py: New file.
10954         [BZ #19213]
10955         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10956         returned for argument 1.
10957         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10958         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10959         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10960         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10961         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10962         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10964         [BZ #19211]
10965         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10966         __USE_XOPEN], not if [!__USE_ISOC99].
10967         (lgammaf): Likewise.
10968         (lgammal): Likewise.
10969         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10970         (gammaf): Likewise.
10971         (gammal): Likewise.
10972         * math/test-signgam-finite-c11.c: New file.
10973         * math/test-signgam-finite-c99.c: Likewise.
10974         * math/test-signgam-finite.c: Likewise.
10975         * math/Makefile (tests): Add test-signgam-finite,
10976         test-signgam-finite-c99 and test-signgam-finite-c11.
10977         (CFLAGS-test-signgam-finite.c): New variable.
10978         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10979         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10981         [BZ #19212]
10982         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10983         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10984         500].
10985         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10986         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10987         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10988         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10989         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10990         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10991         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10992         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10993         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10994         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10996         [BZ #19209]
10997         * math/bits/math-finite.h (ldexp): Remove declaration.
10998         (ldexpf): Likewise.
10999         (ldexpl): Likewise.
11001         [BZ #19205]
11002         * math/bits/math-finite.h (acosf): Condition declaration on
11003         [__USE_ISOC99].
11004         (acosl): Likewise.
11005         (acoshf): Likewise.
11006         (acoshl): Likewise.
11007         (asinf): Likewise.
11008         (asinl): Likewise.
11009         (atan2f): Likewise.
11010         (atan2l): Likewise.
11011         (atanhf): Likewise.
11012         (atanhl): Likewise.
11013         (coshf): Likewise.
11014         (coshl): Likewise.
11015         (expf): Likewise.
11016         (expl): Likewise.
11017         (fmodf): Likewise.
11018         (fmodl): Likewise.
11019         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11020         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11021         (j0l): Likewise.
11022         (y0f): Likewise.
11023         (y0l): Likewise.
11024         (j1f): Likewise.
11025         (j1l): Likewise.
11026         (y1f): Likewise.
11027         (y1l): Likewise.
11028         (jnf): Likewise.
11029         (jnl): Likewise.
11030         (ynf): Likewise.
11031         (ynl): Likewise.
11032         (lgammaf_r): Condition declaration on [__USE_ISOC99].
11033         (lgammal_r): Likewise.
11034         (__lgamma_r_finite): New declaration.
11035         (__lgammaf_r_finite): Likewise.
11036         (__lgammal_r_finite): Likewise.
11037         (lgamma): Use __lgamma_r_finite.
11038         (lgammaf): Condition definition on [__USE_ISOC99].  Use
11039         __lgammaf_r_finite.
11040         (lgammal): Condition definition on [__USE_ISOC99].  Use
11041         __lgammal_r_finite.
11042         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
11043         __lgamma_r_finite.
11044         (gammaf): Condition definition on [__USE_ISOC99].  Use
11045         __lgammaf_r_finite.
11046         (gammal): Condition definition on [__USE_ISOC99].  Use
11047         __lgammal_r_finite.
11048         (logf): Condition declaration on [__USE_ISOC99].
11049         (logl): Likewise.
11050         (log10f): Likewise.
11051         (log10l): Likewise.
11052         (ldexpf): Likewise.
11053         (ldexpl): Likewise.
11054         (powf): Likewise.
11055         (powl): Likewise.
11056         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11057         __USE_ISOC99].
11058         (remainderf): Condition declaration on [__USE_ISOC99].
11059         (remainderl): Likewise.
11060         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11061         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11062         (scalbl): Likewise.
11063         (sinhf): Condition declaration on [__USE_ISOC99].
11064         (sinhl): Likewise.
11065         (sqrtf): Likewise.
11066         (sqrtl): Likewise.
11068 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11070         * sysdeps/arm/atomic-machine.h
11071         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11072         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11073         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11074         Remove conditional code.
11075         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11076         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11077         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11078         Change conditional to [__ASSEMBLER__].
11079         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11080         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11081         [!__ASSEMBLER__].
11082         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11083         code.
11084         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11085         conditional macro definitions.
11086         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11087         (__arch_compare_and_exchange_val_16_acq): Likewise.
11088         (__arch_compare_and_exchange_val_32_acq): Likewise.
11089         (atomic_exchange_and_add): Likewise.
11090         (atomic_add): Likewise.
11091         (atomic_add_negative): Likewise.
11092         (atomic_add_zero): Likewise.
11093         (atomic_bit_set): Likewise.
11094         (atomic_bit_test_set): Likewise.
11095         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11096         code unconditional.
11097         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11099         * math/test-math-errno.h: New file.
11100         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11101         empty.
11102         (TEST_ERRNO): New macro.
11103         (TEST_EXCEPTIONS): Likewise.
11104         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11105         (TEST_EXCEPTIONS): Likewise.
11106         * math/test-math-vector.h (TEST_ERRNO): Likewise.
11107         * math/test-double.c: Include "test-math-errno.h".
11108         * math/test-float.c: Likewise.
11109         * math/test-ldouble.c: Likewise.
11110         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11111         code unconditional.
11112         (test_exceptions): Only run code if TEST_EXCEPTIONS.
11113         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11114         unconditional.
11115         (test_errno): Only run code if TEST_ERRNO.
11116         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11118 2015-11-04  Florian Weimer  <fweimer@redhat.com>
11120         * nptl/tst-once5.cc: Remove attribution.
11122 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11124         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11125         sqrt, tan, tanh, y0, y1 and yn.
11126         * math/auto-libm-test-out: Regenerated.
11127         * math/libm-test.inc (scalb_test_data): Add more tests.
11128         (scalbn_test_data): Likewise.
11129         (scalbln_test_data): Likewise.
11130         (signbit_test_data): Likewise.
11131         (sin_test_data): Likewise.
11132         (sincos_test_data): Likewise.
11133         (sinh_test_data): Likewise.
11134         (sqrt_test_data): Likewise.
11135         (tan_test_data): Likewise.
11136         (tanh_test_data): Likewise.
11137         (tgamma_test_data): Likewise.
11138         (y0_test_data): Likewise.
11139         (y1_test_data): Likewise.
11140         (yn_test_data): Likewise.
11141         (significand_test_data): Likewise.
11142         * sysdeps/i386/fpu/libm-test-ulps: Update.
11144 2015-11-03  David Kastrup  <dak@gnu.org>
11146         [BZ #18604]
11147         * assert/assert.h (assert): Don't macro-expand failed assertion
11148         expression in error message.
11149         * malloc/malloc.c (assert): Likewise.
11151 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11153         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11154         test.
11155         * configure: Regenerated.
11157 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11159         * math/libm-test.inc (modf_test_data): Add more tests.
11160         (nearbyint_test_data): Likewise.
11161         (nextafter_test_data): Likewise.
11162         (nexttoward_test_data): Likewise.
11163         (pow_test_data): Likewise.
11164         (remainder_test_data): Likewise.
11165         (remquo_test_data): Likewise.
11166         (rint_test_data): Likewise.
11168         [BZ #19201]
11169         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11170         Check for zero remainder in case of large exponents and ensure
11171         correct sign of result in that case.
11172         * math/libm-test.inc (remainder_test_data): Add more tests.
11174         [BZ #6799]
11175         * math/s_nextafter.c: Include <errno.h>.
11176         (__nextafter): Set errno on overflow and underflow.
11177         * math/s_nexttowardf.c: Include <errno.h>.
11178         (__nexttowardf): Set errno on overflow and underflow.
11179         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11180         (__nextafterl): Set errno on overflow and underflow.
11181         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11182         (__nexttoward): Set errno on overflow and underflow.
11183         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11184         (__nexttowardf): Set errno on overflow and underflow.
11185         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11186         (__nextafterf): Set errno on overflow and underflow.
11187         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11188         (__nextafterl): Set errno on overflow and underflow.
11189         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11190         (__nexttoward): Set errno on overflow and underflow.
11191         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11192         (__nexttowardf): Set errno on overflow and underflow.
11193         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11194         (__nextafterl): Set errno on overflow and underflow.
11195         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11196         (__nexttoward): Set errno on overflow and underflow.
11197         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11198         (__nexttowardf): Set errno on overflow and underflow.
11199         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11200         (__nexttoward): Set errno on overflow and underflow.
11201         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11202         (__nexttowardf): Set errno on overflow and underflow.
11203         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11204         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11205         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11206         (__nextafterl): Set errno on overflow and underflow.
11207         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11208         setting to be missing on overflow.  Add more tests.
11209         (nexttoward_test_data): Likewise.
11211         * configure.ac (libc_cv_initfini_array): Remove configure test.
11212         * configure: Regenerated.
11214 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11216         [BZ #19189]
11217         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11218         non-finite argument handle arguments with negative sign.
11220         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11221         result from infinite argument.
11222         (j1_test_data): Likewise.
11223         (jn_test_data): Likewise.
11224         (y0_test_data): Likewise.
11225         (y1_test_data): Likewise.
11226         (yn_test_data): Likewise.
11228         [BZ #16171]
11229         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11230         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11231         * math/w_remainderf.c (dremf): Define as weak alias of
11232         __remainderf.
11233         * math/w_remainderl.c (dreml): Define as weak alias of
11234         __remainderl.
11235         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11236         __remainder.
11237         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11238         __remainderf.
11239         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11240         __remainderl.
11241         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11242         weak alias of remainderl.
11243         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11244         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11245         alias of __remainder.
11246         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11247         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11248         strong alias of __remainderl.
11249         (dreml): Use long_double_symbol.
11250         * math/Makefile (libm-calls): Remove w_drem.
11251         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11252         (CFLAGS-nldbl-drem.c): Remove variable.
11253         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11254         * math/w_drem.c: Remove file.
11255         * math/w_dremf.c: Likewise.
11256         * math/w_dreml.c: Likewise.
11257         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11258         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11259         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11261         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11262         * sysdeps/i386/configure: Regenerated.
11263         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11264         * sysdeps/x86_64/configure: Regenerated.
11266         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11267         test.
11268         (libc_cv_visibility_attribute): Likewise.
11269         (libc_cv_protected_data): Test unconditionally.
11270         (libc_cv_broken_visibility_attribute): Remove configure test.
11271         (libc_cv_have_sdata_section): Test unconditionally.
11272         * configure: Regenerated.
11274         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11275         * include/scratch_buffer.h: Include <stddef.h> instead of
11276         <libc-internal.h>.
11277         (struct scratch_buffer): Use max_align_t instead of
11278         libc_max_align_t.
11280 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11282         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11283         instead of extend_alloca.  Change control flow to avoid a goto.
11284         Remove assert which is trivially always true.
11286 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11288         [BZ #16068]
11289         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11290         (FE_ALL_EXCEPT_X86): New macro.
11291         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11292         FE_ALL_EXCEPT.  Ensure precision control is included in
11293         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11294         handle "denormal operand exception" and clear FZ and DAZ bits.
11295         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11296         (FE_ALL_EXCEPT_X86): New macro.
11297         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11298         FE_ALL_EXCEPT.  Ensure precision control is included in
11299         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11300         handle "denormal operand exception" and clear FZ and DAZ bits.
11301         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11302         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11303         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11304         test-fenv-x87 and test-fenv-sse-2.
11305         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11307         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11308         * math/test-double.h (BUILD_COMPLEX): New macro.
11309         * math/test-float.h (BUILD_COMPLEX): Likewise.
11310         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11312         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11313         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11314         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11315         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11316         instead of DBL_DENORM_MIN in comment.
11317         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11318         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11319         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11320         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11321         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11322         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11324 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11326         [BZ# 19048]
11327         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11328         attached_threads member.
11329         (main_arena): Initialize attached_threads.
11330         * malloc/arena.c (list_lock): Update comment.
11331         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11332         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11333         (deattach_arena): New function.
11334         (_int_new_arena): Initialize arena reference count and deattach
11335         replaced arena.
11336         (get_free_list, reused_arena): Update reference count and deattach
11337         replaced arena.
11338         (arena_thread_freeres): Update arena reference count and only put
11339         unreferenced arenas on the free list.
11341 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11343         [BZ #19181]
11344         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11345         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11346         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11347         * math/test-fenv-clear-main.c: New file.
11348         * math/test-fenv-clear.c: Likewise.
11349         * math/Makefile (tests): Add test-fenv-clear.
11350         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11351         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11352         test-fenv-clear-sse.
11353         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11355         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11356         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11357         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11359 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11361         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11362         static libc.
11364 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11366         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11367         test.
11368         * sysdeps/i386/configure: Regenerated.
11369         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11370         test.
11371         * sysdeps/x86_64/configure: Regenerated.
11372         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11374         memset-avx2 unconditionally instead of conditionally on
11375         [$(config-cflags-avx2) = yes].
11376         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11377         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11378         unconditional.
11379         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11380         * sysdeps/x86_64/multiarch/memset_chk.S
11381         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11382         to [IS_IN (libc) && SHARED].
11384 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11386         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11387         configure test.
11388         * sysdeps/arm/configure: Regenerated.
11389         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11390         Define variable if not already defined.
11392         [BZ #17404]
11393         * sysdeps/mips/atomic-machine.h
11394         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11395         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11396         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11398         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11399         unconditional.
11400         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11401         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11402         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11403         unconditional.
11404         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11405         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11406         unconditional.
11407         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11408         * stdlib/setenv.c
11409         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11410         code unconditional.
11411         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11412         Remove conditional code.
11413         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11414         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11415         unconditional.
11416         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11417         code.
11418         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11419         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11420         unconditional.
11421         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11422         code.
11423         * sysdeps/ieee754/ldbl-128/k_tanl.c
11424         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11425         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11426         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11427         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11428         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11429         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11430         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11431         unconditional.
11432         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11433         code.
11434         * sysdeps/ieee754/ldbl-96/k_tanl.c
11435         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11436         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11438         * nptl/tst-initializers1-c11.c: New file.
11439         * nptl/tst-initializers1-gnu11.c: Likewise.
11440         * nptl/Makefile (tests): Add these new tests.
11441         (CFLAGS-tst-initializers1-c11.c): New variable.
11442         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11444         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11445         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11446         instead of -std=gnu99.
11447         * configure.ac (systemtap): Test with -std=gnu11 instead of
11448         -std=gnu99.
11449         * configure: Regenerated.
11450         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11451         in compilation command in comment.
11453         * sysdeps/nptl/configure.ac: Remove file.
11454         * sysdeps/nptl/configure: Remove generated file.
11455         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11456         * configure: Regenerated.
11457         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11458         * config.make.in (have-forced-unwind): Remove variable.
11459         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11460         unconditional.
11461         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11462         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11463         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11464         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11465         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11466         unconditional.
11468 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11470         [BZ #19174]
11471         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11472         .skip_lock_out_of_tbegin_retries.
11473         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11474         (__lll_lock_elision): Likewise, and respect a value of
11475         try_tbegin <= 0.
11477 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11479         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11480         statement.
11482 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11484         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11485         variable.
11486         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11487         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11489         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11490         of -std=c1x -D_ISOC11_SOURCE.
11492         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11493         * configure: Regenerated.
11494         * manual/install.texi (Tools for Compilation): Document
11495         requirement for GCC 4.7 or later.
11496         * INSTALL: Regenerated.
11498 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11500         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11501         on CNT to a conditional jump to 'puntdata'.
11503 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11505         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11506         (libc_cv_gcc_tls_model_attr): Likewise.
11507         * configure: Regenerated.
11509         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11510         * configure: Regenerated.
11511         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11513 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11515         * configure.ac (old_glibc_headers): Remove configure test.
11516         * configure: Regenerated.
11517         * config.make.in (old-glibc-headers): Remove variable.
11518         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11519         (install): Remove dependency on remove-old-headers.
11520         (headers2_0): Remove variable.
11521         (remove-old-headers): Remove rule.
11523         * configure.ac (libc_cv_dot_text): Remove configure test.
11524         (libc_cv_asm_set_directive): Use .text instead of
11525         ${libc_cv_dot_text} in configure test.
11526         * configure: Regenerated.
11528 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11530         [BZ #19168]
11531         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11533 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11535         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11536         not support static linking.
11537         * configure: Regenerate.
11539 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11541         * math/libm-test.inc (check_float_internal): Do not special-case
11542         errors up to 0.5 ulp.
11544         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11545         log2.
11546         * math/auto-libm-test-out: Regenerated.
11547         * math/libm-test.inc (MAX_EXP): New macro.
11548         (ilogb_test_data): Add more tests.
11549         (isfinite_test_data): Likewise.
11550         (isgreater_test_data): Likewise.
11551         (isgreaterequal_test_data): Likewise.
11552         (isinf_test_data): Likewise.
11553         (isless_test_data): Likewise.
11554         (islessequal_test_data): Likewise.
11555         (islessgreater_test_data): Likewise.
11556         (isnan_test_data): Likewise.
11557         (isnormal_test_data): Likewise.
11558         (issignaling_test_data): Likewise.
11559         (isunordered_test_data): Likewise.
11560         (j0_test_data): Likewise.
11561         (j1_test_data): Likewise.
11562         (jn_test_data): Likewise.
11563         (lgamma_test_data): Likewise.
11564         (log_test_data): Likewise.
11565         (log10_test_data): Likewise.
11566         (log1p_test_data): Likewise.
11567         (log2_test_data): Likewise.
11568         (logb_test_data): Likewise.
11569         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11571         [BZ #18611]
11572         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11573         avoid excess range and precision on underflow.
11574         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11575         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11576         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11577         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11578         underflow.
11579         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11580         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11581         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11582         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11583         * math/auto-libm-test-in: Do not allow missing errno setting for
11584         tests of j1 and jn.
11585         * math/auto-libm-test-out: Regenerated.
11587 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11589         [BZ #15491]
11590         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11591         floating-point environment instead of clearing all exceptions.
11592         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11593         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11594         merging in "invalid" exceptions from frndint.
11595         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11596         * math/test-nearbyint-except.c: New file.
11597         * math/Makefile (tests): Add test-nearbyint-except.
11599 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11601         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11603         * sysdeps/tile/libm-test-ulps: Regenerated.
11605 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11608         (__NR_sync_file_range2): Assume it is always defined.
11609         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11610         (__NR_sync_file_range): Assume it is always defined.
11612 2015-10-22  Andreas Schwab  <schwab@suse.de>
11614         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11615         INTERNAL_SYSCALL_ERRNO.
11616         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11617         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11618         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11619         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11620         Likewise.
11621         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11623 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11625         * io/tst-fcntl.c (fd): New static variable.
11626         (do_prepare): Open temporary file here....
11627         (do_test): ...not here.
11629         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11631 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11633         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11634         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11635         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11636         Moved before "#ifdef __ASSEMBLER__".
11638 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11640         [BZ #19156]
11641         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11642         arguments very close to 0.
11644 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11646         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11647         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11649 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11651         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11652         New.  Defined for GCC 5 and above when not compiling for
11653         profiling.
11654         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11656         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11657         Renamed to ...
11658         (CFLAGS-epoll_pwait.o): This.
11659         (CFLAGS-mmap.c): Renamed to ...
11660         (CFLAGS-mmap.o): This.
11661         (CFLAGS-mmap64.c): Renamed to ...
11662         (CFLAGS-mmap64.o): This.
11663         (CFLAGS-epoll_pwait.os): New.
11664         (CFLAGS-mmap.os): Likewise.
11665         (CFLAGS-mmap64.os): Likewise.
11666         (CFLAGS-semtimedop.os): Likewise.
11667         (CFLAGS-semtimedop.c): Renamed to ...
11668         (CFLAGS-semtimedop.o): This.
11670 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11672         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11673         warning message.
11675 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11677         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11678         * Makefile ($(objpfx)c++-types-check.out): Filter out
11679         $(+gccwarn-c) instead of -Wstrict-prototypes.
11681         * io/fts.c (fts_open): Convert to prototype-style function
11682         definition.
11683         * malloc/mcheck.c (mcheck): Likewise.
11684         (mcheck_pedantic): Likewise.
11685         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11686         internal_function.
11687         (re_search_internal): Likewise.
11688         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11689         prototype-style function definition.
11690         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11691         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11692         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11693         (xdr_utmpptr): Likewise.
11694         (xdr_utmparr): Likewise.
11695         (xdr_utmpidle): Likewise.
11696         (xdr_utmpidleptr): Likewise.
11697         (xdr_utmpidlearr): Likewise.
11699         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11700         log, log10 and log2.
11701         * math/auto-libm-test-out: Regenerated.
11702         * math/libm-test.inc (fmod_test_data): Add more tests.
11703         (fpclassify_test_data): Likewise.
11704         (frexp_test_data): Likewise.
11705         (hypot_test_data): Likewise.
11706         (ilogb_test_data): Likewise.
11708 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11710         * debug/fortify_fail.c (__fortify_fail): Convert to
11711         prototype-style function definition.  Use internal_function.
11712         * libio/genops.c (save_for_backup): Convert to prototype-style
11713         function definition.
11714         * libio/wgenops.c (save_for_wbackup): Likewise.
11715         * login/grantpt.c (grantpt): Likewise.
11716         * login/ptsname.c (ptsname): Likewise.
11717         (__ptsname_r): Likewise.
11718         * login/unlockpt.c (unlockpt): Likewise.
11719         * mach/msgserver.c (__mach_msg_server): Likewise.
11720         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11721         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11722         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11723         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11724         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11725         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11726         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11727         Likewise.
11728         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11729         internal_function.
11730         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11731         prototype-style function definition.
11732         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11733         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11734         (__pthread_create_2_0): Likewise.
11735         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11736         * nptl/register-atfork.c (__register_atfork): Likewise.
11737         * posix/glob.c (glob): Likewise.
11738         * posix/regcomp.c (re_comp): Likewise.
11739         * posix/regexec.c (re_exec): Likewise.
11740         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11741         [!__STDC__]: Remove conditional code.
11742         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11743         [!__STDC__]: Remove conditional code.
11744         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11745         [!__STDC__]: Remove conditional code.
11746         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11747         [!__STDC__]: Remove conditional code.
11748         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11749         [!__STDC__]: Remove conditional code.
11750         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11751         [!__STDC__]: Remove conditional code.
11752         * stdlib/mul.c [__STDC__]: Make code unconditional.
11753         [!__STDC__]: Remove conditional code.
11754         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11755         [!__STDC__]: Remove conditional code.
11756         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11757         [!__STDC__]: Remove conditional code.
11758         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11759         function definition.
11760         (STRTOF): Likewise.
11761         * stdlib/strtod_l.c (__STRTOF): Likewise.
11762         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11763         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11764         (__strtol_l): Likewise.
11765         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11766         [!__STDC__]: Remove conditional code.
11767         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11768         definition.
11769         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11770         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11771         type.
11772         (__strcasecmp): Convert to prototype-style function definition.
11773         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11774         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11775         type.
11776         (__strncasecmp): Convert to prototype-style function definition.
11777         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11778         * sunrpc/xdr.c (xdr_union): Likewise.
11779         * sunrpc/xdr_array.c (xdr_array): Likewise.
11780         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11781         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11782         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11783         Likewise.
11784         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11785         Likewise.
11786         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11787         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11788         Likewise.
11789         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11790         (LOCALE_PARAM_PROTO): Likewise.
11791         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11792         argument type.
11793         (ut_argument_spec): Remove macro.
11794         (ut_argument_spec_iso): Rename to ut_argument_spec.
11795         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11796         prototype-style function definition.
11797         (memcpy_uppcase): Likewise.
11798         (__strftime_internal): Likewise.
11799         (my_strftime): Likewise.
11800         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11801         (LOCALE_PARAM_DECL): Likewise.
11802         [_LIBC] (LOCALE_PARAM): Include argument type.
11803         (__strptime_internal): Convert to prototype-style function
11804         definition.
11805         (strptime): Likewise.
11806         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11807         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11808         type.
11809         (__wcscasecmp): Convert to prototype-style function definition.
11810         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11811         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11812         type.
11813         (__wcsncasecmp): Convert to prototype-style function definition.
11815         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11816         function definition.
11817         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11818         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11819         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11820         * elf/dl-minimal.c (_itoa): Likewise.
11821         * hurd/hurdmalloc.c (malloc): Likewise.
11822         (free): Likewise.
11823         (realloc): Likewise.
11824         * inet/inet6_option.c (inet6_option_space): Likewise.
11825         (inet6_option_init): Likewise.
11826         (inet6_option_append): Likewise.
11827         (inet6_option_alloc): Likewise.
11828         (inet6_option_next): Likewise.
11829         (inet6_option_find): Likewise.
11830         * io/ftw.c (FTW_NAME): Likewise.
11831         (NFTW_NAME): Likewise.
11832         (NFTW_NEW_NAME): Likewise.
11833         (NFTW_OLD_NAME): Likewise.
11834         * libio/iofwide.c (_IO_fwide): Likewise.
11835         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11836         (_IO_str_init_static): Likewise.
11837         (_IO_str_init_readonly): Likewise.
11838         (_IO_str_overflow): Likewise.
11839         (_IO_str_underflow): Likewise.
11840         (_IO_str_count): Likewise.
11841         (_IO_str_seekoff): Likewise.
11842         (_IO_str_pbackfail): Likewise.
11843         (_IO_str_finish): Likewise.
11844         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11845         (_IO_wstr_overflow): Likewise.
11846         (_IO_wstr_underflow): Likewise.
11847         (_IO_wstr_count): Likewise.
11848         (_IO_wstr_seekoff): Likewise.
11849         (_IO_wstr_pbackfail): Likewise.
11850         (_IO_wstr_finish): Likewise.
11851         * locale/programs/localedef.c (normalize_codeset): Likewise.
11852         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11853         (add_locales_to_archive): Likewise.
11854         (delete_locales_from_archive): Likewise.
11855         * malloc/malloc.c (__libc_mallinfo): Likewise.
11856         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11857         * misc/tsearch.c (__tfind): Likewise.
11858         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11859         * nptl/pthread_attr_getdetachstate.c
11860         (__pthread_attr_getdetachstate): Likewise.
11861         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11862         Likewise.
11863         * nptl/pthread_attr_getinheritsched.c
11864         (__pthread_attr_getinheritsched): Likewise.
11865         * nptl/pthread_attr_getschedparam.c
11866         (__pthread_attr_getschedparam): Likewise.
11867         * nptl/pthread_attr_getschedpolicy.c
11868         (__pthread_attr_getschedpolicy): Likewise.
11869         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11870         Likewise.
11871         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11872         Likewise.
11873         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11874         Likewise.
11875         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11876         Likewise.
11877         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11878         (__pthread_attr_init_2_0): Likewise.
11879         * nptl/pthread_attr_setdetachstate.c
11880         (__pthread_attr_setdetachstate): Likewise.
11881         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11882         Likewise.
11883         * nptl/pthread_attr_setinheritsched.c
11884         (__pthread_attr_setinheritsched): Likewise.
11885         * nptl/pthread_attr_setschedparam.c
11886         (__pthread_attr_setschedparam): Likewise.
11887         * nptl/pthread_attr_setschedpolicy.c
11888         (__pthread_attr_setschedpolicy): Likewise.
11889         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11890         Likewise.
11891         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11892         Likewise.
11893         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11894         Likewise.
11895         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11896         Likewise.
11897         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11898         Likewise.
11899         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11900         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11901         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11902         use internal_function.
11903         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11904         prototype-style function definition.
11905         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11906         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11907         internal_function.
11908         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11909         Convert to prototype-style function definition.
11910         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11911         Likewise.
11912         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11913         Likewise.
11914         (__pthread_mutex_unlock): Likewise.
11915         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11916         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11917         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11918         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11919         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11920         * nss/makedb.c (process_input): Likewise.
11921         * posix/fnmatch.c (__strchrnul): Likewise.
11922         (__wcschrnul): Likewise.
11923         (fnmatch): Likewise.
11924         * posix/fnmatch_loop.c (FCT): Likewise.
11925         * posix/glob.c (globfree): Likewise.
11926         (__glob_pattern_type): Likewise.
11927         (__glob_pattern_p): Likewise.
11928         * posix/regcomp.c (re_compile_pattern): Likewise.
11929         (re_set_syntax): Likewise.
11930         (re_compile_fastmap): Likewise.
11931         (regcomp): Likewise.
11932         (regerror): Likewise.
11933         (regfree): Likewise.
11934         * posix/regexec.c (regexec): Likewise.
11935         (re_match): Likewise.
11936         (re_search): Likewise.
11937         (re_match_2): Likewise.
11938         (re_search_2): Likewise.
11939         (re_search_stub): Likewise.  Use internal_function
11940         (re_copy_regs): Likewise.
11941         (re_set_registers): Convert to prototype-style function
11942         definition.
11943         (prune_impossible_nodes): Likewise.  Use internal_function.
11944         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11945         prototype-style function definition.
11946         (inet_net_pton_ipv4): Likewise.
11947         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11948         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11949         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11950         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11951         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11952         Make variadic.
11953         * time/strptime_l.c (localtime_r): Convert to prototype-style
11954         function definition.
11955         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11956         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11957         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11958         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11960         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11961         definition.
11962         (_ufc_doit_r): Likewise.
11963         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11964         (_ufc_output_conversion_r): Likewise.
11965         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11966         * inet/rcmd.c (rcmd_af): Likewise.
11967         (rcmd): Likewise.
11968         (ruserok_af): Likewise.
11969         (ruserok): Likewise.
11970         (ruserok2_sa): Likewise.
11971         (ruserok_sa): Likewise.
11972         (iruserok_af): Likewise.
11973         (iruserok): Likewise.
11974         (__ivaliduser): Likewise.
11975         (__validuser2_sa): Likewise.
11976         * inet/rexec.c (rexec_af): Likewise.
11977         (rexec): Likewise.
11978         * inet/ruserpass.c (ruserpass): Likewise.
11979         * locale/programs/xmalloc.c (xcalloc): Likewise.
11980         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11981         * math/w_drem.c (__drem): Likewise.
11982         * math/w_dremf.c (__dremf): Likewise.
11983         * math/w_dreml.c (__dreml): Likewise.
11984         * misc/daemon.c (daemon): Likewise.
11985         * resolv/res_debug.c (p_fqnname): Likewise.
11986         * stdlib/div.c (div): Likewise.
11987         * string/memcmp.c (memcmp_bytes): Likewise.
11988         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11989         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11991         * crypt/cert.c (main): Convert to prototype-style function
11992         definition.
11993         * io/pipe.c (__pipe): Likewise.
11994         * io/pipe2.c (__pipe2): Likewise.
11995         * misc/futimesat.c (futimesat): Likewise.
11996         * misc/utimes.c (__utimes): Likewise.
11997         * posix/execve.c (__execve): Likewise.
11998         * posix/execvp.c (execvp): Likewise.
11999         * posix/execvpe.c (__execvpe): Likewise.
12000         * posix/fexecve.c (fexecve): Likewise.
12001         * socket/socketpair.c (socketpair): Likewise.
12002         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12003         * stdlib/erand48.c (erand48): Likewise.
12004         * stdlib/erand48_r.c (__erand48_r): Likewise.
12005         * stdlib/jrand48.c (jrand48): Likewise.
12006         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12007         * stdlib/lcong48.c (lcong48): Likewise.
12008         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12009         * stdlib/nrand48.c (nrand48): Likewise.
12010         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12011         * stdlib/seed48.c (seed48): Likewise.
12012         * stdlib/seed48_r.c (__seed48_r): Likewise.
12013         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12014         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12015         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12017 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12019         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12020         * configure: Regenerated.
12021         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12022         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12023         unconditional.
12024         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12025         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12026         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12027         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12028         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12029         unconditional.
12030         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12032         * posix/Makefile (CFLAGS-regex.c): Remove variable.
12033         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12035         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12036         function definition.
12037         * crypt/crypt_util.c (__encrypt_r): Likewise.
12038         * libio/genops.c (_IO_no_init): Likewise.
12039         * libio/iofopncook.c (_IO_fopencookie): Likewise.
12040         (_IO_old_fopencookie): Likewise.
12041         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12042         * libio/iogetline.c (_IO_getline): Likewise.
12043         (_IO_getline_info): Likewise.
12044         * libio/iogetwline.c (_IO_getwline): Likewise.
12045         (_IO_getwline_info): Likewise.
12046         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12047         * libio/vswprintf.c (_IO_vswprintf): Likewise.
12048         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12049         (find_entry): Likewise.
12050         (iterate_table): Likewise.
12051         (lookup): Likewise.
12052         * login/forkpty.c (forkpty): Likewise.
12053         * misc/hsearch_r.c (__hsearch_r): Likewise.
12054         * misc/select.c (__select): Likewise.
12055         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12056         Likewise.
12057         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12058         Likewise.
12059         * nptl/old_pthread_cond_timedwait.c
12060         (__pthread_cond_timedwait_2_0): Likewise.
12061         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12062         * nptl/pthread_barrierattr_getpshared.c
12063         (pthread_barrierattr_getpshared): Likewise.
12064         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12065         Likewise.
12066         * nptl/pthread_mutex_setprioceiling.c
12067         (pthread_mutex_setprioceiling): Likewise.
12068         * nptl/pthread_mutexattr_getprioceiling.c
12069         (pthread_mutexattr_getprioceiling): Likewise.
12070         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12071         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12072         Likewise.
12073         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12074         Likewise.
12075         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12076         Likewise.
12077         * socket/recvfrom.c (__recvfrom): Likewise.
12078         * socket/sendto.c (__sendto): Likewise.
12079         * socket/setsockopt.c (__setsockopt): Likewise.
12080         * stdio-common/_itoa.c (_itoa): Likewise.
12081         * stdio-common/_itowa.c (_itowa): Likewise.
12082         * stdio-common/reg-printf.c (__register_printf_specifier):
12083         Likewise.
12084         (__register_printf_function): Likewise.
12085         * stdio-common/tempname.c (__path_search): Likewise.
12086         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12087         * stdlib/mul_1.c (mpn_mul_1): Likewise.
12088         * stdlib/random_r.c (__initstate_r): Likewise.
12089         * stdlib/setenv.c (__add_to_environ): Likewise.
12090         * stdlib/submul_1.c (mpn_submul_1): Likewise.
12091         * streams/getpmsg.c (getpmsg): Likewise.
12092         * streams/putmsg.c (putmsg): Likewise.
12093         * streams/putpmsg.c (putpmsg): Likewise.
12094         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12095         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12096         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12097         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12098         * sunrpc/pm_getport.c (pmap_getport): Likewise.
12099         * sunrpc/svc_udp.c (cache_get): Likewise.
12100         * sunrpc/xdr_array.c (xdr_vector): Likewise.
12101         * sysdeps/mach/hurd/getcwd.c
12102         (__canonicalize_directory_name_internal): Likewise.
12103         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12104         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12105         * sysdeps/mach/hurd/select.c (__select): Likewise.
12106         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12107         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12108         * sysdeps/sparc/nptl/pthread_barrier_init.c
12109         (__pthread_barrier_init): Likewise.
12110         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12111         (__pthread_cond_timedwait): Likewise.
12112         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12113         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12114         Likewise.
12115         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12116         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12117         Likewise.
12118         * sysvipc/semtimedop.c (semtimedop): Likewise.
12119         * time/setitimer.c (__setitimer): Likewise.
12120         * time/strftime_l.c (emacs_strftime): Likewise.
12122 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12124         * config.make.in (have-ssp): Delete.
12125         (stack-protector): New variable.
12126         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
12127         cache test for -fstack-protector-strong.  Export stack_protector to
12128         the best ssp flag.
12129         * configure: Regenerated.
12130         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12131         * nscd/Makefile (CFLAGS-nscd): Likewise.
12132         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12134 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
12136         [BZ #19122]
12137         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12138         attribute_hidden.
12140 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12142         [BZ #18743]
12143         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12144         code to...
12145         (ELIDE_LOCK): ...here.
12146         (__get_new_count): New function with part of the code from
12147         __elide_lock that updates the value of adapt_count after a
12148         transaction abort.
12149         (__elided_trylock): Moved this code to...
12150         (ELIDE_TRYLOCK): ...here.
12152 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12154         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12155         * configure: Regenerate.
12156         * INSTALL: Regenerate.
12157         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12158         and tweak grammar.
12160 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12162         * login/programs/pt_chown.c: Include signal.h
12163         (main): Clear any signal mask from the parent process.
12165 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12167         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12168         * configure: Regenerated.
12169         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12170         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12171         $(gnu89-inline-CFLAGS).
12173         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12174         test.
12175         (libc_cv_asm_weakext_directive): Likewise.
12176         * configure: Regenerated.
12177         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12178         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12179         * include/libc-symbols.h
12180         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12181         #error.
12182         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12183         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12185         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12186         prototype-style function definition.
12187         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12188         * sysdeps/i386/ffs.c (__ffs): Likewise.
12189         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12190         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12191         Likewise.
12192         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12193         Likewise.
12194         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12195         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12196         Likewise.
12197         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12198         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12199         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12200         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12201         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12202         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12203         * sysdeps/mach/hurd/access.c (__access): Likewise.
12204         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12205         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12206         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12207         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12208         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12209         (cthread_getspecific): Likewise.
12210         (cthread_setspecific): Likewise.
12211         (__libc_getspecific): Likewise.
12212         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12213         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12214         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12215         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12216         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12217         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12218         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12219         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12220         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12221         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12222         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12223         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12224         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12225         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12226         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12227         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12228         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12229         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12230         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12231         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12232         * sysdeps/mach/hurd/link.c (__link): Likewise.
12233         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12234         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12235         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12236         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12237         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12238         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12239         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12240         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12241         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12242         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12243         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12244         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12245         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12246         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12247         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12248         * sysdeps/mach/hurd/send.c (__send): Likewise.
12249         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12250         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12251         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12252         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12253         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12254         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12255         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12256         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12257         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12258         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12259         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12260         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12261         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12262         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12263         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12264         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12265         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12266         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12267         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12268         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12269         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12270         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12271         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12272         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12273         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12274         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12275         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12276         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12277         * sysdeps/posix/alarm.c (alarm): Likewise.
12278         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12279         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12280         * sysdeps/posix/dup.c (__dup): Likewise.
12281         * sysdeps/posix/dup2.c (__dup2): Likewise.
12282         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12283         (main): Likewise.
12284         * sysdeps/posix/flock.c (__flock): Likewise.
12285         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12286         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12287         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12288         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12289         * sysdeps/posix/isatty.c (__isatty): Likewise.
12290         * sysdeps/posix/killpg.c (killpg): Likewise.
12291         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12292         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12293         * sysdeps/posix/raise.c (raise): Likewise.
12294         * sysdeps/posix/remove.c (remove): Likewise.
12295         * sysdeps/posix/rename.c (rename): Likewise.
12296         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12297         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12298         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12299         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12300         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12301         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12302         * sysdeps/posix/sigset.c (sigset): Likewise.
12303         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12304         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12305         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12306         * sysdeps/posix/time.c (time): Likewise.
12307         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12308         (ttyname): Likewise.
12309         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12310         * sysdeps/posix/utime.c (utime): Likewise.
12311         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12312         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12313         Likewise.
12314         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12315         (pthread_spin_trylock): Likewise.
12316         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12317         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12318         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12319         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12320         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12321         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12322         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12323         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12324         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12325         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12326         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12327         * sysdeps/s390/ffs.c (__ffs): Likewise.
12328         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12329         Likewise.
12330         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12331         Likewise.
12332         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12333         Likewise.
12334         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12335         (pthread_barrier_destroy): Likewise.
12336         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12337         (__pthread_barrier_wait): Likewise.
12338         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12339         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12340         (__pthread_barrier_wait): Likewise.
12341         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12342         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12343         (memcmp_not_common_alignment): Likewise.
12344         (MEMCMP): Likewise.
12345         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12346         (_wordcopy_fwd_dest_aligned): Likewise.
12347         (_wordcopy_bwd_aligned): Likewise.
12348         (_wordcopy_bwd_dest_aligned): Likewise.
12349         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12350         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12351         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12352         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12353         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12354         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12355         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12356         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12357         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12358         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12359         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12360         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12361         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12362         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12363         * sysdeps/unix/stime.c (stime): Likewise.
12364         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12365         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12366         Likewise.  Use internal_function.
12367         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12368         Convert to prototype-style function definition.
12369         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12370         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12371         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12372         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12373         Likewise.  Use internal_function.
12374         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12375         prototype-style function definition
12376         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12377         Likewise.
12378         (__getlogin_r): Likewise.
12379         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12380         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12381         (__pthread_cond_broadcast): Likewise.
12382         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12383         (__pthread_cond_destroy): Likewise.
12384         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12385         (__pthread_cond_init): Likewise.
12386         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12387         (__pthread_cond_signal): Likewise.
12388         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12389         (__pthread_cond_wait): Likewise.
12390         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12391         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12392         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12393         Likewise.
12394         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12395         Likewise.
12396         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12397         Likewise.
12398         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12399         Likewise.
12400         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12402         (__ftruncate64): Likewise.
12403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12404         (truncate64): Likewise.
12405         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12406         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12407         (pthread_getcpuclockid): Likewise.
12408         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12409         Likewise.
12410         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12411         Likewise.
12412         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12413         Likewise.
12414         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12415         Likewise.
12416         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12417         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12418         (__libc_sigaction): Likewise.
12419         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12420         Likewise.
12421         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12422         (__sigprocmask): Likewise.
12423         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12424         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12425         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12426         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12427         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12428         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12429         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12430         Likewise.
12431         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12432         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12433         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12434         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12435         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12436         Likewise.
12437         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12438         (__sigprocmask): Likewise.
12439         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12440         (cfgetispeed): Likewise.
12441         (cfsetospeed): Likewise.
12442         (cfsetispeed): Likewise.
12443         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12444         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12445         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12446         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12447         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12448         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12449         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12450         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12451         Likewise.
12452         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12453         Likewise.
12454         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12455         Likewise.
12456         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12457         Likewise.
12458         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12460 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12462         sunrpc: Rewrite with explicit TLS access using __thread.
12463         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12464         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12465         directly.
12466         (__rpc_thread_variables): Access thread_rpc_vars directly.
12467         Eliminate redundant assignment of the tvp variable.
12469 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12471         malloc: Rewrite with explicit TLS access using __thread.
12472         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12473         (tsd_setspecific, tsd_getspecific): Remove.
12474         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12475         (tsd_setspecific, tsd_getspecific): Likewise.
12476         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12477         (tsd_setspecific, tsd_getspecific): Likewise.
12478         * malloc/arena.c (thread_arena): New TLS variable.
12479         (arena_key): Remove variable.
12480         (arena_get): Use thread_arena.
12481         (arena_lookup): Remove macro.
12482         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12483         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12484         (_int_new_arena, get_free_list, reused_arena)
12485         (arena_thread_freeres): Use thread_arena.
12486         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12487         tsd_getspecific, tsd_setspecific from safety annotations.
12488         (Allocating Cleared Space): Remove arena_lookup from safety
12489         annotations.
12491 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12493         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12494         struct scratch_buffer instead of extend_alloca.
12496 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12498         * sysdeps/unix/sysv/linux/kernel-features.h
12499         (__ASSUME_SOCK_CLOEXEC): Remove.
12500         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12501         (__have_paccept): Remove unused macro.
12502         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12503         * misc/syslog.c (openlog_internal): Remove fallback code for
12504         !__ASSUME_SOCK_CLOEXEC.
12505         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12506         missing SOCK_CLOEXEC.
12507         * nscd/connections.c (have_sock_cloexec): Remove definition.
12508         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12509         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12510         !__ASSUME_SOCK_CLOEXEC.
12511         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12512         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12513         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12514         definition.
12515         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12516         code for !__ASSUME_SOCK_CLOEXEC.
12518 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12520         [BZ #18982]
12521         * manual/stdio.texi (Variable Arguments Output): Add portability
12522         note, explaining that vfprintf clobbers the va_list pointer.
12524 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12526         * math/libm-test.inc (fabs_test_data): Add more tests.
12527         (fdim_test_data): Likewise.
12528         (fma_test_data): Likewise.
12529         (fmax_test_data): Likewise.
12530         (fmin_test_data): Likewise.
12531         (fmod_test_data): Likewise.
12533 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12535         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12536         data.
12538 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12540         * math/libm-test.inc (ceil_test_data): Add more tests and more
12541         expectations for "inexact".
12542         (floor_test_data): Add more tests.
12543         (round_test_data): Likewise.
12544         (trunc_test_data): Likewise.
12546         * crypt/cert.c (good_bye): Convert to prototype-style function
12547         definition.
12548         (get8): Likewise.
12549         (put8): Likewise.
12550         * crypt/crypt-entry.c (crypt): Likewise.
12551         (__fcrypt): Likewise.
12552         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12553         (_ufc_set_bits): Likewise.
12554         (_ufc_clearmem): Likewise.
12555         (__init_des_r): Likewise.
12556         (shuffle_sb): Likewise.
12557         (shuffle_sb): Likewise.
12558         (_ufc_setup_salt_r): Likewise.
12559         (_ufc_mk_keytab_r): Likewise.
12560         (_ufc_dofinalperm_r): Likewise.
12561         (encrypt): Likewise.
12562         (__setkey_r): Likewise.
12563         (setkey): Likewise.
12564         * crypt/md5.c (md5_init_ctx): Likewise.
12565         (md5_read_ctx): Likewise.
12566         (md5_finish_ctx): Likewise.
12567         (md5_stream): Likewise.
12568         (md5_buffer): Likewise.
12569         (md5_process_bytes): Likewise.
12570         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12571         (__sha256_finish_ctx): Likewise.
12572         (__sha256_process_bytes): Likewise.
12573         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12574         (__sha512_finish_ctx): Likewise.
12575         (__sha512_process_bytes): Likewise.
12576         * ctype/isctype.c (__isctype): Likewise.
12577         * debug/backtrace.c (__backtrace): Likewise.
12578         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12579         * debug/fgets_chk.c (__fgets_chk): Likewise.
12580         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12581         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12582         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12583         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12584         * debug/memset_chk.c (__memset_chk): Likewise.
12585         * debug/strcat_chk.c (__strcat_chk): Likewise.
12586         * debug/strncat_chk.c (__strncat_chk): Likewise.
12587         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12588         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12589         * dirent/dirfd.c (dirfd): Likewise.
12590         * dirent/getdents.c (__getdirentries): Likewise.
12591         * dirent/getdents64.c (getdirentries64): Likewise.
12592         * dirent/rewinddir.c (__rewinddir): Likewise.
12593         * dirent/seekdir.c (seekdir): Likewise.
12594         * dirent/telldir.c (telldir): Likewise.
12595         * elf/sln.c (makesymlinks): Likewise.
12596         (makesymlink): Likewise.
12597         * gmon/gmon.c (__moncontrol): Likewise.
12598         (__monstartup): Likewise.
12599         (write_hist): Likewise.
12600         (write_call_graph): Likewise.
12601         (write_bb_counts): Likewise.
12602         * grp/setgroups.c (setgroups): Likewise.
12603         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12604         * inet/inet_net.c (inet_network): Likewise.
12605         * inet/inet_netof.c (inet_netof): Likewise.
12606         * inet/rcmd.c (rresvport_af): Likewise.
12607         (rresvport): Likewise.
12608         * io/access.c (__access): Likewise.
12609         * io/chdir.c (__chdir): Likewise.
12610         * io/chmod.c (__chmod): Likewise.
12611         * io/chown.c (__chown): Likewise.
12612         * io/close.c (__close): Likewise.
12613         * io/creat.c (creat): Likewise.
12614         * io/creat64.c (creat64): Likewise.
12615         * io/dup.c (__dup): Likewise.
12616         * io/dup2.c (__dup2): Likewise.
12617         * io/dup3.c (__dup3): Likewise.
12618         * io/euidaccess.c (__euidaccess): Likewise.
12619         * io/faccessat.c (faccessat): Likewise.
12620         * io/fchmod.c (__fchmod): Likewise.
12621         * io/fchmodat.c (fchmodat): Likewise.
12622         * io/fchown.c (__fchown): Likewise.
12623         * io/fchownat.c (fchownat): Likewise.
12624         * io/fcntl.c (__fcntl): Likewise.
12625         * io/flock.c (__flock): Likewise.
12626         * io/fts.c (fts_load): Likewise.
12627         (fts_close): Likewise.
12628         (fts_read): Likewise.
12629         (fts_set): Likewise.
12630         (fts_children): Likewise.
12631         (fts_build): Likewise.
12632         (fts_stat): Likewise.
12633         (fts_sort): Likewise.
12634         (fts_alloc): Likewise.
12635         (fts_lfree): Likewise.
12636         (fts_palloc): Likewise.
12637         (fts_padjust): Likewise.
12638         (fts_maxarglen): Likewise.
12639         (fts_safe_changedir): Likewise.
12640         * io/getwd.c (getwd): Likewise.
12641         * io/isatty.c (__isatty): Likewise.
12642         * io/lchown.c (__lchown): Likewise.
12643         * io/link.c (__link): Likewise.
12644         * io/linkat.c (linkat): Likewise.
12645         * io/lseek.c (__libc_lseek): Likewise.
12646         * io/mkdir.c (__mkdir): Likewise.
12647         * io/mkdirat.c (mkdirat): Likewise.
12648         * io/mkfifo.c (mkfifo): Likewise.
12649         * io/mkfifoat.c (mkfifoat): Likewise.
12650         * io/open.c (__libc_open): Likewise.
12651         * io/open64.c (__libc_open64): Likewise.
12652         * io/readlink.c (__readlink): Likewise.
12653         * io/readlinkat.c (readlinkat): Likewise.
12654         * io/rmdir.c (__rmdir): Likewise.
12655         * io/symlink.c (__symlink): Likewise.
12656         * io/symlinkat.c (symlinkat): Likewise.
12657         * io/ttyname.c (ttyname): Likewise.
12658         * io/ttyname_r.c (__ttyname_r): Likewise.
12659         * io/umask.c (__umask): Likewise.
12660         * io/unlink.c (__unlink): Likewise.
12661         * io/unlinkat.c (unlinkat): Likewise.
12662         * io/utime.c (utime): Likewise.
12663         * libio/clearerr.c (clearerr): Likewise.
12664         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12665         * libio/feof.c (_IO_feof): Likewise.
12666         * libio/feof_u.c (feof_unlocked): Likewise.
12667         * libio/ferror.c (_IO_ferror): Likewise.
12668         * libio/ferror_u.c (ferror_unlocked): Likewise.
12669         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12670         * libio/fileno.c (__fileno): Likewise.
12671         * libio/fputc.c (fputc): Likewise.
12672         * libio/fputc_u.c (fputc_unlocked): Likewise.
12673         * libio/fputwc.c (fputwc): Likewise.
12674         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12675         * libio/freopen.c (freopen): Likewise.
12676         * libio/freopen64.c (freopen64): Likewise.
12677         * libio/fseek.c (fseek): Likewise.
12678         * libio/fseeko.c (fseeko): Likewise.
12679         * libio/fseeko64.c (fseeko64): Likewise.
12680         * libio/ftello.c (__ftello): Likewise.
12681         * libio/ftello64.c (ftello64): Likewise.
12682         * libio/fwide.c (fwide): Likewise.
12683         * libio/genops.c (_IO_un_link): Likewise.
12684         (_IO_link_in): Likewise.
12685         (_IO_least_marker): Likewise.
12686         (_IO_switch_to_main_get_area): Likewise.
12687         (_IO_switch_to_backup_area): Likewise.
12688         (_IO_switch_to_get_mode): Likewise.
12689         (_IO_free_backup_area): Likewise.
12690         (_IO_switch_to_put_mode): Likewise.
12691         (__overflow): Likewise.
12692         (__underflow): Likewise.
12693         (__uflow): Likewise.
12694         (_IO_setb): Likewise.
12695         (_IO_doallocbuf): Likewise.
12696         (_IO_default_underflow): Likewise.
12697         (_IO_default_uflow): Likewise.
12698         (_IO_default_xsputn): Likewise.
12699         (_IO_sgetn): Likewise.
12700         (_IO_default_xsgetn): Likewise.
12701         (_IO_sync): Likewise.
12702         (_IO_default_setbuf): Likewise.
12703         (_IO_default_seekpos): Likewise.
12704         (_IO_default_doallocate): Likewise.
12705         (_IO_init): Likewise.
12706         (_IO_old_init): Likewise.
12707         (_IO_default_sync): Likewise.
12708         (_IO_default_finish): Likewise.
12709         (_IO_default_seekoff): Likewise.
12710         (_IO_sputbackc): Likewise.
12711         (_IO_sungetc): Likewise.
12712         (_IO_set_column): Likewise.
12713         (_IO_set_column): Likewise.
12714         (_IO_adjust_column): Likewise.
12715         (_IO_get_column): Likewise.
12716         (_IO_init_marker): Likewise.
12717         (_IO_remove_marker): Likewise.
12718         (_IO_marker_difference): Likewise.
12719         (_IO_marker_delta): Likewise.
12720         (_IO_seekmark): Likewise.
12721         (_IO_unsave_markers): Likewise.
12722         (_IO_nobackup_pbackfail): Likewise.
12723         (_IO_default_pbackfail): Likewise.
12724         (_IO_default_seek): Likewise.
12725         (_IO_default_stat): Likewise.
12726         (_IO_default_read): Likewise.
12727         (_IO_default_write): Likewise.
12728         (_IO_default_showmanyc): Likewise.
12729         (_IO_default_imbue): Likewise.
12730         (_IO_iter_next): Likewise.
12731         (_IO_iter_file): Likewise.
12732         * libio/getc.c (_IO_getc): Likewise.
12733         * libio/getwc.c (_IO_getwc): Likewise.
12734         * libio/iofclose.c (_IO_new_fclose): Likewise.
12735         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12736         * libio/iofflush.c (_IO_fflush): Likewise.
12737         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12738         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12739         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12740         * libio/iofgets.c (_IO_fgets): Likewise.
12741         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12742         * libio/iofgetws.c (fgetws): Likewise.
12743         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12744         * libio/iofopen64.c (_IO_fopen64): Likewise.
12745         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12746         (_IO_cookie_write): Likewise.
12747         (_IO_cookie_seek): Likewise.
12748         (_IO_cookie_close): Likewise.
12749         (_IO_cookie_seekoff): Likewise.
12750         (_IO_old_cookie_seek): Likewise.
12751         * libio/iofputs.c (_IO_fputs): Likewise.
12752         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12753         * libio/iofputws.c (fputws): Likewise.
12754         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12755         * libio/iofread.c (_IO_fread): Likewise.
12756         * libio/iofread_u.c (__fread_unlocked): Likewise.
12757         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12758         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12759         * libio/ioftell.c (_IO_ftell): Likewise.
12760         * libio/iofwrite.c (_IO_fwrite): Likewise.
12761         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12762         * libio/iogets.c (_IO_gets): Likewise.
12763         * libio/iopadn.c (_IO_padn): Likewise.
12764         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12765         (_IO_new_popen): Likewise.
12766         (_IO_new_proc_close): Likewise.
12767         * libio/ioputs.c (_IO_puts): Likewise.
12768         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12769         (_IO_seekoff): Likewise.
12770         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12771         (_IO_seekpos): Likewise.
12772         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12773         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12774         * libio/ioungetc.c (_IO_ungetc): Likewise.
12775         * libio/ioungetwc.c (ungetwc): Likewise.
12776         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12777         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12778         * libio/iowpadn.c (_IO_wpadn): Likewise.
12779         * libio/libc_fatal.c (__libc_fatal): Likewise.
12780         * libio/memstream.c (__open_memstream): Likewise.
12781         (_IO_mem_sync): Likewise.
12782         (_IO_mem_finish): Likewise.
12783         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12784         (_IO_old_file_close_it): Likewise.
12785         (_IO_old_file_finish): Likewise.
12786         (_IO_old_file_fopen): Likewise.
12787         (_IO_old_file_attach): Likewise.
12788         (_IO_old_file_setbuf): Likewise.
12789         (_IO_old_do_write): Likewise.
12790         (old_do_write): Likewise.
12791         (_IO_old_file_underflow): Likewise.
12792         (_IO_old_file_overflow): Likewise.
12793         (_IO_old_file_sync): Likewise.
12794         (_IO_old_file_seekoff): Likewise.
12795         (_IO_old_file_write): Likewise.
12796         (_IO_old_file_xsputn): Likewise.
12797         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12798         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12799         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12800         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12801         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12802         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12803         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12804         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12805         (_IO_old_popen): Likewise.
12806         (_IO_old_proc_close): Likewise.
12807         * libio/oldpclose.c (__old_pclose): Likewise.
12808         * libio/pclose.c (__new_pclose): Likewise.
12809         * libio/peekc.c (_IO_peekc_locked): Likewise.
12810         * libio/putc.c (_IO_putc): Likewise.
12811         * libio/putc_u.c (putc_unlocked): Likewise.
12812         * libio/putchar.c (putchar): Likewise.
12813         * libio/putchar_u.c (putchar_unlocked): Likewise.
12814         * libio/putwc.c (putwc): Likewise.
12815         * libio/putwc_u.c (putwc_unlocked): Likewise.
12816         * libio/putwchar.c (putwchar): Likewise.
12817         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12818         * libio/rewind.c (rewind): Likewise.
12819         * libio/setbuf.c (setbuf): Likewise.
12820         * libio/setlinebuf.c (setlinebuf): Likewise.
12821         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12822         * libio/vscanf.c (_IO_vscanf): Likewise.
12823         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12824         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12825         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12826         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12827         (_IO_switch_to_main_wget_area): Likewise.
12828         (_IO_switch_to_wbackup_area): Likewise.
12829         (_IO_wsetb): Likewise.
12830         (_IO_wdefault_pbackfail): Likewise.
12831         (_IO_wdefault_finish): Likewise.
12832         (_IO_wdefault_uflow): Likewise.
12833         (__woverflow): Likewise.
12834         (__wuflow): Likewise.
12835         (__wunderflow): Likewise.
12836         (_IO_wdefault_xsputn): Likewise.
12837         (_IO_wdefault_xsgetn): Likewise.
12838         (_IO_wdoallocbuf): Likewise.
12839         (_IO_wdefault_doallocate): Likewise.
12840         (_IO_switch_to_wget_mode): Likewise.
12841         (_IO_free_wbackup_area): Likewise.
12842         (_IO_switch_to_wput_mode): Likewise.
12843         (_IO_sputbackwc): Likewise.
12844         (_IO_sungetwc): Likewise.
12845         (_IO_adjust_wcolumn): Likewise.
12846         (_IO_init_wmarker): Likewise.
12847         (_IO_wmarker_delta): Likewise.
12848         (_IO_seekwmark): Likewise.
12849         (_IO_unsave_wmarkers): Likewise.
12850         * libio/wmemstream.c (open_wmemstream): Likewise.
12851         (_IO_wmem_sync): Likewise.
12852         (_IO_wmem_finish): Likewise.
12853         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12854         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12855         * locale/programs/simple-hash.c (init_hash): Likewise.
12856         (delete_hash): Likewise.
12857         (insert_entry): Likewise.
12858         (set_entry): Likewise.
12859         (next_prime): Likewise.
12860         (is_prime): Likewise.
12861         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12862         (xmalloc): Likewise.
12863         (xrealloc): Likewise.
12864         * locale/programs/xstrdup.c (xstrdup): Likewise.
12865         * localedata/collate-test.c (xstrcoll): Likewise.
12866         * localedata/xfrm-test.c (xstrcmp): Likewise.
12867         * login/getlogin_r.c (__getlogin_r): Likewise.
12868         * login/getpt.c (__posix_openpt): Likewise.
12869         * login/login_tty.c (login_tty): Likewise.
12870         * login/setlogin.c (setlogin): Likewise.
12871         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12872         (mach_msg_destroy_port): Likewise.
12873         (mach_msg_destroy_memory): Likewise.
12874         * malloc/mcheck.c (flood): Likewise.
12875         * misc/acct.c (acct): Likewise.
12876         * misc/brk.c (__brk): Likewise.
12877         * misc/chflags.c (chflags): Likewise.
12878         * misc/chroot.c (chroot): Likewise.
12879         * misc/fchflags.c (fchflags): Likewise.
12880         * misc/fstab.c (getfsspec): Likewise.
12881         (getfsfile): Likewise.
12882         * misc/fsync.c (fsync): Likewise.
12883         * misc/ftruncate.c (__ftruncate): Likewise.
12884         * misc/ftruncate64.c (__ftruncate64): Likewise.
12885         * misc/getdomain.c (getdomainname): Likewise.
12886         (getdomainname): Likewise.
12887         * misc/gethostname.c (__gethostname): Likewise.
12888         * misc/getpass.c (getpass): Likewise.
12889         * misc/getttyent.c (skip): Likewise.
12890         (value): Likewise.
12891         * misc/gtty.c (gtty): Likewise.
12892         * misc/hsearch.c (hsearch): Likewise.
12893         (hcreate): Likewise.
12894         * misc/hsearch_r.c (__hcreate_r): Likewise.
12895         (__hdestroy_r): Likewise.
12896         * misc/ioctl.c (__ioctl): Likewise.
12897         * misc/mkdtemp.c (mkdtemp): Likewise.
12898         * misc/mkostemp.c (mkostemp): Likewise.
12899         * misc/mkostemp64.c (mkostemp64): Likewise.
12900         * misc/mkostemps.c (mkostemps): Likewise.
12901         * misc/mkostemps64.c (mkostemps64): Likewise.
12902         * misc/mkstemp.c (mkstemp): Likewise.
12903         * misc/mkstemp64.c (mkstemp64): Likewise.
12904         * misc/mkstemps.c (mkstemps): Likewise.
12905         * misc/mkstemps64.c (mkstemps64): Likewise.
12906         * misc/mktemp.c (__mktemp): Likewise.
12907         * misc/preadv.c (preadv): Likewise.
12908         * misc/preadv64.c (preadv64): Likewise.
12909         * misc/pwritev.c (pwritev): Likewise.
12910         * misc/pwritev64.c (pwritev64): Likewise.
12911         * misc/readv.c (__readv): Likewise.
12912         * misc/revoke.c (revoke): Likewise.
12913         * misc/setdomain.c (setdomainname): Likewise.
12914         * misc/setegid.c (setegid): Likewise.
12915         * misc/seteuid.c (seteuid): Likewise.
12916         * misc/sethostid.c (sethostid): Likewise.
12917         * misc/sethostname.c (sethostname): Likewise.
12918         * misc/setregid.c (__setregid): Likewise.
12919         * misc/setreuid.c (__setreuid): Likewise.
12920         * misc/sstk.c (sstk): Likewise.
12921         * misc/stty.c (stty): Likewise.
12922         * misc/syscall.c (syscall): Likewise.
12923         * misc/syslog.c (setlogmask): Likewise.
12924         * misc/truncate.c (__truncate): Likewise.
12925         * misc/truncate64.c (truncate64): Likewise.
12926         * misc/ualarm.c (ualarm): Likewise.
12927         * misc/usleep.c (usleep): Likewise.
12928         * misc/ustat.c (ustat): Likewise.
12929         * misc/writev.c (__writev): Likewise.
12930         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12931         * nptl/old_pthread_cond_broadcast.c
12932         (__pthread_cond_broadcast_2_0): Likewise.
12933         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12934         Likewise.
12935         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12936         Likewise.
12937         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12938         Likewise.
12939         * nptl/pt-raise.c (raise): Likewise.
12940         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12941         Likewise.
12942         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12943         * nptl/pthread_barrierattr_destroy.c
12944         (pthread_barrierattr_destroy): Likewise.
12945         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12946         Likewise.
12947         * nptl/pthread_barrierattr_setpshared.c
12948         (pthread_barrierattr_setpshared): Likewise.
12949         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12950         Likewise.
12951         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12952         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12953         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12954         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12955         Likewise.
12956         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12957         Likewise.
12958         * nptl/pthread_condattr_getpshared.c
12959         (pthread_condattr_getpshared): Likewise.
12960         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12961         Likewise.
12962         * nptl/pthread_condattr_setpshared.c
12963         (pthread_condattr_setpshared): Likewise.
12964         * nptl/pthread_detach.c (pthread_detach): Likewise.
12965         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12966         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12967         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12968         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12969         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12970         Likewise.
12971         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12972         Likewise.
12973         * nptl/pthread_mutex_getprioceiling.c
12974         (pthread_mutex_getprioceiling): Likewise.
12975         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12976         Likewise.
12977         * nptl/pthread_mutexattr_getprotocol.c
12978         (pthread_mutexattr_getprotocol): Likewise.
12979         * nptl/pthread_mutexattr_getpshared.c
12980         (pthread_mutexattr_getpshared): Likewise.
12981         * nptl/pthread_mutexattr_getrobust.c
12982         (pthread_mutexattr_getrobust): Likewise.
12983         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12984         Likewise.
12985         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12986         Likewise.
12987         * nptl/pthread_mutexattr_setprioceiling.c
12988         (pthread_mutexattr_setprioceiling): Likewise.
12989         * nptl/pthread_mutexattr_setprotocol.c
12990         (pthread_mutexattr_setprotocol): Likewise.
12991         * nptl/pthread_mutexattr_setpshared.c
12992         (pthread_mutexattr_setpshared): Likewise.
12993         * nptl/pthread_mutexattr_setrobust.c
12994         (pthread_mutexattr_setrobust): Likewise.
12995         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12996         Likewise.
12997         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12998         Likewise.
12999         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13000         Likewise.
13001         * nptl/pthread_rwlockattr_getkind_np.c
13002         (pthread_rwlockattr_getkind_np): Likewise.
13003         * nptl/pthread_rwlockattr_getpshared.c
13004         (pthread_rwlockattr_getpshared): Likewise.
13005         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13006         Likewise.
13007         * nptl/pthread_rwlockattr_setkind_np.c
13008         (pthread_rwlockattr_setkind_np): Likewise.
13009         * nptl/pthread_rwlockattr_setpshared.c
13010         (pthread_rwlockattr_setpshared): Likewise.
13011         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13012         Likewise.
13013         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13014         Likewise.
13015         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13016         Likewise.
13017         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13018         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13019         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13020         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13021         * nptl/sem_close.c (sem_close): Likewise.
13022         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13023         * nptl/sem_init.c (__old_sem_init): Likewise.
13024         * nptl/sigaction.c (__sigaction): Likewise.
13025         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13026         * posix/_exit.c (_exit): Likewise.
13027         * posix/alarm.c (alarm): Likewise.
13028         * posix/confstr.c (confstr): Likewise.
13029         * posix/fpathconf.c (__fpathconf): Likewise.
13030         * posix/getgroups.c (__getgroups): Likewise.
13031         * posix/getpgid.c (__getpgid): Likewise.
13032         * posix/group_member.c (__group_member): Likewise.
13033         * posix/pathconf.c (__pathconf): Likewise.
13034         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13035         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13036         * posix/setgid.c (__setgid): Likewise.
13037         * posix/setpgid.c (__setpgid): Likewise.
13038         * posix/setuid.c (__setuid): Likewise.
13039         * posix/sleep.c (__sleep): Likewise.
13040         * posix/sysconf.c (__sysconf): Likewise.
13041         * posix/times.c (__times): Likewise.
13042         * posix/uname.c (__uname): Likewise.
13043         * posix/waitid.c (__waitid): Likewise.
13044         * pwd/getpw.c (__getpw): Likewise.
13045         * resolv/base64.c (b64_pton): Likewise.
13046         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13047         * resolv/gethnamaddr.c (Dprintf): Likewise.
13048         (gethostbyname): Likewise.
13049         (gethostbyname2): Likewise.
13050         (gethostbyaddr): Likewise.
13051         (_sethtent): Likewise.
13052         (_gethtbyname): Likewise.
13053         (_gethtbyname2): Likewise.
13054         (_gethtbyaddr): Likewise.
13055         (map_v4v6_address): Likewise.
13056         (map_v4v6_hostent): Likewise.
13057         (addrsort): Likewise.
13058         (ht_sethostent): Likewise.
13059         (ht_gethostbyname): Likewise.
13060         (ht_gethostbyaddr): Likewise.
13061         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13062         (inet_net_ntop_ipv4): Likewise.
13063         * resolv/inet_neta.c (inet_neta): Likewise.
13064         * resolv/inet_ntop.c (inet_ntop): Likewise.
13065         (inet_ntop4): Likewise.
13066         (inet_ntop6): Likewise.
13067         * resolv/inet_pton.c (__inet_pton): Likewise.
13068         (inet_pton4): Likewise.
13069         (inet_pton6): Likewise.
13070         * resolv/res_debug.c (loc_aton): Likewise.
13071         (loc_ntoa): Likewise.
13072         * resource/getpriority.c (__getpriority): Likewise.
13073         * resource/getrusage.c (__getrusage): Likewise.
13074         * resource/nice.c (nice): Likewise.
13075         * resource/setpriority.c (__setpriority): Likewise.
13076         * resource/setrlimit64.c (setrlimit64): Likewise.
13077         * resource/vlimit.c (vlimit): Likewise.
13078         * resource/vtimes.c (vtimes): Likewise.
13079         * rt/aio_error.c (aio_error): Likewise.
13080         * rt/aio_return.c (aio_return): Likewise.
13081         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13082         * signal/kill.c (__kill): Likewise.
13083         * signal/killpg.c (killpg): Likewise.
13084         * signal/raise.c (raise): Likewise.
13085         * signal/sigaction.c (__sigaction): Likewise.
13086         * signal/sigaddset.c (sigaddset): Likewise.
13087         * signal/sigaltstack.c (sigaltstack): Likewise.
13088         * signal/sigandset.c (sigandset): Likewise.
13089         * signal/sigblock.c (__sigblock): Likewise.
13090         * signal/sigdelset.c (sigdelset): Likewise.
13091         * signal/sigempty.c (sigemptyset): Likewise.
13092         * signal/sigfillset.c (sigfillset): Likewise.
13093         * signal/sighold.c (sighold): Likewise.
13094         * signal/sigignore.c (sigignore): Likewise.
13095         * signal/sigintr.c (siginterrupt): Likewise.
13096         * signal/sigisempty.c (sigisemptyset): Likewise.
13097         * signal/sigismem.c (sigismember): Likewise.
13098         * signal/signal.c (signal): Likewise.
13099         * signal/sigorset.c (sigorset): Likewise.
13100         * signal/sigpause.c (__sigpause): Likewise.
13101         * signal/sigpending.c (sigpending): Likewise.
13102         * signal/sigprocmask.c (__sigprocmask): Likewise.
13103         * signal/sigrelse.c (sigrelse): Likewise.
13104         * signal/sigreturn.c (__sigreturn): Likewise.
13105         * signal/sigset.c (sigset): Likewise.
13106         * signal/sigsetmask.c (__sigsetmask): Likewise.
13107         * signal/sigstack.c (sigstack): Likewise.
13108         * signal/sigsuspend.c (__sigsuspend): Likewise.
13109         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13110         * signal/sysv_signal.c (__sysv_signal): Likewise.
13111         * socket/accept.c (accept): Likewise.
13112         * socket/accept4.c (__libc_accept4): Likewise.
13113         * socket/bind.c (__bind): Likewise.
13114         * socket/connect.c (__connect): Likewise.
13115         * socket/getpeername.c (getpeername): Likewise.
13116         * socket/getsockname.c (__getsockname): Likewise.
13117         * socket/getsockopt.c (getsockopt): Likewise.
13118         * socket/listen.c (__listen): Likewise.
13119         * socket/recv.c (__recv): Likewise.
13120         * socket/recvmsg.c (__recvmsg): Likewise.
13121         * socket/send.c (__send): Likewise.
13122         * socket/sendmsg.c (__sendmsg): Likewise.
13123         * socket/shutdown.c (shutdown): Likewise.
13124         * socket/sockatmark.c (sockatmark): Likewise.
13125         * socket/socket.c (__socket): Likewise.
13126         * stdio-common/ctermid.c (ctermid): Likewise.
13127         * stdio-common/cuserid.c (cuserid): Likewise.
13128         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13129         * stdio-common/remove.c (remove): Likewise.
13130         * stdio-common/rename.c (rename): Likewise.
13131         * stdio-common/renameat.c (renameat): Likewise.
13132         * stdio-common/tempname.c (__gen_tempname): Likewise.
13133         * stdio-common/xbug.c (InitBuffer): Likewise.
13134         (AppendToBuffer): Likewise.
13135         (ReadFile): Likewise.
13136         * stdlib/a64l.c (a64l): Likewise.
13137         * stdlib/drand48_r.c (drand48_r): Likewise.
13138         * stdlib/getcontext.c (getcontext): Likewise.
13139         * stdlib/getenv.c (getenv): Likewise.
13140         * stdlib/l64a.c (l64a): Likewise.
13141         * stdlib/llabs.c (llabs): Likewise.
13142         * stdlib/lldiv.c (lldiv): Likewise.
13143         * stdlib/lrand48_r.c (lrand48_r): Likewise.
13144         * stdlib/mrand48_r.c (mrand48_r): Likewise.
13145         * stdlib/putenv.c (putenv): Likewise.
13146         * stdlib/random.c (__srandom): Likewise.
13147         (__initstate): Likewise.
13148         (__setstate): Likewise.
13149         * stdlib/random_r.c (__srandom_r): Likewise.
13150         (__setstate_r): Likewise.
13151         (__random_r): Likewise.
13152         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13153         * stdlib/setcontext.c (setcontext): Likewise.
13154         * stdlib/setenv.c (setenv): Likewise.
13155         (unsetenv): Likewise.
13156         * stdlib/srand48.c (srand48): Likewise.
13157         * stdlib/srand48_r.c (__srand48_r): Likewise.
13158         * stdlib/swapcontext.c (swapcontext): Likewise.
13159         * stdlib/system.c (__libc_system): Likewise.
13160         * stdlib/tst-strtod.c (expand): Likewise.
13161         * stdlib/tst-strtol.c (expand): Likewise.
13162         * stdlib/tst-strtoll.c (expand): Likewise.
13163         * streams/fattach.c (fattach): Likewise.
13164         * streams/fdetach.c (fdetach): Likewise.
13165         * streams/getmsg.c (getmsg): Likewise.
13166         * streams/isastream.c (isastream): Likewise.
13167         * string/ffs.c (__ffs): Likewise.
13168         * string/ffsll.c (ffsll): Likewise.
13169         * string/memcmp.c (memcmp_common_alignment): Likewise.
13170         (memcmp_not_common_alignment): Likewise.
13171         (MEMCMP): Likewise.
13172         * string/memcpy.c (memcpy): Likewise.
13173         * string/memmove.c (MEMMOVE): Likewise.
13174         * string/memset.c (memset): Likewise.
13175         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13176         * string/strchrnul.c (STRCHRNUL): Likewise.
13177         * string/strerror.c (strerror): Likewise.
13178         * string/strndup.c (__strndup): Likewise.
13179         * string/strverscmp.c (__strverscmp): Likewise.
13180         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13181         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13182         (clnttcp_freeres): Likewise.
13183         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13184         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13185         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13186         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13187         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13188         (xdr_callhdr): Likewise.
13189         * sunrpc/rpcinfo.c (udpping): Likewise.
13190         (tcpping): Likewise.
13191         (pstatus): Likewise.
13192         (pmapdump): Likewise.
13193         (brdcst): Likewise.
13194         (deletereg): Likewise.
13195         (getprognum): Likewise.
13196         (getvers): Likewise.
13197         (get_inet_address): Likewise.
13198         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13199         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13200         (svcudp_stat): Likewise.
13201         (svcudp_recv): Likewise.
13202         (svcudp_reply): Likewise.
13203         (svcudp_getargs): Likewise.
13204         (svcudp_freeargs): Likewise.
13205         (svcudp_destroy): Likewise.
13206         * sunrpc/xdr.c (xdr_bytes): Likewise.
13207         (xdr_netobj): Likewise.
13208         (xdr_string): Likewise.
13209         (xdr_wrapstring): Likewise.
13210         * sunrpc/xdr_float.c (xdr_float): Likewise.
13211         (xdr_double): Likewise.
13212         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13213         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13214         * sysvipc/ftok.c (ftok): Likewise.
13215         * sysvipc/msgctl.c (msgctl): Likewise.
13216         * sysvipc/msgget.c (msgget): Likewise.
13217         * sysvipc/msgrcv.c (msgrcv): Likewise.
13218         * sysvipc/msgsnd.c (msgsnd): Likewise.
13219         * sysvipc/semget.c (semget): Likewise.
13220         * sysvipc/semop.c (semop): Likewise.
13221         * sysvipc/shmat.c (shmat): Likewise.
13222         * sysvipc/shmctl.c (shmctl): Likewise.
13223         * sysvipc/shmdt.c (shmdt): Likewise.
13224         * sysvipc/shmget.c (shmget): Likewise.
13225         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13226         * termios/speed.c (cfgetospeed): Likewise.
13227         (cfgetispeed): Likewise.
13228         (cfsetospeed): Likewise.
13229         (cfsetispeed): Likewise.
13230         * termios/tcflow.c (tcflow): Likewise.
13231         * termios/tcflush.c (tcflush): Likewise.
13232         * termios/tcgetattr.c (__tcgetattr): Likewise.
13233         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13234         * termios/tcgetsid.c (tcgetsid): Likewise.
13235         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13236         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13237         * time/adjtime.c (__adjtime): Likewise.
13238         * time/dysize.c (dysize): Likewise.
13239         * time/ftime.c (ftime): Likewise.
13240         * time/getitimer.c (__getitimer): Likewise.
13241         * time/gettimeofday.c (__gettimeofday): Likewise.
13242         * time/gmtime.c (__gmtime_r): Likewise.
13243         (gmtime): Likewise.
13244         * time/localtime.c (__localtime_r): Likewise.
13245         (localtime): Likewise.
13246         * time/offtime.c (__offtime): Likewise.
13247         * time/settimeofday.c (__settimeofday): Likewise.
13248         * time/stime.c (stime): Likewise.
13249         * time/strftime_l.c (tm_diff): Likewise.
13250         (iso_week_days): Likewise.
13251         * time/strptime.c (strptime): Likewise.
13252         * time/time.c (time): Likewise.
13253         * time/timespec_get.c (timespec_get): Likewise.
13254         * time/tzset.c (tzset_internal): Likewise.
13255         (compute_change): Likewise.
13256         (__tz_compute): Likewise.
13257         * wcsmbs/btowc.c (__btowc): Likewise.
13258         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13259         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13260         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13261         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13262         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13263         * wcsmbs/wcscat.c (__wcscat): Likewise.
13264         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13265         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13266         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13267         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13268         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13269         * wcsmbs/wcslen.c (__wcslen): Likewise.
13270         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13271         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13272         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13273         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13274         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13275         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13276         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13277         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13278         * wcsmbs/wcstok.c (wcstok): Likewise.
13279         * wcsmbs/wctob.c (wctob): Likewise.
13280         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13281         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13282         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13283         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13284         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13285         * wcsmbs/wmemset.c (__wmemset): Likewise.
13286         * wctype/wcfuncs.c (__towlower): Likewise.
13287         (__towupper): Likewise.
13289         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13290         (lll_unlock_elision): Add adapt_count parameter.
13292 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13294         * sysdeps/nptl/configure.ac: Do not give errors based on the
13295         results of top-level configure tests.
13296         * sysdeps/nptl/configure: Regenerated.
13298         * configure.ac (libc_cv_Bgroup): Remove configure test.
13299         * configure: Regenerated.
13300         * config.make.in (have-Bgroup): Remove variable.
13302         * configure.ac (sizeof_long_double): Remove configure test.
13303         * configure: Regenerated.
13304         * config.make.in (sizeof-long-double): Remove variable.
13306         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13307         * configure: Regenerated.
13308         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13309         variable.
13310         (exceptions): Likewise.
13311         * sysdeps/arm/configure: Regenerated.
13312         * config.make.in (exceptions): Remove variable.
13313         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13314         $(exceptions).
13315         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13316         (CFLAGS-vdprintf_chk.c): Likewise.
13317         (CFLAGS-printf_chk.c): Likewise.
13318         (CFLAGS-fprintf_chk.c): Likewise.
13319         (CFLAGS-vprintf_chk.c): Likewise.
13320         (CFLAGS-vfprintf_chk.c): Likewise.
13321         (CFLAGS-gets_chk.c): Likewise.
13322         (CFLAGS-fgets_chk.c): Likewise.
13323         (CFLAGS-fgets_u_chk.c): Likewise.
13324         (CFLAGS-fread_chk.c): Likewise.
13325         (CFLAGS-fread_u_chk.c): Likewise.
13326         (CFLAGS-wprintf_chk.c): Likewise.
13327         (CFLAGS-fwprintf_chk.c): Likewise.
13328         (CFLAGS-vwprintf_chk.c): Likewise.
13329         (CFLAGS-vfwprintf_chk.c): Likewise.
13330         (CFLAGS-fgetws_chk.c): Likewise.
13331         (CFLAGS-fgetws_u_chk.c): Likewise.
13332         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13333         (CFLAGS-fputc.c): Likewise.
13334         (CFLAGS-fputwc.c): Likewise.
13335         (CFLAGS-freopen64.c): Likewise.
13336         (CFLAGS-freopen.c): Likewise.
13337         (CFLAGS-fseek.c): Likewise.
13338         (CFLAGS-fseeko64.c): Likewise.
13339         (CFLAGS-fseeko.c): Likewise.
13340         (CFLAGS-ftello64.c): Likewise.
13341         (CFLAGS-ftello.c): Likewise.
13342         (CFLAGS-fwide.c): Likewise.
13343         (CFLAGS-genops.c): Likewise.
13344         (CFLAGS-getc.c): Likewise.
13345         (CFLAGS-getchar.c): Likewise.
13346         (CFLAGS-getwc.c): Likewise.
13347         (CFLAGS-getwchar.c): Likewise.
13348         (CFLAGS-iofclose.c): Likewise.
13349         (CFLAGS-iofflush.c): Likewise.
13350         (CFLAGS-iofgetpos64.c): Likewise.
13351         (CFLAGS-iofgetpos.c): Likewise.
13352         (CFLAGS-iofgets.c): Likewise.
13353         (CFLAGS-iofgetws.c): Likewise.
13354         (CFLAGS-iofputs.c): Likewise.
13355         (CFLAGS-iofputws.c): Likewise.
13356         (CFLAGS-iofread.c): Likewise.
13357         (CFLAGS-iofsetpos64.c): Likewise.
13358         (CFLAGS-iofsetpos.c): Likewise.
13359         (CFLAGS-ioftell.c): Likewise.
13360         (CFLAGS-iofwrite.c): Likewise.
13361         (CFLAGS-iogetdelim.c): Likewise.
13362         (CFLAGS-iogetline.c): Likewise.
13363         (CFLAGS-iogets.c): Likewise.
13364         (CFLAGS-iogetwline.c): Likewise.
13365         (CFLAGS-ioputs.c): Likewise.
13366         (CFLAGS-ioseekoff.c): Likewise.
13367         (CFLAGS-ioseekpos.c): Likewise.
13368         (CFLAGS-iosetbuffer.c): Likewise.
13369         (CFLAGS-iosetvbuf.c): Likewise.
13370         (CFLAGS-ioungetc.c): Likewise.
13371         (CFLAGS-ioungetwc.c): Likewise.
13372         (CFLAGS-oldfileops.c): Likewise.
13373         (CFLAGS-oldiofclose.c): Likewise.
13374         (CFLAGS-oldiofgetpos64.c): Likewise.
13375         (CFLAGS-oldiofgetpos.c): Likewise.
13376         (CFLAGS-oldiofsetpos64.c): Likewise.
13377         (CFLAGS-oldiofsetpos.c): Likewise.
13378         (CFLAGS-peekc.c): Likewise.
13379         (CFLAGS-putc.c): Likewise.
13380         (CFLAGS-putchar.c): Likewise.
13381         (CFLAGS-putwc.c): Likewise.
13382         (CFLAGS-putwchar.c): Likewise.
13383         (CFLAGS-rewind.c): Likewise.
13384         (CFLAGS-wfileops.c): Likewise.
13385         (CFLAGS-wgenops.c): Likewise.
13386         (CFLAGS-oldiofopen.c): Likewise.
13387         (CFLAGS-iofopen.c): Likewise.
13388         (CFLAGS-iofopen64.c): Likewise.
13389         (CFLAGS-oldtmpfile.c): Likewise.
13390         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13391         (CFLAGS-fprintf.c): Likewise.
13392         (CFLAGS-printf.c): Likewise.
13393         (CFLAGS-vfwprintf.c): Likewise.
13394         (CFLAGS-vfscanf.c): Likewise.
13395         (CFLAGS-vfwscanf.c): Likewise.
13396         (CFLAGS-fscanf.c): Likewise.
13397         (CFLAGS-scanf.c): Likewise.
13398         (CFLAGS-isoc99_vfscanf.c): Likewise.
13399         (CFLAGS-isoc99_vscanf.c): Likewise.
13400         (CFLAGS-isoc99_fscanf.c): Likewise.
13401         (CFLAGS-isoc99_scanf.c): Likewise.
13402         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13403         (CFLAGS-isoc99_fwscanf.c): Likewise.
13404         (CFLAGS-isoc99_vwscanf.c): Likewise.
13405         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13407         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13408         after mkstemp64.
13409         * login/tst-utmp.c (do_prepare): Likewise.
13410         * rt/tst-aio.c (do_prepare): Likewise.
13411         * rt/tst-aio64.c (do_prepare): Likewise.
13413 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13415         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13416         (__lll_lock_elision): Remove adapt_count decrement...
13417         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13418         (__lll_trylock_elision): Likewise.
13419         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13420         (__lll_unlock_elision): ... to here. And utilize
13421         new adapt_count parameter.
13422         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13423         (__lll_unlock_elision): Update to include adapt_count
13424         parameter.
13425         (lll_unlock_elision): Pass pointer to adapt_count
13426         variable.
13428 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13430         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13431         Add elision adapt_count parameter to list of arguments.
13432         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13433         (lll_unlock_elision): Update with new parameter list
13434         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13435         (lll_unlock_elision): Likewise.
13436         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13437         (lll_unlock_elision): Likewise.
13439 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13441         [BZ #19122]
13442         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13443         attribute_hidden.
13445         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13446         attribute_hidden.
13447         [IS_IN (rtld)] (__strdup): Likewise.
13448         [IS_IN (rtld)] (__strerror_r): Likewise.
13449         [IS_IN (rtld)] (__strsep_g): Likewise.
13450         [IS_IN (rtld)] (memchr): Likewise.
13451         [IS_IN (rtld)] (memcmp): Likewise.
13452         [IS_IN (rtld)] (memcpy): Likewise.
13453         [IS_IN (rtld)] (memmove): Likewise.
13454         [IS_IN (rtld)] (memset): Likewise.
13455         [IS_IN (rtld)] (rawmemchr): Likewise.
13456         [IS_IN (rtld)] (stpcpy): Likewise.
13457         [IS_IN (rtld)] (strchr): Likewise.
13458         [IS_IN (rtld)] (strcmp): Likewise.
13459         [IS_IN (rtld)] (strlen): Likewise.
13460         [IS_IN (rtld)] (strnlen): Likewise.
13461         [IS_IN (rtld)] (strsep): Likewise.
13463         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13464         attribute_hidden.
13465         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13467         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13468         attribute_hidden.
13469         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13471         * include/setjmp.h (__longjmp): Add attribute_hidden.
13472         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13474         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13475         Add attribute_hidden.
13477         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13478         [IS_IN (rtld)] (__open): Likewise.
13479         [IS_IN (rtld)] (__fcntl): Likewise.
13481         * include/dirent.h (__opendirat): Add attribute_hidden.
13482         (__getdents): Likewise.
13483         (__getdents64): Likewise.
13484         (__alloc_dir): Likewise.
13485         [IS_IN (rtld)] (__closedir): Likewise.
13486         [IS_IN (rtld)] (__fdopendir): Likewise.
13487         [IS_IN (rtld)] (__readdir): Likewise.
13488         [IS_IN (rtld)] (__readdir64): Likewise.
13489         [IS_IN (rtld)] (__rewinddir): Likewise.
13491         * include/dlfcn.h (_dl_catch_error): Moved to ...
13492         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13493         attribute_hidden.
13495         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13496         (_itoa_word): Likewise.
13498         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13499         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13500         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13501         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13502         (_dl_higher_prime_number): Likewise.
13503         (_dl_debug_printf_c): Likewise.
13504         (_dl_signal_cerror): Likewise.
13505         (_dl_receive_error): Likewise.
13506         (_dl_reloc_bad_type): Likewise.
13507         (_dl_resolve_conflicts): Likewise.
13508         (_dl_check_all_versions): Likewise.
13509         (_dl_check_map_versions): Likewise.
13510         (_dl_sort_fini): Likewise.
13511         (_dl_debug_initialize): Likewise.
13512         (_dl_init_paths): Likewise.
13513         (_dl_show_auxv): Likewise.
13514         (_dl_next_ld_env_entry): Likewise.
13515         (_dl_important_hwcaps): Likewise.
13516         (_dl_load_cache_lookup): Likewise.
13517         (_dl_update_slotinfo): Likewise.
13518         (_dl_show_scope): Likewise.
13520         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13521         attribute_hidden.
13522         (_wordcopy_fwd_dest_aligned): Likewise.
13523         (_wordcopy_bwd_aligned): Likewise.
13524         (_wordcopy_bwd_dest_aligned): Likewise.
13526         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13527         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13528         Likewise.
13529         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13530         Likewise.
13531         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13533 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13535         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13536         GCC 5 requirement.
13538 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13540         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13541         test.
13542         * sysdeps/i386/configure: Regenerated.
13543         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13544         code unconditional.
13546         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13547         test.
13548         (libc_cv_asm_popsection_directive): Likewise.
13549         * configure: Regenerated.
13550         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13551         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13552         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13553         (__make_section_unallocated): Make definition unconditional.
13554         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13555         Remove conditional definition.
13556         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13557         (__make_section_unallocated): Likewise.
13559         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13560         * configure: Regenerated.
13561         * config.make.in (static-libgcc): Remove variable.
13562         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13563         $(static-libgcc).
13564         (build-module-helper): Likewise.
13566         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13567         * configure: Regenerated.
13569 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13571         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13572         (struct char_buffer): New type.
13573         (char_buffer_start, char_buffer_size, char_buffer_error)
13574         (char_buffer_rewind, char_buffer_add): New functions.
13575         (ADDW): Remove macro, replaced by the char_buffer_add function.
13576         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13577         of extend_alloca.  Make control flow more explicit.
13579 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13581         [BZ #19137]
13582         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13583         Add -fomit-frame-pointer.
13584         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13586 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13588         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13589         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13590         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13591         only if !__GNUC_PREREQ (5,0).
13592         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13593         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13594         (INTERNAL_SYSCALL_NCS): Likewise.
13595         (LOADREGS_0): New macro for GCC 5.
13596         (ASMARGS_0): Likewise.
13597         (LOADREGS_1): Likewise.
13598         (ASMARGS_1): Likewise.
13599         (LOADREGS_2): Likewise.
13600         (ASMARGS_2): Likewise.
13601         (LOADREGS_3): Likewise.
13602         (ASMARGS_3): Likewise.
13603         (LOADREGS_4): Likewise.
13604         (ASMARGS_4): Likewise.
13605         (LOADREGS_5): Likewise.
13606         (ASMARGS_5): Likewise.
13607         (LOADREGS_6): Likewise.
13608         (ASMARGS_6): Likewise.
13610 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13612         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13613         -fomit-frame-pointer.
13614         (CFLAGS-mmap64.c): Likewise.
13615         (CFLAGS-semtimedop.c): Likewise.
13616         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13617         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13618         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13619         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13621 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13623         [BZ #18928]
13624         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13625         _dl_pointer_guard member.
13626         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13627         initializer.
13628         (security_init): Always set up pointer guard.
13629         (process_envvars): Do not process LD_POINTER_GUARD.
13631 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13633         [BZ #19134]
13634         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13635         (.LC2): Likewise.
13636         (.LC3): Likewise.
13637         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13639 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13641         [BZ #19129]
13642         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13643         r0 and r1.
13645 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13647         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13649 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13651         * include/stap-probe.h: Fix macro definition formatting.
13653 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13655         [BZ #19074]
13656         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13657         load and store num_ifs.
13659 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13661         [BZ #18822]
13662         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13663         (__sched_getaffinity_new): Add libc_hidden_proto and
13664         libc_hidden_def.
13666 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13668         [BZ #19007]
13669         * scripts/localplt.awk: Also allow GOT references.
13670         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13671         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13672         with "+ REL R_386_GLOB_DAT".
13673         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13674         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13676 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13678         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13679         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13680         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13681         Likewise.
13682         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13683         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13684         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13685         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13686         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13687         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13688         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13689         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13690         Likewise.
13691         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13693 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13695         [BZ #19125]
13696         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13697         <math_private.h> and <stdint.h>.
13698         (__llround): Avoid conversions to and from long long int, and
13699         subtractions, where those might raise spurious exceptions.
13700         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13701         <math_private.h> and <stdint.h>.
13702         (__llroundf): Avoid conversions to and from long long int, and
13703         subtractions, where those might raise spurious exceptions.
13705 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13707         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13708         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13709         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13710         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13711         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13712         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13713         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13714         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13715         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13716         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13717         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13718         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13719         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13720         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13721         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13722         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13723         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13724         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13725         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13726         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13727         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13728         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13729         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13730         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13731         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13732         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13733         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13734         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13735         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13736         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13737         (__xstat64_conv): Likewise.
13738         (__xstat32_conv): Likewise.
13740 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13742         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13743         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13744         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13745         <sysdeps/unix/sysv/linux/sysdep.h>.
13746         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13747         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13748         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13749         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13750         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13751         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13752         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13753         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13754         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13757         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13758         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13759         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13760         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13761         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13762         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13763         (sysdep-dl-routines): Add sysdep.
13764         [$(subdir) == nptl] (libpthread-routines): Likewise.
13765         [$(subdir) == rt] (librt-routines): Likewise.
13766         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13767         PIC when branching to SYSCALL_ERROR_LABEL.
13768         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13769         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13770         <sysdeps/unix/sysv/linux/sysdep.h>.
13771         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13772         (SYSCALL_ERROR_ERRNO): Removed.
13773         (SYSCALL_ERROR_HANDLER): Changed to empty.
13774         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13775         (__syscall_error): New prototype.
13776         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13777         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13779 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13781         [BZ #19124]
13782         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13783         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13784         _dl_runtime_resolve_avx.
13785         (_dl_runtime_profile_avx512): Make it a hidden alias of
13786         _dl_runtime_profile_avx.
13788 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13790         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13791         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13792         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13793         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13795         [BZ #16422]
13796         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13797         New configure test.
13798         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13799         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13800         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13801         <math_private.h> and <stdint.h>.
13802         (__llrint): Avoid conversions to long long int where those might
13803         raise spurious exceptions.
13804         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13805         <math_private.h> and <stdint.h>.
13806         (__llrintf): Avoid conversions to long long int where those might
13807         raise spurious exceptions.
13809 2015-10-12  Andreas Schwab  <schwab@suse.de>
13811         [BZ #18969]
13812         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13813         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13814         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13815         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13816         $(gen-locales).
13817         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13818         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13819         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13820         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13821         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13822         $(gen-locales).
13823         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13824         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13825         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13826         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13827         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13828         ($(objpfx)tst-ftell-active-handler.out)
13829         ($(objpfx)tst-ftell-append.out)
13830         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13831         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13832         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13833         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13834         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13835         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13836         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13837         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13838         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13839         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13840         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13841         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13842         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13843         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13844         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13845         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13846         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13847         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13848         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13849         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13850         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13851         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13852         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13853         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13854         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13855         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13856         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13857         $(gen-locales).
13858         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13859         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13860         $(gen-locales).
13861         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13862         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13863         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13864         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13865         $(gen-locales).
13866         * libio/tst_wprintf2.c (main): Use explicit locale.
13867         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13869 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13871         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13872         __msg_sig_post.
13873         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13875 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13877         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13878         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13880         * sysdeps/arm/libm-test-ulps: Regenerated.
13882         [BZ #15470]
13883         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13885         [BZ #16399]
13886         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13887         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13888         and <fix-fp-int-convert-overflow.h>.
13889         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13890         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13891         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13892         and <fix-fp-int-convert-overflow.h>.
13893         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13894         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13895         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13896         <fix-fp-int-convert-overflow.h>.
13897         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13898         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13899         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13900         <fix-fp-int-convert-overflow.h>.
13901         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13902         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13903         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13904         and <fix-fp-int-convert-overflow.h>.
13905         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13906         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13907         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13908         <limits.h> and <fix-fp-int-convert-overflow.h>.
13909         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13910         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13911         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13912         and <fix-fp-int-convert-overflow.h>.
13913         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13914         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13915         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13916         and <fix-fp-int-convert-overflow.h>.
13917         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13918         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13919         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13921 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13923         [BZ #18589]
13924         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13925         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13926         $(gen-locales).
13928 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13929             Phil Blundell <pb@pbcl.net>
13931         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13932         * nptl/tst-cancel26.c: New file.
13933         * nptl/tst-cancel27.c: Likewise.
13935 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13937         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13938         __ILP32__ isn't defined.
13939         (lrint): Likewise.
13940         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13941         (lrintf): Likewise.
13942         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13943         (lrintl): Likewise.
13944         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13945         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13946         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13948 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13950         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13951         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13953         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13954         file.
13955         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13956         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13958 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13960         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13961         configure test.
13962         * sysdeps/i386/configure: Regenerated.
13963         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13964         configure test.
13965         * sysdeps/x86_64/configure: Regenerated.
13966         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13967         Make code unconditional.
13969         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13970         test.
13971         * sysdeps/i386/configure: Regenerated.
13972         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13973         test.
13974         * sysdeps/x86_64/configure: Regenerated.
13975         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13976         Make code unconditional.
13977         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13978         Likewise.
13979         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13980         Likewise.
13981         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13982         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13983         code unconditional.
13984         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13985         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13986         code unconditional.
13987         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13988         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13989         code unconditional.
13990         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13991         code unconditional.
13992         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13993         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13994         code unconditional.
13995         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13996         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13997         code unconditional.
13998         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13999         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14000         code unconditional.
14001         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14002         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14003         code unconditional.
14004         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14005         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14007         [BZ #19095]
14008         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14009         mantissa to long int before shifting left.
14011 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14013         [BZ #19094]
14014         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14015         <limits.h>.
14016         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14017         when result overflows but exception would not result from cast.
14018         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14019         <limits.h>.
14020         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14021         when result overflows but exception would not result from cast.
14022         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14023         <limits.h>.
14024         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14025         when result overflows but exception would not result from cast.
14026         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14027         <limits.h>.
14028         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14029         when result overflows but exception would not result from cast.
14030         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14031         <limits.h>.
14032         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14033         when result overflows but exception would not result from cast.
14034         * math/libm-test.inc (lrint_test_data): Add more tests.
14035         (llrint_test_data): Likewise.
14037 2015-10-08  Roland McGrath  <roland@hack.frob.com>
14039         [BZ #18872]
14040         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14041         Move out from under [$(run-built-tests) = yes] conditional.
14042         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14043         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14045 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
14047         [BZ #18589]
14048         * string/Makefile (tests): Add bug-strcoll2.
14049         (LOCALES): Add cs_CZ.UTF-8.
14050         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14052         [BZ #18589]
14053         * string/bug-strcoll2.c: New file.
14054         * locale/categories.def: Revert commit
14055         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14056         * locale/langinfo.h: Likewise.
14057         * locale/localeinfo.h: Likewise.
14058         * locale/C-collate.c: Likewise.
14059         * locale/programs/ld-collate.c (collate_output): Likewise.
14060         * string/strcoll_l.c (STRDIFF): Likewise.
14061         (STRCOLL): Likewise.
14062         * wcsmbs/wcscoll_l.c: Likewise.
14064 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14066         * math/libm-test.inc (lround_test_data): Do not expect the absence
14067         of "inexact" for some tests with non-integer arguments.
14068         (llround_test_data): Likewise.
14070         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14071         test.
14072         (libc_cv_cc_sse2avx): Likewise.
14073         * sysdeps/i386/configure: Regenerated.
14074         * sysdeps/i386/i686/multiarch/Makefile
14075         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14076         [$(subdir) = math].
14077         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14078         code unconditional.
14079         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14080         Likewise.
14081         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14082         Likewise.
14083         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14084         Likewise.
14085         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14086         test.
14087         (libc_cv_cc_sse2avx): Likewise.
14088         * sysdeps/x86_64/configure: Regenerated.
14089         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14090         unconditional.
14091         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14092         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14093         unconditional.
14094         (_dl_runtime_profile)
14095         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14096         conditional code.
14097         * sysdeps/x86_64/fpu/multiarch/Makefile
14098         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14099         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14100         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14101         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14102         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14103         * sysdeps/x86_64/fpu/multiarch/e_log.c
14104         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14105         * sysdeps/x86_64/fpu/multiarch/s_atan.c
14106         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14107         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14108         Likewise.
14109         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14110         Likewise.
14111         * sysdeps/x86_64/fpu/multiarch/s_sin.c
14112         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14113         * sysdeps/x86_64/fpu/multiarch/s_tan.c
14114         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14115         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14116         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14117         (HAVE_SSE2AVX_SUPPORT): Likewise.
14119 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
14121         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14122         instead of #pragma optimize.
14124 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14126         [BZ #17195]
14127         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14128         as is similarly done in systrim and _int_free already.
14130 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14132         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14134 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14136         [BZ #19088]
14137         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14138         <limits.h>.
14139         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14140         overflows but exception would not result from cast.
14141         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14142         and <limits.h>.
14143         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14144         overflows but exception would not result from cast.
14145         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14146         <limits.h>.
14147         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14148         overflows but exception would not result from cast.
14149         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14150         <limits.h>.
14151         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14152         overflows but exception would not result from cast.
14153         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14154         <limits.h>.
14155         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14156         overflows but exception would not result from cast.
14157         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14158         <limits.h>.
14159         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14160         overflows but exception would not result from cast.
14161         * math/libm-test.inc (lround_test_data): Add more tests.
14162         (llround_test_data): Likewise.
14164 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14166         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14167         (CFLAGS-ialloc.c): Ditto.
14168         (CFLAGS-scheck.c): Ditto.
14170 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14172         [BZ #19086]
14173         * manual/filesys.texi (Storage Allocation): Fix argument order for
14174         posix_fallocate64.
14176 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14178         [BZ #19085]
14179         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14180         exponent below 48 inside case for non-overflowing exponent.
14181         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14183 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14185         * iconvdata/cp737.h (from_idx): Add const.
14186         * iconvdata/cp775.h (from_idx): Likewise.
14188 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14190         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14191         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14192         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14194         [BZ #19079]
14195         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14196         file, conditioned on [!_LP64].
14197         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14198         [!_LP64] (__lround): Do not define as function or alias.
14199         [!_LP64] (lround): Likewise.
14200         [!_LP64] (__lroundl): Likewise.
14201         [!_LP64] (lroundl): Likewise.
14202         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14203         macro.
14204         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14205         Likewise.
14207 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14209         * math/libm-test.inc (lrint_test_data): Add more tests.
14210         (llrint_test_data): Likewise.
14211         (lround_test_data): Likewise.
14212         (llround_test_data): Likewise.
14214         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14215         (llrint_test_data): Add tests used for lrint.
14217         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14218         test.
14219         * sysdeps/i386/configure: Regenerated.
14220         * sysdeps/i386/i686/multiarch/Makefile
14221         [$(config-cflags-sse4) = yes]: Make code unconditional.
14222         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14223         Likewise.
14224         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14225         Likewise.
14226         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14227         test.
14228         * sysdeps/x86_64/configure: Regenerated.
14229         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14230         Make code unconditional.
14231         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14232         Likewise.
14233         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14234         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14236         * scripts/rpm2dynsym.sh: Remove file.
14238 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14240         * configure.ac (libc_cv_cxx_thread_local): Define.
14241         * configure: Regenerate.
14242         * config.make.in (have-cxx-thread_local): Define.
14243         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14244         (LDLIBS-tst-thread_local1): Define.
14245         (tests): Add tst-thread_local1.
14246         [have-cxx-thread_local != yes] (tests-unsupported): Add
14247         tst-thread_local1.
14248         * nptl/tst-thread_local1.cc: New file.
14250 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14252         [BZ #19078]
14253         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14254         (u_thres): Likewise.
14255         (__expl): Determine whether to call __kernel_standard_l based on
14256         value of result, not argument.
14258         * math/libm-test.inc (scalb_test_data): Add more expectations for
14259         the "inexact" exception.
14261         [BZ #19077]
14262         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14263         0.0L for argument 1.0L.
14265         [BZ #19076]
14266         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14267         constant 0.0L when computing infinite result.
14269 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14271         [BZ #10432]
14272         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14273         malloc_usable_size.
14275 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14277         [BZ #19018]
14278         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14279         Mangle function pointer before storing it.
14280         (__call_tls_dtors): Demangle function pointer before calling it.
14282 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14284         [BZ #19012]
14285         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14286         Clean up on failure.
14288 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14290         [BZ #19071]
14291         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14292         long int variable to store possibly incremented high part of
14293         mantissa.
14294         * math/libm-test.inc (lround_test_data): Add tests used for
14295         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14296         for tests requiring 64-bit long.  Do not condition tests on
14297         [TEST_FLOAT] unnecessarily.
14298         (llround_test_data): Add tests used for lround.  Add another
14299         expectation for the "inexact" exception.  Do not condition tests
14300         on [TEST_FLOAT] unnecessarily.
14302         [BZ #887]
14303         [BZ #19049]
14304         [BZ #19050]
14305         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14306         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14307         <fix-int-fp-convert-zero.h>.
14308         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14309         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14310         <fix-int-fp-convert-zero.h>.
14311         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14312         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14313         <fix-int-fp-convert-zero.h>.
14314         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14315         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14316         <fix-int-fp-convert-zero.h>.
14317         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14318         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14319         <fix-int-fp-convert-zero.h>.
14320         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14321         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14322         <fix-int-fp-convert-zero.h>.
14323         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14324         * sysdeps/ieee754/flt-32/s_erff.c: Include
14325         <fix-int-fp-convert-zero.h>.
14326         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14327         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14328         <fix-int-fp-convert-zero.h>.
14329         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14330         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14331         <fix-int-fp-convert-zero.h>.
14332         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14333         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14334         <fix-int-fp-convert-zero.h>.
14335         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14336         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14337         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14338         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14339         file.
14340         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14342 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14344         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14346 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14348         [BZ #19059]
14349         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14350         overflowing computation.
14351         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14352         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14353         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14354         Likewise.
14355         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14356         Likewise.
14357         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14358         Likewise.
14359         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14360         Likewise.
14361         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14362         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14363         Likewise.
14364         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14365         Likewise.
14366         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14368         * nss/rewrite_field.c (__nss_rewrite_field): Use
14369         internal_function.
14370         * nss/valid_field.c (__nss_valid_field): Likewise.
14371         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14373 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14375         [BZ #18724]
14376         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14377         (__nss_invalid_field_characters, __nss_valid_field)
14378         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14379         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14380         tst-field.c: New file.
14381         * nss/Makefile (routines): Add valid_field, rewrite_field.
14382         (tests-static): Define unconditionally.
14383         (tests): Include tests-static.
14384         [build-static-nss] (tests-static): Use append.
14385         [build-static-nss] (tests): Remove modification.
14386         * nss/getent.c (print_group): Call putgrent.  Report error.
14387         (print_gshadow): Call putsgent.  Report error.
14388         (print_passwd): Call putpwent.  Report error.
14389         (print_shadow): Call putspent.  Report error.
14390         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14391         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14392         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14393         name, password, directory, shell fields for valid syntax.  Rewrite
14394         GECOS field to match syntax.
14395         * pwd/Makefile (tests): Add tst-putpwent.
14396         * pwd/tst-putpwent.c: New file.
14397         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14398         Check grName, grpasswd, gr_mem fields for valid syntax.
14399         Change loop variable i to size_t.
14400         * grp/Makefile (tests): Add tst-putgrent.
14401         * grp/tst-putgrent.c: New file.
14402         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14403         valid syntax.
14404         * shadow/Makefile (tests): Add tst-putspent.
14405         * shadow/tst-putspent.c: New file.
14406         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14407         sg_mem fields for valid syntax.
14408         * gshadow/Makefile (tests): Add tst-putsgent.
14409         * gshadow/tst-putsgent.c: New file.
14411 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14413         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14414         assembly instructions.
14416 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14418         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14419         prefix from operands.
14421 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14423         [BZ #16347]
14424         [BZ #19046]
14425         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14426         <libc-internal.h>.
14427         (MAXLGM): Do not use diagnostic control macros.
14428         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14429         threshold for ldbl-128ibm.
14430         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14431         instead of multiplying by log then subtracting.
14432         * math/auto-libm-test-in: Add more tests of lgamma.
14433         * math/auto-libm-test-out: Regenerated.
14435         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14436         (TYPE_HEX_DIG): Likewise.
14437         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14438         precisions when printing floating-point numbers.
14439         (check_float_internal): Likewise.
14441 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14443         [BZ #16620]
14444         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14445         of log (10) rounded downward to 48 bits.
14446         (log10_low): Use corresponding low part of log (10).
14448         [BZ #19032]
14449         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14450         compute result as (x - x) / (x - x) not as 0 / 0.
14451         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14452         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14454         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14455         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14456         and expm1.
14457         * math/auto-libm-test-out: Regenerated.
14458         * math/libm-test.inc (acos_test_data): Add more tests.
14459         (asin_test_data): Likewise.
14460         (asinh_test_data): Likewise.
14461         (atan_test_data): Likewise.
14462         (atanh_test_data): Likewise.
14463         (atan2_test_data): Likewise.
14464         (cbrt_test_data): Likewise.
14465         (ceil_test_data): Likewise.
14466         (copysign_test_data): Likewise.
14467         (cos_test_data): Likewise.
14468         (cosh_test_data): Likewise.
14469         (erf_test_data): Likewise.
14470         (erfc_test_data): Likewise.
14471         (exp_test_data): Likewise.
14472         (exp10_test_data): Likewise.
14473         (exp2_test_data): Likewise.
14474         (expm1_test_data): Likewise.
14475         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14477 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14479         [BZ #19006]
14480         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14481         to ...
14482         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14483         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14484         to ...
14485         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14486         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14487         to ...
14488         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14489         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14490         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14491         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14492         to ...
14493         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14494         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14495         Moved to ...
14496         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14497         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14498         Moved to ...
14499         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14500         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14501         to ...
14502         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14503         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14504         Moved to ...
14505         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14506         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14507         to ...
14508         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14509         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14510         Removed.
14511         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14512         Likewise.
14513         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14514         Likewise.
14515         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14516         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14517         Likewise.
14518         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14519         Likewise.
14520         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14521         Likewise.
14522         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14523         Likewise.
14524         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14525         Likewise.
14526         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14527         Likewise.
14528         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14529         Likewise.
14530         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14531         Likewise.
14532         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14533         Likewise.
14534         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14535         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14536         Likewise.
14537         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14538         Likewise.
14539         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14540         Likewise.
14541         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14542         Likewise.
14543         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14544         Likewise.
14545         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14546         Replace ../i486/pthread_cond_timedwait.S with
14547         ../pthread_cond_timedwait.S.
14549 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14551         * math/libm-test.inc (acos_test_data): Refine expectations for
14552         errno and "inexact" exceptions.
14553         (acosh_test_data): Likewise.
14554         (asin_test_data): Likewise.
14555         (asinh_test_data): Likewise.
14556         (atan_test_data): Likewise.
14557         (atanh_test_data): Likewise.
14558         (atan2_test_data): Likewise.
14559         (cbrt_test_data): Likewise.
14560         (ceil_test_data): Likewise.
14561         (copysign_test_data): Likewise.
14562         (cosh_test_data): Likewise.
14563         (erf_test_data): Likewise.
14564         (erfc_test_data): Likewise.
14565         (exp_test_data): Likewise.
14566         (exp10_test_data): Likewise.
14567         (exp2_test_data): Likewise.
14568         (expm1_test_data): Likewise.
14569         (fabs_test_data): Likewise.
14570         (floor_test_data): Likewise.
14571         (fma_test_data): Likewise.
14572         (fmax_test_data): Likewise.
14573         (fmin_test_data): Likewise.
14574         (fmod_test_data): Likewise.
14575         (fpclassify_test_data): Likewise.
14576         (frexp_test_data): Likewise.
14577         (hypot_test_data): Likewise.
14578         (ilogb_test_data): Likewise.
14579         (isgreater_test_data): Likewise.
14580         (isgreaterequal_test_data): Likewise.
14581         (isinf_test_data): Likewise.
14582         (isless_test_data): Likewise.
14583         (islessequal_test_data): Likewise.
14584         (islessgreater_test_data): Likewise.
14585         (isnan_test_data): Likewise.
14586         (isnormal_test_data): Likewise.
14587         (issignaling_test_data): Likewise.
14588         (isunordered_test_data): Likewise.
14589         (j0_test_data): Likewise.
14590         (j1_test_data): Likewise.
14591         (jn_test_data): Likewise.
14592         (lgamma_test_data): Likewise.
14593         (lrint_test_data): Likewise.
14594         (llrint_test_data): Likewise.
14595         (log_test_data): Likewise.
14596         (log10_test_data): Likewise.
14597         (log1p_test_data): Likewise.
14598         (log2_test_data): Likewise.
14599         (logb_test_data): Likewise.
14600         (lround_test_data): Likewise.
14601         (llround_test_data): Likewise.
14602         (modf_test_data): Likewise.
14603         (nearbyint_test_data): Likewise.
14604         (nextafter_test_data): Likewise.
14605         (nexttoward_test_data): Likewise.
14606         (pow_test_data): Likewise.
14607         (remainder_test_data): Likewise.
14608         (remquo_test_data): Likewise.
14609         (rint_test_data): Likewise.
14610         (round_test_data): Likewise.
14611         (signbit_test_data): Likewise.
14612         (sinh_test_data): Likewise.
14613         (sqrt_test_data): Likewise.
14614         (tanh_test_data): Likewise.
14615         (tgamma_test_data): Likewise.
14616         (trunc_test_data): Likewise.
14617         (y0_test_data): Likewise.
14618         (y1_test_data): Likewise.
14619         (yn_test_data): Likewise.
14620         (significand_test_data): Likewise.
14622 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14624         * manual/filesys.texi (Storage Allocation): Document that
14625         posix_fallocate emulation fails when fd is open with O_WRONLY.
14627 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14629         [BZ #19016]
14630         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14631         allow more cases with X^2 + Y^2 >= 0.5.
14632         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14633         normal element in sum instead of special-casing based on values of
14634         arguments.
14635         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14636         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14637         -1 as normal element in sum instead of special-casing based on
14638         values of arguments.
14639         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14640         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14641         (__x2y2m1): Update comment.
14642         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14643         as normal element in sum instead of special-casing based on values
14644         of arguments.
14645         * math/s_clog.c (__clog): Handle more cases using log1p without
14646         hypot.
14647         * math/s_clog10.c (__clog10): Likewise.
14648         * math/s_clog10f.c (__clog10f): Likewise.
14649         * math/s_clog10l.c (__clog10l): Likewise.
14650         * math/s_clogf.c (__clogf): Likewise.
14651         * math/s_clogl.c (__clogl): Likewise.
14652         * math/auto-libm-test-in: Add more tests of clog and clog10.
14653         * math/auto-libm-test-out: Regenerated.
14654         * sysdeps/i386/fpu/libm-test-ulps: Update.
14655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14657 2015-09-28  Martin Sebor  <msebor@redhat.com>
14659         [BZ #18969]
14660         * string/Makefile (LOCALES): Define.
14661         (gen-locales.mk): Include.
14662         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14663         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14664         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14665         on setlocale failure.
14667 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14669         [BZ #18985]
14670         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14671         (__strftime_internal): Likewise.
14672         * time/tst-strftime.c (do_bz18985): New test.
14673         (do_test): Call it.
14675 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14677         [BZ #18956]
14678         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14679         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14680         extracting high part.
14681         * math/auto-libm-test-in: Add another test of pow.
14682         * math/auto-libm-test-out: Regenerated.
14683         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14685 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14687         [BZ #18825]
14688         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14689         New macro.
14690         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14691         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14692         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14693         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14694         DBL_NARROW_EVAL, reloading the PIC register as needed.
14695         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14696         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14697         FLT_NARROW_EVAL.  Use separate return path for case when first
14698         argument is NaN.
14699         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14700         DEFINE_LDBL_MIN.
14701         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14702         PIC register.
14703         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14704         math_check_force_underflow_nonneg.
14705         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14706         underflow for subnormal result.
14707         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14708         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14709         math_check_force_underflow_nonneg.
14710         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14711         math_check_force_underflow.
14712         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14713         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14714         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14715         DEFINE_LDBL_MIN.
14716         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14717         * math/auto-libm-test-in: Add more tests of pow.
14718         * math/auto-libm-test-out: Regenerated.
14720 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14722         * nss/bug17079.c (init_test_items): Add diagnostic for
14723         inconsistent entries.
14724         (test_buffer_size): Skip inconsistent entries.
14726 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14728         [BZ #13304]
14729         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14730         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14731         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14733         [BZ #13304]
14734         * sysdeps/microblaze/s_fma.c: New file.
14735         * sysdeps/microblaze/s_fmaf.c: Likewise.
14736         * sysdeps/microblaze/sfp-machine.h: Likewise.
14738 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14740         [BZ #17250]
14741         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14742         member.
14744 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14746         [BZ #18803]
14747         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14748         (MO): New macro.
14749         (__ieee754_hypot) [PIC]: Load PIC register.
14750         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14751         DBL_NARROW_EVAL.
14752         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14753         math_check_force_underflow_nonneg in case where result might be
14754         tiny.
14755         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14756         Likewise.
14757         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14758         Likewise.
14759         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14760         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14761         * math/auto-libm-test-in: Add more tests of hypot.
14762         * math/auto-libm-test-out: Regenerated.
14764 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14766         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14768 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14770         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14771         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14772         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14773         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14774         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14775         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14776         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14778         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14779         LOAD_PIC_REG.
14781         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14782         (FLT_CHECK_FORCE_UFLOW): Likewise.
14783         (DBL_CHECK_FORCE_UFLOW): Likewise.
14784         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14785         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14786         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14787         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14788         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14789         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14790         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14791         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14792         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14793         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14794         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14795         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14796         (flt_min): Replace with use of DEFINE_FLT_MIN.
14797         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14798         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14799         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14800         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14801         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14802         (flt_min): Replace with use of DEFINE_FLT_MIN.
14803         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14804         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14805         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14806         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14807         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14808         (flt_min): Replace with use of DEFINE_FLT_MIN.
14809         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14810         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14811         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14812         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14813         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14814         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14815         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14816         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14817         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14818         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14819         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14820         (flt_min): Replace with use of DEFINE_FLT_MIN.
14821         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14822         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14823         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14824         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14825         main computation.
14826         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14827         (flt_min): Replace with use of DEFINE_FLT_MIN.
14828         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14829         main computation.
14830         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14831         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14832         (MO): New macro.
14833         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14834         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14835         (flt_min): Replace with use of DEFINE_FLT_MIN.
14836         (MO): New macro.
14837         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14838         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14839         (__log1pl): Use MO.
14841         [BZ #19003]
14842         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14843         $(config-cflags-nofma).
14845 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14847         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14849 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14851         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14852         (TWO127): Likewise.
14854         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14855         (min_of_type): Likewise.
14856         (math_check_force_underflow): Likewise.
14857         (math_check_force_underflow_nonneg): Likewise.
14858         (math_check_force_underflow_complex): Likewise.
14859         * math/e_exp2l.c (__ieee754_exp2l): Use
14860         math_check_force_underflow_nonneg.
14861         * math/k_casinh.c (__kernel_casinh): Likewise.
14862         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14863         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14864         * math/s_catan.c (__catan): Use
14865         math_check_force_underflow_complex.
14866         * math/s_catanf.c (__catanf): Likewise.
14867         * math/s_catanh.c (__catanh): Likewise.
14868         * math/s_catanhf.c (__catanhf): Likewise.
14869         * math/s_catanhl.c (__catanhl): Likewise.
14870         * math/s_catanl.c (__catanl): Likewise.
14871         * math/s_ccosh.c (__ccosh): Likewise.
14872         * math/s_ccoshf.c (__ccoshf): Likewise.
14873         * math/s_ccoshl.c (__ccoshl): Likewise.
14874         * math/s_cexp.c (__cexp): Likewise.
14875         * math/s_cexpf.c (__cexpf): Likewise.
14876         * math/s_cexpl.c (__cexpl): Likewise.
14877         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14878         * math/s_clog10.c (__clog10): Likewise.
14879         * math/s_clog10f.c (__clog10f): Likewise.
14880         * math/s_clog10l.c (__clog10l): Likewise.
14881         * math/s_clogf.c (__clogf): Likewise.
14882         * math/s_clogl.c (__clogl): Likewise.
14883         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14884         * math/s_csinf.c (__csinf): Likewise.
14885         * math/s_csinh.c (__csinh): Likewise.
14886         * math/s_csinhf.c (__csinhf): Likewise.
14887         * math/s_csinhl.c (__csinhl): Likewise.
14888         * math/s_csinl.c (__csinl): Likewise.
14889         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14890         * math/s_csqrtf.c (__csqrtf): Likewise.
14891         * math/s_csqrtl.c (__csqrtl): Likewise.
14892         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14893         * math/s_ctanf.c (__ctanf): Likewise.
14894         * math/s_ctanh.c (__ctanh): Likewise.
14895         * math/s_ctanhf.c (__ctanhf): Likewise.
14896         * math/s_ctanhl.c (__ctanhl): Likewise.
14897         * math/s_ctanl.c (__ctanl): Likewise.
14898         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14899         instead of volatile.
14900         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14901         math_check_force_underflow.
14902         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14903         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14904         volatile when forcing underflow.
14905         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14906         math_check_force_underflow_nonneg.
14907         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14908         Likewise.
14909         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14910         math_check_force_underflow.
14911         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14912         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14913         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14914         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14915         math_check_force_underflow_nonneg.
14916         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14917         math_check_force_underflow.
14918         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14919         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14920         instead of volatile.
14921         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14922         math_check_force_underflow.
14923         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14924         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14925         math_check_force_underflow_nonneg.
14926         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14927         math_check_force_underflow.
14928         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14929         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14930         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14931         math_check_force_underflow_nonneg.
14932         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14933         Likewise.
14934         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14935         math_check_force_underflow.
14936         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14937         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14938         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14939         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14940         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14941         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14942         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14943         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14944         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14945         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14946         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14947         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14948         Likewise.
14949         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14950         math_check_force_underflow_nonneg.
14951         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14952         Likewise.
14953         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14954         math_check_force_underflow.
14955         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14956         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14957         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14958         Likewise.
14959         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14960         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14961         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14962         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14963         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14964         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14965         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14966         instead of volatile.
14967         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14968         math_check_force_underflow.
14969         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14970         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14971         math_check_force_underflow.
14972         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14973         Likewise.
14974         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14975         Use math_check_force_underflow_nonneg.
14976         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14977         math_check_force_underflow.
14978         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14979         Likewise.
14980         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14981         Likewise.
14982         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14983         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14984         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14985         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14986         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14987         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14988         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14989         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14990         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14991         math_check_force_underflow_nonneg.
14992         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14993         math_check_force_underflow.
14994         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14995         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14996         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14997         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14998         math_check_force_underflow_nonneg.
14999         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15000         math_check_force_underflow.
15001         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15002         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15003         instead of volatile.
15004         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15005         math_check_force_underflow.
15007         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15008         * stdlib/strtod_l.c: Include <math_private.h>.
15009         (overflow_value): Use math_narrow_eval.
15010         (underflow_value): Likewise.
15011         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15012         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15013         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15014         (__ieee754_gamma_r): Likewise.
15015         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15016         Likewise.
15017         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15018         Likewise.
15019         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15020         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15021         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15022         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15023         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15024         (__ieee754_gammaf_r): Likewise.
15025         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15026         Likewise.
15027         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15028         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15029         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15030         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15031         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15032         volatile.
15033         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15034         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15035         math_narrow_eval.
15036         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15037         Likewise.
15038         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15039         Likewise.
15040         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15041         Likewise.
15042         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15043         volatile.
15044         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15045         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15046         math_narrow_eval.
15047         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15048         Likewise.
15049         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15050         Likewise.
15052 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
15054         * nptl/Versions: Remove ignored symbols.
15056 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15058         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
15059         * nss/Makefile (tests): Update.
15061 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15063         * nss/bug18287.c: New file.
15064         * nss/Makefile (tests): Add bug18287.
15066 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15068         * mach/Versions (__mach_host_self_): Add symbol.
15070 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15072         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15073         vm_page_size.
15075 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15077         Really fix sysdeps/i386/fpu/s_scalbn.S build
15079         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15080         (libc: GLIBC_2_22): Remove unused version set.
15082 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15084         * config.make.in (enable-timezone-tools): New variable.
15085         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15086         (enable_timezone_tools): Export to generated files.
15087         * configure: Regenerate.
15088         * INSTALL: Regenerate.
15089         * manual/install.texi (--disable-timezone-tools): Document new flag.
15090         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15091         ifeq ($(enable-timezone-tools),yes) check.
15093 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15095         * timezone/Makefile: Revert previous change.
15097         [BZ #18980]
15098         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15099         (DEFINE_DBL_MIN): Likewise.
15100         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15101         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15102         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15103         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15104         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15105         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15106         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15107         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15108         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15109         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15110         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15111         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15112         (flt_min): Replace with use of DEFINE_FLT_MIN.
15113         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15114         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15115         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15116         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15117         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15118         (flt_min): Replace with use of DEFINE_FLT_MIN.
15119         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15120         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15121         (flt_min): Replace with use of DEFINE_FLT_MIN.
15122         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15123         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15124         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15125         (__ieee754_hypot): Use DBL_NARROW_EVAL.
15126         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15127         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15128         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15129         (__ieee754_pow): Use DBL_NARROW_EVAL.
15130         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15131         (__ieee754_powf): Use FLT_NARROW_EVAL.
15132         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15133         (__ieee754_expf_sse2): Convert double-precision result to single
15134         precision.
15135         * sysdeps/i386/fpu/libm-test-ulps: Update.
15137 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15139         * timezone/Makefile: Ignore unused variable errors due to private.h
15140         (time_t_min) and (time_t_max).
15141         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
15142         Likewise.
15144 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15146         [BZ #18981]
15147         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15148         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15149         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15150         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15151         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15152         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15153         (__scalbn): Use DBL_NARROW_EVAL.
15154         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15155         (__scalbnf): Use FLT_NARROW_EVAL.
15157 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15159         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15160         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15161         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15162         * stdio-common/printf_fp.c (___printf_fp):
15163         Use signbit to get the sign. Use isinf macro to allow inlining.
15164         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15165         * stdio-common/printf_size.c (__printf_size): Likewise.
15167 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15169         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15171 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15173         [BZ #18980]
15174         * sysdeps/generic/math_private.h: Include <float.h>.
15175         (math_narrow_eval): New macro.
15176         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15177         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15178         math_narrow_eval on overflowing return value.
15179         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15180         Likewise.
15181         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15182         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15183         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15184         Likewise.
15185         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15187 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15189         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15190         * math/Makefile: Remove isinf_ns.c.
15191         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15192         * math/multc3.c (__multc3): Likewise.
15193         * math/s_casin.c (__casin): Likewise.
15194         * math/s_casinf.c (__casinf): Likewise.
15195         * math/s_casinl.c (__casinl): Likewise.
15196         * math/s_cproj.c (__cproj): Likewise.
15197         * math/s_cprojf.c (__cprojf): Likewise.
15198         * math/s_cprojl.c (__cprofl): Likewise.
15199         * math/s_ctan.c (__ctan): Likewise.
15200         * math/s_ctanf.c (__ctanf): Likewise.
15201         * math/s_ctanh.c (__ctanh): Likewise.
15202         * math/s_ctanhf.c (__ctanhf): Likewise.
15203         * math/s_ctanhl.c (__ctanhl): Likewise.
15204         * math/s_ctanl.c (__ctanl): Likewise.
15205         * math/w_fmod.c (__fmod): Likewise.
15206         * math/w_fmodf.c (__fmodf): Likewise.
15207         * math/w_fmodl.c (_fmodl): Likewise.
15208         * math/w_remainder.c (__remainder): Likewise.
15209         * math/w_remainderf.c (__remainderf): Likewise.
15210         * math/w_remainderl.c (__remainderl): Likewise.
15211         * math/w_scalb.c (__scalb): Likewise.
15212         * math/w_scalbf.c (__scalbf): Likewise.
15213         * math/w_scalbl.c (__scalbl): Likewise.
15214         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15215         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15216         with isinf.
15217         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15218         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15219         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15220         __isinf_nsf with isinf.
15221         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15222         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15223         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15224         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15225         with isinf.
15226         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15227         __isinf_nsl with isinf.
15228         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15229         with isinf.
15230         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15231         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15232         __isinf_nsl with isinf.
15233         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15234         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15235         with isinf.
15237 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15239         * resolv/base64.c (rcsid): Remove unused static.
15240         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15241         static.  (tqpi1): Likewise.
15242         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15243         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15244         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15245         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15246         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15247         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15248         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15249         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15250         Likewise.
15252 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15254         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15255         <nptl/pthreadP.h>.
15256         (_longjmp_unwind): Use __libc_ptf_call.
15257         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15259 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15261         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15262         * sysdeps/arm/__longjmp.S: Likewise.
15264 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15266         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15267         Use __builtin_signbit.
15268         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15269         Use __builtin_signbitf.
15270         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15271         Use __builtin_signbitl.
15272         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15273         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15275 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15277         [BZ #15367]
15278         [BZ #17441]
15280         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15281         * math/math.h (fpclassify): Use __builtin_fpclassify when
15282         available.  (signbit): Use __builtin_signbit(f/l).
15283         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15284         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15285         (isinf): Use __builtin_isinf_sign.
15287 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15289         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15290         * benchtests/bench-math-inlines.c: New benchmark.
15291         * benchtests/bench-util.h: New file.
15292         * benchtests/bench-util.c: New file.
15293         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15295 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15297         * elf/tst-dlmopen1.c: Define TEST_SO.
15298         (do_test): Use TEST_SO.
15300         * elf/dl-load.c: Include libc-internal.h.
15301         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15303 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15305         [BZ #17887]
15306         * time/strptime_l.c (__strptime_internal): Make %z accept
15307         [+-]HH:MM time zones.
15309 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15311         [BZ #17886]
15312         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15313         valid time zone.
15315 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15317         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15318         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15319         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15320         (__ASSUME_FDATASYNC): Delete.
15322 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15324         * conform/linknamespace.pl: Require weak undefined symbols to be
15325         in the standard namespace.
15326         (%strong_syms): Rename to %seen_syms.
15327         (%strong_seen): Rename to %seen_where.
15329 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15331         [BZ #18970]
15332         * misc/error.c (error): Replace pthread_setcancelstate with
15333         __pthread_setcancelstate.
15334         (error_at_line): Likewise.
15335         * posix/wordexp.c (parse_comm): Likewise.
15336         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15337         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15338         (__pthread_setcancelstate): This.
15339         (pthread_setcancelstate): Add an alias.
15340         * nptl/nptl-init.c (pthread_functions): Replace
15341         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15342         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15343         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15344         hidden_proto.
15345         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15346         it with hidden_def.
15347         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15348         (pthread_setcancelstate): Renamed to ...
15349         (__pthread_setcancelstate): This.
15350         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15351         __libc_ptf_call with __pthread_setcancelstate.
15353 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15354             Andreas Schwab  <schwab@suse.de>
15356         [BZ #17118]
15357         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15358         result when imaginary part of argument is infinite using sine and
15359         cosine.
15360         * math/s_ctanf.c (__ctanf): Likewise.
15361         * math/s_ctanl.c (__ctanl): Likewise.
15362         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15363         of result when real part of argument is infinite using sine and
15364         cosine.
15365         * math/s_ctanhf.c (__ctanhf): Likewise.
15366         * math/s_ctanhl.c (__ctanhl): Likewise.
15367         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15368         (ctanh_test_data): Add more tests of ctanh.
15370 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15372         [BZ #15384]
15373         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15374         bit-mask as in subtraction.
15375         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15376         Likewise.
15377         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15378         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15379         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15381         [BZ #18951]
15382         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15383         underflow exception for small results.
15384         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15385         Likewise.
15386         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15387         Likewise.
15388         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15389         Likewise.
15390         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15391         Likewise.
15392         * math/auto-libm-test-in: Add more tests of tgamma.
15393         * math/auto-libm-test-out: Regenerated.
15395 2015-09-17  Andreas Schwab  <schwab@suse.de>
15397         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15399 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15401         [BZ #18977]
15402         * math/bits/mathcalls.h
15403         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15404         not declare.
15405         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15406         Likewise.
15407         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15408         Likewise.
15409         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15410         Likewise.
15411         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15412         Likewise.
15413         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15414         Likewise.
15415         * conform/data/math.h-data
15416         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15417         function.
15418         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15419         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15420         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15421         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15422         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15423         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15424         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15425         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15426         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15427         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15428         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15430         [BZ #6803]
15431         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15432         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15433         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15434         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15435         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15436         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15437         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15438         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15439         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15440         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15441         Likewise.
15442         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15443         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15444         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15445         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15446         long_double_symbol calls.
15447         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15448         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15449         strong alias of __ldexpl.
15450         (scalbnl): Define using long_double_symbol.
15451         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15452         Remove alias.
15453         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15454         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15455         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15456         (scalbln_test_data): Add more errno expectations.
15458 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15460         Cache the host port like we cache the task port.  This way we do not
15461         need to call the kernel just to get the port.  Furthermore, we no
15462         longer increase the reference count on every invocation of
15463         `mach_host_self'.
15465         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15466         Protect declarations against the macro expansion.
15467         * mach/mach_init.c (__mach_host_self_): New variable.
15468         (mach_init): Initialize `__mach_host_self_'.
15469         * mach/mach_init.h (__mach_host_self_): New declaration.
15470         (__mach_host_self, mach_host_self): New macros.
15471         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15472         Release reference.
15474 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15476         [BZ #4404]
15477         * po/de.po: Update from Translation Project.
15479         [BZ #16415]
15480         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15481         (__expm1l): Remove code to handle positive infinity and overflow.
15482         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15483         variable.
15484         (__expm1l): Remove code to handle positive infinity and overflow.
15486 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15487             Paul Pluzhnikov  <ppluzhnikov@google.com>
15489         [BZ #18872]
15490         * stdio-common/Makefile (tst-printf-bz18872): New test.
15491         (tst-printf-bz18872-mem.out): Likewise.
15492         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15493         * stdio-common/vfprintf.c: Fix memory leaks.
15495 2015-09-16  Andreas Schwab  <schwab@suse.de>
15497         [BZ #17244]
15498         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15499         Remove extra va_start/va_end calls.
15501         [BZ #17243]
15502         * posix/execl.c (execl): Add missing va_end.
15503         * posix/execle.c (execle): Likewise.
15504         * posix/execlp.c (execlp): Likewise.
15506 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15508         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15509         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15511 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15513         [BZ #18967]
15514         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15515         undefine around includes of <bits/mathcalls.h>.
15516         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15517         not declare function.
15518         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15519         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15520         (scalb): Likewise.
15521         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15522         not define macro.
15523         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15524         variable.
15525         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15526         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15527         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15529         [BZ #18857]
15530         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15531         return non-finite argument without doing ordered comparisons on
15532         it.
15534         [BZ #16296]
15535         * math/fenv.h (fegetround): Use __attribute_pure__.
15536         * include/fenv.h (__fegetround): Likewise.
15538         [BZ #18595]
15539         * math/s_ctan.c (__ctan): Force underflow exception for results
15540         whose real or imaginary part has small absolute value.
15541         * math/s_ctanf.c (__ctanf): Likewise.
15542         * math/s_ctanh.c (__ctanh): Likewise.
15543         * math/s_ctanhf.c (__ctanhf): Likewise.
15544         * math/s_ctanhl.c (__ctanhl): Likewise.
15545         * math/s_ctanl.c (__ctanl): Likewise.
15546         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15547         and ctanh.  Add more tests of ctan and ctanh.
15549         [BZ #15918]
15550         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15551         handling of cases where one argument is an infinity.
15553         [BZ #18875]
15554         [BZ #18966]
15555         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15556         (MO): New macro.
15557         (__ieee754_exp10): For small results, force underflow exception
15558         and remove excess range and precision from return value.
15559         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15560         (MO): New macro.
15561         (__ieee754_exp10f): For small results, force underflow exception
15562         and remove excess range and precision from return value.
15563         * math/auto-libm-test-in: Add more tests of exp10.
15564         * math/auto-libm-test-out: Regenerated.
15566 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15568         [BZ #18875]
15569         [BZ #18961]
15570         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15571         (MO): New macro.
15572         (__ieee754_exp): For small results, force underflow exception and
15573         remove excess range and precision from return value.
15574         (__exp_finite): Likewise.
15575         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15576         (MO): New macro.
15577         (__ieee754_expf): For small results, force underflow exception and
15578         remove excess range and precision from return value.
15579         (__expf_finite): Likewise.
15580         * math/auto-libm-test-in: Add more tests of exp.
15581         * math/auto-libm-test-out: Regenerated.
15583         [BZ #16521]
15584         [BZ #18875]
15585         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15586         small results.
15587         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15588         (MO): New macro.
15589         (__ieee754_exp2): For small results, force underflow exception and
15590         remove excess range and precision from return value.
15591         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15592         (MO): New macro.
15593         (__ieee754_exp2f): For small results, force underflow exception
15594         and remove excess range and precision from return value.
15595         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15596         (MO): New macro.
15597         (__ieee754_exp2l): Force underflow exception for small results.
15598         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15599         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15600         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15601         (MO): New macro.
15602         (__ieee754_exp2l): Force underflow exception for small results.
15603         * math/auto-libm-test-in: Add more tests or exp2.
15604         * math/auto-libm-test-out: Regenerated.
15606 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15608         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15610         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15611         /dev/null.
15613 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15615         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15616         io fs process)): Drop spurious backslash.
15618 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15620         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15621         Use sysinfo system call instead of parsing /proc/meminfo.
15622         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15623         Likewise.
15625 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15627         [BZ #16985]
15628         * programs/localedef.c (main): Display argv[remaining] when
15629         output_path is NULL.
15631 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15633         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15634         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15635         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15636         tanh.
15637         * math/auto-libm-test-out: Regenerated.
15638         * sysdeps/i386/fpu/libm-test-ulps: Update.
15639         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15640         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15643 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15645         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15646         Use 'override' keyword to freeze the value here, preventing
15647         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15649 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15651         [BZ #14912]
15652         * sysdeps/aarch64/bits/atomic.h: Move to ...
15653         * sysdeps/aarch64/atomic-machine.h: ...here.
15654         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15655         _AARCH64_ATOMIC_MACHINE_H.
15656         * sysdeps/alpha/bits/atomic.h: Move to ...
15657         * sysdeps/alpha/atomic-machine.h: ...here.
15658         * sysdeps/arm/bits/atomic.h: Move to ...
15659         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15660         * bits/atomic.h: Move to ...
15661         * sysdeps/generic/atomic-machine.h: ...here.
15662         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15663         * sysdeps/i386/bits/atomic.h: Move to ...
15664         * sysdeps/i386/atomic-machine.h: ...here.
15665         * sysdeps/ia64/bits/atomic.h: Move to ...
15666         * sysdeps/ia64/atomic-machine.h: ...here.
15667         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15668         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15669         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15670         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15671         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15672         * sysdeps/microblaze/bits/atomic.h: Move to ...
15673         * sysdeps/microblaze/atomic-machine.h: ...here.
15674         * sysdeps/mips/bits/atomic.h: Move to ...
15675         * sysdeps/mips/atomic-machine.h: ...here.
15676         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15677         * sysdeps/powerpc/bits/atomic.h: Move to ...
15678         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15679         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15680         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15681         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15682         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15683         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15684         <atomic-machine.h> instead of <bits/atomic.h>.
15685         * sysdeps/s390/bits/atomic.h: Move to ...
15686         * sysdeps/s390/atomic-machine.h: ...here.
15687         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15688         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15689         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15690         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15691         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15692         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15693         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15694         * sysdeps/tile/bits/atomic.h: Move to ...
15695         * sysdeps/tile/atomic-machine.h: ...here.
15696         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15697         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15698         <sysdeps/tile/atomic-machine.h> instead of
15699         <sysdeps/tile/bits/atomic.h>.
15700         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15701         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15702         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15703         <sysdeps/tile/atomic-machine.h> instead of
15704         <sysdeps/tile/bits/atomic.h>.
15705         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15706         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15707         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15708         <sysdeps/arm/atomic-machine.h> instead of
15709         <sysdeps/arm/bits/atomic.h>.
15710         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15711         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15712         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15713         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15714         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15715         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15716         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15717         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15718         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15719         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15720         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15721         * sysdeps/x86_64/bits/atomic.h: Move to ...
15722         * sysdeps/x86_64/atomic-machine.h: ...here.
15723         * include/atomic.h: Include <atomic-machine.h> instead of
15724         <bits/atomic.h>.
15726         * sysdeps/mips/mips32/libm-test-ulps: Update.
15727         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15729         [BZ #18952]
15730         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15731         not convert non-integer negative arguments to int to determine the
15732         value of signgam.
15733         * math/auto-libm-test-in: Add more tests of lgamma.
15734         * math/auto-libm-test-out: Regenerated.
15736         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15737         cosh, csqrt, erfc, expm1 and lgamma.
15738         * math/auto-libm-test-out: Regenerated.
15739         * sysdeps/i386/fpu/libm-test-ulps: Update.
15740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15742 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15744         [BZ #2542]
15745         [BZ #2543]
15746         [BZ #2558]
15747         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15748         __lgamma_neg for arguments from -28.0 to -2.0.
15749         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15750         __lgamma_negf for arguments from -15.0 to -2.0.
15751         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15752         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15753         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15754         Call __lgamma_negl for arguments from -33.0 to -2.0.
15755         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15756         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15757         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15758         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15759         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15760         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15761         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15762         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15763         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15764         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15765         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15766         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15767         (__lgamma_neg): Likewise.
15768         (__lgamma_negl): Likewise.
15769         (__lgamma_product): Likewise.
15770         (__lgamma_productl): Likewise.
15771         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15772         * math/auto-libm-test-in: Add more tests of lgamma.
15773         * math/auto-libm-test-out: Regenerated.
15774         * sysdeps/i386/fpu/libm-test-ulps: Update.
15775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15777 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15779         [BZ #18675]
15780         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15782 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15784         [BZ #14912]
15785         * bits/libc-lock.h: Move to ...
15786         * sysdeps/generic/libc-lock.h: ...here.
15787         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15788         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15789         * sysdeps/mach/hurd/libc-lock.h: ...here.
15790         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15791         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15792         * sysdeps/mach/bits/libc-lock.h: Move to ...
15793         * sysdeps/mach/libc-lock.h: ...here.
15794         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15795         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15796         * sysdeps/nptl/libc-lock.h: ...here.
15797         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15798         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15799         * sysdeps/nptl/libc-lockP.h: ...here.
15800         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15801         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15802         <bits/libc-lock.h>.
15803         * dirent/scandir-tail.c: Likewise.
15804         * dlfcn/dlerror.c: Likewise.
15805         * elf/dl-close.c: Likewise.
15806         * elf/dl-iteratephdr.c: Likewise.
15807         * elf/dl-lookup.c: Likewise.
15808         * elf/dl-open.c: Likewise.
15809         * elf/dl-support.c: Likewise.
15810         * elf/dl-writev.h: Likewise.
15811         * elf/rtld.c: Likewise.
15812         * grp/fgetgrent.c: Likewise.
15813         * gshadow/fgetsgent.c: Likewise.
15814         * gshadow/sgetsgent.c: Likewise.
15815         * iconv/gconv_conf.c: Likewise.
15816         * iconv/gconv_db.c: Likewise.
15817         * iconv/gconv_dl.c: Likewise.
15818         * iconv/gconv_int.h: Likewise.
15819         * iconv/gconv_trans.c: Likewise.
15820         * include/link.h: Likewise.
15821         * inet/getnameinfo.c: Likewise.
15822         * inet/getnetgrent.c: Likewise.
15823         * inet/getnetgrent_r.c: Likewise.
15824         * intl/bindtextdom.c: Likewise.
15825         * intl/dcigettext.c: Likewise.
15826         * intl/finddomain.c: Likewise.
15827         * intl/gettextP.h: Likewise.
15828         * intl/loadmsgcat.c: Likewise.
15829         * intl/localealias.c: Likewise.
15830         * intl/textdomain.c: Likewise.
15831         * libidn/idn-stub.c: Likewise.
15832         * libio/libioP.h: Likewise.
15833         * locale/duplocale.c: Likewise.
15834         * locale/freelocale.c: Likewise.
15835         * locale/newlocale.c: Likewise.
15836         * locale/setlocale.c: Likewise.
15837         * login/getutent_r.c: Likewise.
15838         * login/getutid_r.c: Likewise.
15839         * login/getutline_r.c: Likewise.
15840         * login/utmp-private.h: Likewise.
15841         * login/utmpname.c: Likewise.
15842         * malloc/mtrace.c: Likewise.
15843         * misc/efgcvt.c: Likewise.
15844         * misc/error.c: Likewise.
15845         * misc/fstab.c: Likewise.
15846         * misc/getpass.c: Likewise.
15847         * misc/mntent.c: Likewise.
15848         * misc/syslog.c: Likewise.
15849         * nis/nis_call.c: Likewise.
15850         * nis/nis_callback.c: Likewise.
15851         * nis/nss-default.c: Likewise.
15852         * nis/nss_compat/compat-grp.c: Likewise.
15853         * nis/nss_compat/compat-initgroups.c: Likewise.
15854         * nis/nss_compat/compat-pwd.c: Likewise.
15855         * nis/nss_compat/compat-spwd.c: Likewise.
15856         * nis/nss_nis/nis-alias.c: Likewise.
15857         * nis/nss_nis/nis-ethers.c: Likewise.
15858         * nis/nss_nis/nis-grp.c: Likewise.
15859         * nis/nss_nis/nis-hosts.c: Likewise.
15860         * nis/nss_nis/nis-network.c: Likewise.
15861         * nis/nss_nis/nis-proto.c: Likewise.
15862         * nis/nss_nis/nis-pwd.c: Likewise.
15863         * nis/nss_nis/nis-rpc.c: Likewise.
15864         * nis/nss_nis/nis-service.c: Likewise.
15865         * nis/nss_nis/nis-spwd.c: Likewise.
15866         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15867         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15868         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15869         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15870         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15871         * nis/nss_nisplus/nisplus-network.c: Likewise.
15872         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15873         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15874         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15875         * nis/nss_nisplus/nisplus-service.c: Likewise.
15876         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15877         * nis/ypclnt.c: Likewise.
15878         * nptl/libc_pthread_init.c: Likewise.
15879         * nss/getXXbyYY.c: Likewise.
15880         * nss/getXXent.c: Likewise.
15881         * nss/getXXent_r.c: Likewise.
15882         * nss/nss_db/db-XXX.c: Likewise.
15883         * nss/nss_db/db-netgrp.c: Likewise.
15884         * nss/nss_db/nss_db.h: Likewise.
15885         * nss/nss_files/files-XXX.c: Likewise.
15886         * nss/nss_files/files-alias.c: Likewise.
15887         * nss/nsswitch.c: Likewise.
15888         * posix/regex_internal.h: Likewise.
15889         * posix/wordexp.c: Likewise.
15890         * pwd/fgetpwent.c: Likewise.
15891         * resolv/res_hconf.c: Likewise.
15892         * resolv/res_libc.c: Likewise.
15893         * shadow/fgetspent.c: Likewise.
15894         * shadow/lckpwdf.c: Likewise.
15895         * shadow/sgetspent.c: Likewise.
15896         * socket/opensock.c: Likewise.
15897         * stdio-common/reg-modifier.c: Likewise.
15898         * stdio-common/reg-printf.c: Likewise.
15899         * stdio-common/reg-type.c: Likewise.
15900         * stdio-common/vfprintf.c: Likewise.
15901         * stdio-common/vfscanf.c: Likewise.
15902         * stdlib/abort.c: Likewise.
15903         * stdlib/cxa_atexit.c: Likewise.
15904         * stdlib/fmtmsg.c: Likewise.
15905         * stdlib/random.c: Likewise.
15906         * stdlib/setenv.c: Likewise.
15907         * string/strsignal.c: Likewise.
15908         * sunrpc/auth_none.c: Likewise.
15909         * sunrpc/bindrsvprt.c: Likewise.
15910         * sunrpc/create_xid.c: Likewise.
15911         * sunrpc/key_call.c: Likewise.
15912         * sunrpc/rpc_thread.c: Likewise.
15913         * sysdeps/arm/backtrace.c: Likewise.
15914         * sysdeps/generic/ldsodefs.h: Likewise.
15915         * sysdeps/generic/stdio-lock.h: Likewise.
15916         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15917         * sysdeps/i386/backtrace.c: Likewise.
15918         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15919         * sysdeps/m68k/backtrace.c: Likewise.
15920         * sysdeps/mach/hurd/cthreads.c: Likewise.
15921         * sysdeps/mach/hurd/dirstream.h: Likewise.
15922         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15923         * sysdeps/nptl/malloc-machine.h: Likewise.
15924         * sysdeps/nptl/stdio-lock.h: Likewise.
15925         * sysdeps/posix/dirstream.h: Likewise.
15926         * sysdeps/posix/getaddrinfo.c: Likewise.
15927         * sysdeps/posix/system.c: Likewise.
15928         * sysdeps/pthread/aio_suspend.c: Likewise.
15929         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15930         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15931         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15932         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15933         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15934         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15935         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15936         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15937         * sysdeps/unix/sysv/linux/system.c: Likewise.
15938         * sysdeps/x86_64/backtrace.c: Likewise.
15939         * time/alt_digit.c: Likewise.
15940         * time/era.c: Likewise.
15941         * time/tzset.c: Likewise.
15942         * wcsmbs/wcsmbsload.c: Likewise.
15943         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15944         instead of <bits/libc-lock.h> in comment.
15946 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15948         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15949         Only use .set mips2 if the current ISA is below mips2.
15950         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15951         Likewise.
15952         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15953         mips32r2 if the current ISA is below mips32r2.
15954         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15955         (TLS_IE): Updated to use the TLD_RDHWR macro.
15956         (TLS_LE): Likewise.
15957         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15958         __ASSEMBLER__ condition.
15960 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15962         Fix parallel build of before-compile targets.
15964         * sysdeps/mach/Makefile ($(patsubst
15965         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15966         mach-before-compile target.
15967         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15968         io fs process)): Move rule to dedicated hurd-before-compile target.
15970 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15972         Fix rules generating headers in hurd/ and mach/ when initial make call
15973         has subdir= explicitly set.
15975         * sysdeps/mach/Makefile ($(patsubst
15976         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15977         calling $(MAKE).
15978         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15979         io fs process)): Force subdir to hurd when calling $(MAKE).
15980         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15981         subdir to mach when calling $(MAKE).
15983 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15985         Check sysheaders when looking for Mach and Hurd headers
15987         * sysdeps/mach/configure.ac: Add sysheaders check.
15988         * sysdeps/mach/configure: Regenerate.
15989         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15990         * sysdeps/mach/hurd/configure: Regenerate.
15992 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15994         [BZ #18921]
15995         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15996         Fix inverted sense of test of 'o_directory_works' value.
15997         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15998         Bernhard Voelker <mail@bernhard-voelker.de>.
16000 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16002         [BZ #14912]
16003         * bits/linkmap.h: Move to ...
16004         * sysdeps/generic/linkmap.h: ...here.
16005         * sysdeps/aarch64/bits/linkmap.h: Move to ...
16006         * sysdeps/aarch64/linkmap.h: ...here.
16007         * sysdeps/arm/bits/linkmap.h: Move to ...
16008         * sysdeps/arm/linkmap.h: ...here.
16009         * sysdeps/hppa/bits/linkmap.h: Move to ...
16010         * sysdeps/hppa/linkmap.h: ...here.
16011         * sysdeps/ia64/bits/linkmap.h: Move to ...
16012         * sysdeps/ia64/linkmap.h: ...here.
16013         * sysdeps/mips/bits/linkmap.h: Move to ...
16014         * sysdeps/mips/linkmap.h: ...here.
16015         * sysdeps/s390/bits/linkmap.h: Move to ...
16016         * sysdeps/s390/linkmap.h: ...here.
16017         * sysdeps/sh/bits/linkmap.h: Move to ...
16018         * sysdeps/sh/linkmap.h: ...here.
16019         * sysdeps/x86/bits/linkmap.h: Move to ...
16020         * sysdeps/x86/linkmap.h: ...here.
16021         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16023 2015-09-04  Andreas Schwab  <schwab@suse.de>
16025         [BZ #18635]
16026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16027         (__makecontext): Terminate FDE before return label.
16028         (__novec_makecontext): Likewise.
16030 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16032         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16033         first member of struct sv in syscall macro.
16035 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16037         [BZ #14912]
16038         * bits/stdio-lock.h: Move to ...
16039         * sysdeps/generic/stdio-lock.h: ...here.
16040         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16041         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16042         * sysdeps/nptl/stdio-lock.h: ...here.
16043         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16044         * include/libio.h: Include <stdio-lock.h> instead of
16045         <bits/stdio-lock.h>.
16046         * sysdeps/nptl/fork.c: Likewise.
16047         * sysdeps/pthread/flockfile.c: Likewise.
16048         * sysdeps/pthread/ftrylockfile.c: Likewise.
16049         * sysdeps/pthread/funlockfile.c: Likewise.
16051         [BZ #14912]
16052         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16053         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16054         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16055         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16056         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16057         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16058         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16060 2015-09-03  Roland McGrath  <roland@hack.frob.com>
16062         * elf/Makefile (test-xfail-tst-protected1a): New variable.
16063         (test-xfail-tst-protected1b): New variable.
16065 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
16067         [BZ #14912]
16068         * bits/libc-tsd.h: Move to ...
16069         * sysdeps/generic/libc-tsd.h: ...here.
16070         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16071         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16072         * sysdeps/mach/hurd/libc-tsd.h: ...here.
16073         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16074         * include/ctype.h: Include <libc-tsd.h> instead of
16075         <bits/libc-tsd.h>.
16076         * include/rpc/rpc.h: Likewise.
16077         * locale/localeinfo.h: Likewise.
16078         * sunrpc/rpc_thread.c: Likewise.
16079         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16080         * sysdeps/nptl/malloc-machine.h: Likewise.
16082         * Makefile (headers): Remove bits/libc-lock.h.
16083         * libio/Makefile (headers): Remove bits/stdio-lock.h.
16085         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16086         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16087         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16088         <bits/stdio-lock.h>.
16089         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16090         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16092 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16094         [BZ #18757]
16095         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16096         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16097         BZ #18757.
16099 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16101         * malloc/mtrace.pl: Filter out NULL entries.
16103 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
16105         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16106         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16107         macro.
16109         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16110         (TCP_CC_INFO): Likewise.
16111         (TCP_SAVE_SYN): Likewise.
16112         (TCP_SAVED_SYN): Likewise.
16114 2015-08-31  Brett Neumeier <brett@neumeier.us>
16116         [BZ #18870]
16117         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16119 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
16121         [BZ #18873]
16122         Fix broken overflow check in posix_fallocate
16123         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16124         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16125         Fix parenthesization typo.
16127 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
16129         [BZ #18887]
16130         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16131         tst-mntent-blank-passno.
16132         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16133         * misc/tst-mntent-blank-corrupt.c: New test.
16134         * misc/tst-mntent-blank-passno.c: New test ripped from ...
16135         * misc/tst-mntent.c (do_test): ... here.
16137 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
16139         [BZ #4404]
16140         * po/de.po: Fix SIGALRM typo.
16142 2015-08-28  James Perkins  <james@loowit.net>
16144         * time/tst-strptime2.c (tests): Replace short list of test
16145         strings for strptime %z specifier with code which exhaustively
16146         tests every combination of sign and 0 to 5 digits. Tests for
16147         rejection of invalid strings.
16149 2015-08-28  James Perkins  <james@loowit.net>
16151         [BZ #16141]
16152         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16153         calculation, removing incorrect decimal time rounding, so that
16154         all minute values result in a valid seconds value.
16155         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16156         offset range limits to UTC-99:59 through UTC+99:59 to parse
16157         current and historical use cases.
16158         * time/tst-strptime2.c (tests): Modify and add tests for the
16159         strptime %z input field descriptor, specifically conversion of
16160         minutes to seconds and validating an offset range of -9959 to
16161         +9959.
16163 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16164             Dmitry V. Levin  <ldv@altlinux.org>
16166         [BZ #18877]
16167         * posix/Makefile (tests): Add tst-mmap-offset.
16168         * posix/tst-mmap.c: New file.
16169         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16170         offset calculation for negative values.
16172 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16174         * sysdeps/i386/init-arch.h: New file.
16175         * sysdeps/i386/i586/init-arch.h: Likewise.
16176         * sysdeps/i386/i686/init-arch.h: Likewise.
16177         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16178         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16179         * sysdeps/x86/cpu-features.h (bit_I586): New.
16180         (bit_I686): Likewise.
16181         (bit_CX8): Likewise.
16182         (bit_CMOV): Likewise.
16183         (index_CX8): Likewise.
16184         (index_CMOV): Likewise.
16185         (index_I586): Likewise.
16186         (index_I686): Likewise.
16187         (reg_CX8): Likewise.
16188         (reg_CMOV): Likewise.
16189         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16190         available at compile-time.
16191         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16192         available at compile-time.
16193         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16194         (USE_I686): Likewise.
16196 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16198         * sysdeps/i386/bcopy.S: New file.
16199         * sysdeps/i386/bzero.S: Likewise.
16200         * sysdeps/i386/memcpy.S: Likewise.
16201         * sysdeps/i386/memmove.S: Likewise.
16202         * sysdeps/i386/mempcpy.S: Likewise.
16203         * sysdeps/i386/memset.S: Likewise.
16204         * sysdeps/i386/bzero.c: Removed.
16205         * sysdeps/i386/memset.c: Likewise.
16206         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16207         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16208         * sysdeps/i386/i586/memset_chk.S: Likewise.
16209         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16210         * sysdeps/i386/memcpy_chk.S: Here.
16211         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16212         * sysdeps/i386/memmove_chk.S: Here.
16213         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16214         * sysdeps/i386/mempcpy_chk.S: Likewise.
16215         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16216         * sysdeps/i386/memset_chk.S: Likewise.
16218 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16220         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16221         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16222         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16223         * soft-fp/fmadf4.c: Ditto.
16224         * soft-fp/fmatf4.c: Ditto.
16226 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16228         * sysdeps/i386/i586/Implies: Removed.
16229         * sysdeps/i386/i686/Implies: Likewise.
16231 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16233         * sysdeps/i386/i486/strlen.S: Moved to ...
16234         * sysdeps/i386/strlen.S: Here.
16236 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16238         * sysdeps/i386/i486/strcat.S: Moved to ...
16239         * sysdeps/i386/strcat.S: Here.
16241 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16243         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16244         * sysdeps/i386/pthread_spin_trylock.S: Here.
16245         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16246         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16248 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16250         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16251         * sysdeps/i386/string-inlines.c: Here.
16253 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16255         * sysdeps/i386/i486/htonl.S: Moved ...
16256         * sysdeps/i386/htonl.S: here.
16258 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16260         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16261         * sysdeps/i386/bits/atomic.h: Here.
16263 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16265         * sysdeps/i386/i486/Versions: Removed.
16267 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16269         [BZ #2898]
16270         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16271         Based on patch by Aurelien Jarno.
16273 2015-08-26  Stan Shebs  <stanshebs@google.com>
16275         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16276         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16278 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16280         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16281         * sysdeps/powerpc/dl-procinfo.c:
16282         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16283         feature so it shows when LD_SHOW_AUXV=1.
16285 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16287         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16288         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16289         definition.  ISA 2.07B no longer requires full sync.
16291 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16293         [BZ #18863]
16294         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16295         (si_call_addr): Define.
16296         (si_syscall): Define.
16297         (si_arch): Define.
16299 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16301         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16302         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16303         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16304         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16305         (__memset_zero_constant_len_parameter): New.
16306         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16307         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16308         (__memset_zero_constant_len_parameter): Don't define if
16309         __memset_chk or USE_AS_BZERO are defined.
16311         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16312         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16313         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16315         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16316         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16317         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16318         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16319         comments.
16320         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16321         -mno-mmx for $(all-rtld-routines).
16322         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16323         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16324         i386.
16326 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16328         * sysdeps/generic/unwind.h
16329         (_Unwind_Word): Use __mode__(__unwind_word__)
16330         instead of __mode__(__word__).
16331         (_Unwind_Sword): Likewise.
16333         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16334         (MAX_NEEDED_INPUT): New define.
16335         (MAX_NEEDED_OUTPUT): New define.
16337         * NEWS: New item for IBM z13 string optimizations.
16339         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16340         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16341         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16342         * sysdeps/s390/multiarch/Makefile
16343         (sysdep_routines): Add memrchr functions.
16344         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16345         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16347         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16348         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16349         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16350         * sysdeps/s390/multiarch/Makefile
16351         (sysdep_routines): Add wmemcmp functions.
16352         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16353         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16354         * benchtests/bench-wmemcmp.c: New File.
16355         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16357         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16358         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16359         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16360         * sysdeps/s390/multiarch/Makefile
16361         (sysdep_routines): Add wmemset functions.
16362         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16363         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16364         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16365         * string/test-memset.c: Add wmemset support.
16366         * wcsmbs/test-wmemset.c: New File.
16367         * wcsmbs/Makefile (strop-tests): Add wmemset.
16368         * benchtests/bench-memset.c: Add wmemset support.
16369         * benchtests/bench-wmemset.c: New File.
16370         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16372         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16373         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16374         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16375         * sysdeps/s390/multiarch/Makefile
16376         (sysdep_routines): Add memccpy functions.
16377         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16378         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16379         * string/memccpy.c: Use MEMCCPY if defined.
16381         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16382         * sysdeps/s390/multiarch/memchr.c: Likewise.
16383         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16384         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16385         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16386         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16387         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16388         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16389         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16390         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16391         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16392         and rawmemchr functions.
16393         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16394         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16395         and wmemchr.
16396         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16397         * string/test-memchr.c: Add wmemchr support.
16398         * wcsmbs/test-wmemchr.c: New File.
16399         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16400         * benchtests/bench-memchr.c: Add wmemchr support.
16401         * benchtests/bench-wmemchr.c: New File.
16402         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16404         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16405         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16406         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16407         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16408         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16409         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16410         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16411         wcscspn functions.
16412         * sysdeps/s390/multiarch/ifunc-impl-list.c
16413         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16414         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16415         * string/test-strcspn.c: Add wcscspn support.
16416         * wcsmbs/test-wcscspn.c: New File.
16417         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16418         * benchtests/bench-strcspn.c: Add wcscspn support.
16419         * benchtests/bench-wcscspn.c: New File.
16420         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16422         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16423         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16424         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16425         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16426         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16427         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16428         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16429         wcspbrk functions.
16430         * sysdeps/s390/multiarch/ifunc-impl-list.c
16431         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16432         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16433         * string/test-strpbrk.c: Add wcspbrk support.
16434         * wcsmbs/test-wcspbrk.c: New File.
16435         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16436         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16437         * benchtests/bench-wcspbrk.c: New File.
16438         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16440         * sysdeps/s390/multiarch/strspn-c.c: New File.
16441         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16442         * sysdeps/s390/multiarch/strspn.c: Likewise.
16443         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16444         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16445         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16446         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16447         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16448         wcsspn functions.
16449         * sysdeps/s390/multiarch/ifunc-impl-list.c
16450         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16451         * string/test-strspn.c: Add wcsspn support.
16452         * wcsmbs/test-wcsspn.c: New File.
16453         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16454         * benchtests/bench-strspn.c: Add wcsspn support.
16455         * benchtests/bench-wcsspn.c: New File.
16456         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16458         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16459         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16460         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16461         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16462         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16463         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16464         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16465         wcsrchr functions.
16466         * sysdeps/s390/multiarch/ifunc-impl-list.c
16467         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16468         * benchtests/bench-wcsrchr.c: New File.
16469         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16471         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16472         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16473         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16474         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16475         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16476         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16477         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16478         wcschrnul functions.
16479         * sysdeps/s390/multiarch/ifunc-impl-list.c
16480         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16481         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16482         * string/test-strchr.c: Add wcschrnul support.
16483         * wcsmbs/test-wcschrnul.c: New File.
16484         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16485         * benchtests/bench-strchr.c: Add wcschrnul support.
16486         * benchtests/bench-wcschrnul.c: New File.
16487         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16489         * sysdeps/s390/multiarch/strchr-c.c: New File.
16490         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16491         * sysdeps/s390/multiarch/strchr.c: Likewise.
16492         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16493         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16494         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16495         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16496         wcschr functions.
16497         * sysdeps/s390/multiarch/ifunc-impl-list.c
16498         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16499         * string/strchr.c (STRCHR): Define and use macro.
16500         * benchtests/bench-wcschr.c: New File.
16501         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16503         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16504         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16505         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16506         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16507         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16508         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16509         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16510         wcsncmp functions.
16511         * sysdeps/s390/multiarch/ifunc-impl-list.c
16512         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16513         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16514         * benchtests/bench-strncmp.c: Add wcsncmp support.
16515         * benchtests/bench-wcsncmp.c: New File.
16516         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16518         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16519         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16520         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16521         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16522         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16523         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16524         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16525         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16526         wcscmp functions.
16527         * sysdeps/s390/multiarch/ifunc-impl-list.c
16528         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16529         * string/strcmp.c (STRCMP): Define and use macro.
16530         * benchtests/bench-wcscmp.c: New File.
16531         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16532         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16533         instead of _HAVE_STRING_ARCH_memchr.
16535         * sysdeps/s390/multiarch/strncat-c.c: New File.
16536         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16537         * sysdeps/s390/multiarch/strncat.c: Likewise.
16538         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16539         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16540         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16541         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16542         wcsncat functions.
16543         * sysdeps/s390/multiarch/ifunc-impl-list.c
16544         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16545         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16546         * string/test-strncat.c: Add wcsncat support.
16547         * wcsmbs/test-wcsncat.c: New File.
16548         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16549         * benchtests/bench-strncat.c: Add wcsncat support.
16550         * benchtests/bench-wcsncat.c: New File.
16551         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16553         * sysdeps/s390/multiarch/strcat-c.c: New File.
16554         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16555         * sysdeps/s390/multiarch/strcat.c: Likewise.
16556         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16557         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16558         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16559         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16560         wcscat functions.
16561         * sysdeps/s390/multiarch/ifunc-impl-list.c
16562         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16563         * string/strcat.c (STRCAT): Define and use macro.
16564         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16565         * string/test-strcat.c: Add wcscat support.
16566         * wcsmbs/test-wcscat.c: New File.
16567         * wcsmbs/Makefile (strop-tests): Add wcscat.
16568         * benchtests/bench-strcat.c: Add wcscat support.
16569         * benchtests/bench-wcscat.c: New File.
16570         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16572         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16573         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16574         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16575         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16576         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16577         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16578         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16579         wcpncpy functions.
16580         * sysdeps/s390/multiarch/ifunc-impl-list.c
16581         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16582         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16583         * string/test-stpncpy.c: Add wcpncpy support.
16584         * wcsmbs/test-wcpncpy.c: New File.
16585         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16586         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16587         * benchtests/bench-wcpncpy.c: New File.
16588         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16590         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16591         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16592         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16593         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16594         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16595         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16596         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16597         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16598         wcsncpy functions.
16599         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16600         * sysdeps/s390/multiarch/ifunc-impl-list.c
16601         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16602         * string/test-strncpy.c: Add wcsncpy support.
16603         * wcsmbs/test-wcsncpy.c: New File.
16604         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16605         * benchtests/bench-strncpy.c: Add wcsncpy support.
16606         * benchtests/bench-wcsncpy.c: New File.
16607         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16609         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16610         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16611         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16612         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16613         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16614         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16615         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16616         wcpcpy functions.
16617         * string/stpcpy.c: Use STPCPY if defined.
16618         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16619         * sysdeps/s390/multiarch/ifunc-impl-list.c
16620         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16621         * string/test-stpcpy.c: Add wcpcpy support.
16622         * wcsmbs/test-wcpcpy.c: New File.
16623         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16624         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16625         * benchtests/bench-wcpcpy.c: New File.
16626         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16628         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16629         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16630         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16631         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16632         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16633         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16634         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16635         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16636         wcscpy functions.
16637         * sysdeps/s390/multiarch/ifunc-impl-list.c
16638         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16639         * benchtests/bench-wcscpy.c: New File.
16640         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16642         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16643         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16644         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16645         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16646         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16647         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16648         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16649         wcsnlen functions.
16650         * sysdeps/s390/multiarch/ifunc-impl-list.c
16651         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16652         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16653         * string/test-strnlen.c: Add wcsnlen support.
16654         * wcsmbs/test-wcsnlen.c: New File.
16655         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16656         * benchtests/bench-strnlen.c: Add wcsnlen support.
16657         * benchtests/bench-wcsnlen.c: New File.
16658         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16660         * sysdeps/s390/multiarch/Makefile: New File.
16661         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16662         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16663         * sysdeps/s390/multiarch/strlen.c: Likewise.
16664         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16665         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16666         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16667         * string/strlen.c (STRLEN): Define and use macro.
16668         * sysdeps/s390/multiarch/ifunc-impl-list.c
16669         (IFUNC_VX_IMPL): New macro function.
16670         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16671         * benchtests/Makefile (wcsmbs-bench): New variable.
16672         (string-bench-all): Added wcsmbs-bench.
16673         * benchtests/bench-wcslen.c: New File.
16675         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16676         s390_vx_libc_ifunc2): New macro function.
16678         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16679         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16680         assembler support.
16681         * sysdeps/s390/configure: Regenerated.
16683         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16684         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16686         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16687         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16688         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16690         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16691         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16692         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16693         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16694         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16695         (memcmp, bcmp): Use __memcmp_default as alias source.
16696         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16697         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16698         Rename to __memcmp_default.
16699         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16700         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16701         (memcpy): Use __memcpy_default as alias source.
16702         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16703         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16704         Rename to __memcpy_default.
16705         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16706         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16707         (memset): Use __memset_default as alias source.
16708         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16709         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16710         Rename to __memset_default.
16711         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16712         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16713         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16714         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16715         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16716         (memcmp, bcmp): Use __memcmp_default as alias source.
16717         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16718         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16719         Rename to __memcmp_default.
16720         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16721         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16722         (memcpy): Use __memcpy_default as alias source.
16723         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16724         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16725         Rename to __memcpy_default.
16726         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16727         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16728         (memset): Use __memset_default as alias source.
16729         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16730         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16731         Rename to __memset_default.
16732         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16733         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16735         [BZ #18610]
16736         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16737         __ieee_instruction_pointer to __unused.
16738         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16739         __ieee_instruction_pointer.
16740         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16741         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16742         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16743         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16744         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16745         Mark dxc-field as reserved.
16747 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16749         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16750         if the weak reference is not null.
16752 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16754         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16756         [BZ #11214]
16757         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16759 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16761         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16762         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16763         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16764         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16765         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16766         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16767         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16768         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16769         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16770         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16771         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16772         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16773         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16774         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16775         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16776         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16777         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16778         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16780 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16782         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16783         register other than r0 for tabort, it has special meaning.
16784         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16785         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16786         transaction before starting syscall.
16788 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16790         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16792 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16794         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16796         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16797         * sysdeps/x86_64/rtld-memset.S: Likewise.
16798         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16799         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16800         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16801         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16803         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16805 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16807         * debug/strcpy_chk.c: Improve performance.
16808         * debug/stpcpy_chk.c: Likewise.
16809         * sysdeps/x86_64/strcpy_chk.S: Remove.
16810         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16812         [BZ #18240]
16813         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16815 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16817         [BZ #15128]
16818         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16819         ifuncmain8.
16820         (modules-names): Add ifuncmod8.
16821         ($(objpfx)ifuncmain8): New rule.
16822         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16823         <cpuid.h>.
16824         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16825         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16826         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16827         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16828         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16829         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16830         * sysdeps/x86_64/ifuncmain8.c: New file.
16831         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16832         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16833         Removed.
16834         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16835         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16836         Change rtld_savespace_sse to __glibc_unused2.
16837         (RTLD_CHECK_FOREIGN_CALL): Removed.
16838         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16839         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16840         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16842 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16844         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16846 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16848         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16849         Unconditionally set __fpcr to avoid uninialized warning.
16850         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16852 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16854         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16855         is corrupt.
16857         * malloc/arena.c (arena_get2): Drop unused argument.
16858         (arena_lock): Adjust.
16859         (arena_get_retry): Likewise.
16861 2015-08-24  Andreas Schwab  <schwab@suse.de>
16863         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16864         Don't define.
16865         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16866         (__ASSUME_IPC64): Don't undef.
16867         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16868         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16869         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16870         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16871         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16872         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16873         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16874         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16875         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16876         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16877         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16878         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16879         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16880         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16881         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16882         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16883         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16884         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16885         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16886         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16887         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16889 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16891         * manual/Makefile (install): Only build manual when perl is available.
16893 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16895         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16896         '#undef memcpy' by '#undef memchr'.
16898 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16900         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16901         memchr not point to the internal __GI_memchr implementation.
16903 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16905         * timezone/Makefile (CFLAGS-zdump.c): Remove
16906         -Wno-strict-prototypes.
16907         (CFLAGS-zic.c): Likewise.
16908         (CFLAGS-ialloc.c): Likewise.
16909         (CFLAGS-scheck.c): Likewise.
16911         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16912         -Wno-error=undef.
16914 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16916         * i386/i686/multiarch/strcasestr-c.c: Removed.
16917         * x86_64/multiarch/strcasestr.c: Likewise.
16918         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16919         Remove strcasestr.
16921 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16923         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16925         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16926         variables for high and low parts before possibly modifying them.
16928 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16930         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16931         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16932         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16933         of "multiarch/init-arch.h".
16934         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16935         * sysdeps/x86/init-arch.h: This.
16937 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16939         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16940         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16942 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16944         [BZ #17787]
16945         * manual/macros.texi: Add twoexp macro.
16946         * manual/filesys.texi: Fix exponents.
16947         * manual/llio.texi: Likewise.
16948         * manual/stdio.texi: Likewise.
16950 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16952         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16953         incorrect use.
16955 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16957         [BZ #18370]
16958         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16959         whose real or imaginary part has small absolute value.
16960         * math/s_csqrtf.c (__csqrtf): Likewise.
16961         * math/s_csqrtl.c (__csqrtl): Likewise.
16962         * math/auto-libm-test-in: Add more tests of csqrt.
16963         * math/auto-libm-test-out: Regenerated.
16964         * sysdeps/i386/fpu/libm-test-ulps: Update.
16966 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16968         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16969         __ppc_set_ppr_very_low): New functions.
16970         * manual/platform.texi: Add documentation about
16971         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16973 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16975         * string/stpncpy.c (stpncpy): Improve performance using
16976         __strnlen/memcpy/memset.
16978 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16980         [BZ #18796]
16981         * scripts/test-installation.pl: Don't add -lmvec to build options if
16982         libmvec wasn't built.
16984 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16986         [BZ #14341]
16987         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16988         case when there is a gap between DT_REL and DT_JMPREL sections.
16989         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16990         (LDFLAGS-tst-split-dynreloc): New.
16991         (tst-split-dynreloc-ENV): Likewise.
16992         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16993         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16995 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16997         [BZ #18822]
16998         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16999         attribute_hidden.
17000         (__xstat64_conv): Likewise.
17001         (__xstat32_conv): Likewise.
17003 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17005         [BZ #18822]
17006         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17007         Don't load %ebx when calling __setcontext.  Call __setcontext
17008         with HIDDEN_JUMPTARGET.
17009         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17010         libc_hidden_def.
17012 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17014         * sysdeps/i386/i686/Makefile
17015         [$(subdir) == string] (sysdep_routines): Moved to ...
17016         * sysdeps/i386/Makefile: Here.
17017         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17018         * sysdeps/i386/cacheinfo.c: Here.
17019         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17020         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17021         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17022         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17024 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17026         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17027         __i586__ is defined.
17028         (HAS_I686): Defined to 1 if __i686__ is defined.
17030 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17032         * elf/Makefile [$(have-z-execstack) = yes]
17033         (CPPFLAGS-tst-execstack.c): New variable.
17035         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17036         conditional to [defined UTMPX || _HAVE_UT_TYPE].
17037         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17038         UTMPX || _HAVE_UT_TV].
17039         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17040         UTMPX || _HAVE_UT_TV - 0].
17042 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
17044         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17045         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17046         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17048 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17050         * sysdeps/powerpc/dl-procinfo.c:
17051         (_dl_powerpc_cap_flags): Added missing strings for some
17052         hwcap features.
17053         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17055 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
17057         Port the 0x7efe...feff pattern to GCC 6.
17058         See Steve Ellcey's bug report in:
17059         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17060         * string/memrchr.c (MEMRCHR):
17061         * string/rawmemchr.c (RAWMEMCHR):
17062         * string/strchr.c (strchr):
17063         * string/strchrnul.c (STRCHRNUL):
17064         Rewrite code to avoid issues with signed shift overflow.
17066 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
17068         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17069         whether cpuid is available only if HAS_CPUID is 0.
17070         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17071         (HAS_I586): Likewise.
17072         (HAS_I686): Likewise.
17074 2015-08-18  Zack Weinberg  <zackw@panix.com>
17076         * misc/Versions (libc): Add GLIBC_2.23.
17078 2015-08-18  Alan Modra  <amodra@gmail.com>
17080         [BZ #18421]
17081         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17082         .Lp__global.
17083         (_start): Load %dp via .Lp__global.
17084         [!SHARED]: Use .section .rodata.
17086 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17088         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17089         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17091 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17093         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17094         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17096 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17098         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17099         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17101 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17103         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17104         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17106 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17108         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17109         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17111 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17113         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17114         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17116 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17118         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17120 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17122         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17123         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
17124         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17125         (__ASSUME_LWS_CAS): Delete.
17127 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17129         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17130         * sysdeps/hppa/configure: Regenerated.
17131         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17132         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17133         * sysdeps/hppa/nptl/tls.h: Likewise.
17135 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
17137         [BZ #18823]
17138         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17139         for scaling up small arguments.
17140         * math/s_csqrtf.c (__csqrtf): Likewise.
17141         * math/s_csqrtl.c (__csqrtl): Likewise.
17142         * math/auto-libm-test-in: Add more tests of csqrt.
17143         * math/auto-libm-test-out: Regenerated.
17145 2015-08-17  Andreas Schwab  <schwab@suse.de>
17147         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17148         version set GLIBC_2.19.
17150 2015-08-16  Zack Weinberg  <zackw@panix.com>
17152         [BZ #18681]
17153         * misc/regexp.h: This interface is no longer supported.
17154         Remove all contents, leaving only an #error directive.
17155         * misc/regexp.c (loc1, loc2, locs, step, advance):
17156         Demote to compatibility symbols.
17158 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17160         [BZ #18084]
17161         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17162         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17163         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17164         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17165         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17166         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17167         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17168         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17169         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17171 2015-08-15  Zack Weinberg  <zackw@panix.com>
17173         [BZ #18795]
17174         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17175         buffer length is known to be too large, not if it's known to be
17176         small enough.
17177         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17178         overflow at runtime, involving a length parameter, twice: once
17179         with a compile-time constant length parameter, once without.
17181 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17183         [BZ #18824]
17184         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17185         scaling x * y up instead of down.
17186         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17187         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17188         * math/auto-libm-test-in: Add more tests of fma.
17189         * math/auto-libm-test-out: Regenerated.
17191 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17193         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17195 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17197         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17198         unnecessary movq.
17199         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17200         Likewise.
17202 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17204         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17205         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17206         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17207         and tgamma.
17208         * math/auto-libm-test-out: Regenerated.
17209         * sysdeps/i386/fpu/libm-test-ulps: Update.
17210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17212         [BZ #16520]
17213         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17214         (__tanh): Force underflow exception for arguments with small
17215         absolute value.
17216         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17217         (__tanhf): Force underflow exception for arguments with small
17218         absolute value.
17219         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17220         (__tanhl): Force underflow exception for arguments with small
17221         absolute value.
17222         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17223         (__tanhl): Force underflow exception for arguments with small
17224         absolute value.
17225         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17226         (__tanhl): Force underflow exception for arguments with small
17227         absolute value.
17228         * math/auto-libm-test-in: Add more tests of tanh.
17229         * math/auto-libm-test-out: Regenerated.
17230         * sysdeps/i386/fpu/libm-test-ulps: Update.
17232 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17234         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17235         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17237 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17239         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17240         <cpuid.h>.
17242 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17244         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17245         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17247 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17249         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17250         Remove $(objpfx)init-arch.o.
17251         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17252         init-arch.
17253         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17254         (INIT_ARCH_EXT): Defined as empty.
17255         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17256         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17257         __init_cpu_features call.  Replace HAS_XXX with
17258         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17259         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17260         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17261         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17262         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17263         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17264         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17265         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17266         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17267         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17268         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17269         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17270         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17271         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17272         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17273         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17274         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17275         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17276         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17277         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17278         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17279         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17280         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17281         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17282         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17283         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17284         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17285         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17286         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17287         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17288         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17289         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17290         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17291         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17292         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17293         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17295 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17297         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17298         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17299         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17300         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17301         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17302         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17303         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17304         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17305         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17306         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17307         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17308         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17309         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17310         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17311         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17312         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17313         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17314         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17315         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17316         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17317         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17318         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17319         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17320         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17321         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17322         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17323         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17324         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17325         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17326         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17327         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17328         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17329         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17330         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17331         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17332         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17333         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17334         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17335         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17336         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17337         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17338         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17339         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17341 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17343         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17344         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17345         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17346         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17347         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17348         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17349         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17350         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17351         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17352         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17353         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17354         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17355         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17356         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17357         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17358         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17359         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17360         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17361         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17362         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17363         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17364         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17365         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17366         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17367         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17368         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17369         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17370         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17371         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17372         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17373         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17374         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17375         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17376         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17377         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17378         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17379         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17380         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17381         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17382         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17383         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17384         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17385         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17387 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17389         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17390         (dl_platform_init): Call init_cpu_features.
17391         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17392         * sysdeps/i386/i686/cacheinfo.c
17393         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17394         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17395         * sysdeps/i386/i686/multiarch/Versions: Removed.
17396         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17397         Removed.
17398         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17399         * sysdeps/unix/sysv/linux/x86/Makefile
17400         (libpthread-sysdep_routines): Remove init-arch.
17401         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17402         <sysdeps/x86_64/dl-procinfo.c> instead of
17403         sysdeps/generic/dl-procinfo.c>.
17404         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17405         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17406         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17407         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17408         [$(subdir) == elf] (tests-static): Add
17409         tst-get-cpu-features-static.
17410         * sysdeps/x86/Versions: New file.
17411         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17412         * sysdeps/x86/cpu-features.c: Likewise.
17413         * sysdeps/x86/cpu-features.h: Likewise.
17414         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17415         * sysdeps/x86/libc-start.c: Likewise.
17416         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17417         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17418         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17419         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17420         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17421         Assume USE_MULTIARCH is defined and don't check it.
17422         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17423         (is_amd): Likewise.
17424         (max_cpuid): Likewise.
17425         (intel_check_word): Likewise.
17426         (__cache_sysconf): Don't call __init_cpu_features.
17427         (__x86_preferred_memory_instruction): Removed.
17428         (init_cacheinfo): Don't call __init_cpu_features. Replace
17429         __cpu_features with GLRO(dl_x86_cpu_features).
17430         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17431         (dl_platform_init): Call init_cpu_features.
17432         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17433         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17434         * sysdeps/x86_64/multiarch/Versions: Removed.
17435         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17436         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17437         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17438         Removed.
17439         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17441 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17443         [BZ #18820]
17444         * libio/Makefile (test-fmemopen-mem): New test.
17445         * libio/test-fmemopen.c (do_bz18820): New test.
17446         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17447         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17449 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17451         [BZ #16734]
17452         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17453         (FREE_BUF): Delete.
17454         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17455         * libio/genops.c (_IO_setb): Use malloc and free directly.
17456         (_IO_default_doallocate, _IO_default_finish): Likewise.
17457         ( _IO_unbuffer_all): Likewise.
17458         ( libc_freeres_fn): Likewise.
17459         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17460         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17461         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17462         (_IO_wdefault_doallocate): Likewise.
17464 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17466         [BZ #18086]
17467         * sysdeps/posix/nice.c (nice): Restore old errno.
17468         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17470 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17472         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17474 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17476         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17477         __bcopy and add a weak_alias to bcopy.
17478         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17479         for static build.
17481         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17482         cleanup macro usage.
17483         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17484         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17485         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17486         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17487         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17488         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17489         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17490         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17491         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17492         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17493         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17494         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17495         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17496         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17497         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17498         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17499         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17500         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17501         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17503         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17504         libc_hidden_def.
17505         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17507         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17508         (sysdep_routines): Add strstr-ppc64.
17509         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17511 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17513         [BZ #18778]
17514         * elf/Makefile (tests): Add Add tst-nodelete2.
17515         (modules-names): Add tst-nodelete2mod.
17516         (tst-nodelete2mod.so-no-z-defs): New.
17517         ($(objpfx)tst-nodelete2): Likewise.
17518         ($(objpfx)tst-nodelete2.out): Likewise.
17519         (LDFLAGS-tst-nodelete2): Likewise.
17520         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17521         out of loop through all loaded libraries.
17522         * elf/tst-nodelete2.c: New file.
17523         * elf/tst-nodelete2mod.c: Likewise.
17524         * elf/tst-znodelete-zlib.cc: Delete.
17526 2015-08-11  Andreas Schwab  <schwab@suse.de>
17528         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17529         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17530         (__openat64_nocancel): Likewise.
17532 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17534         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17535         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17536         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17537         * math/auto-libm-test-out: Regenerated.
17538         * sysdeps/i386/fpu/libm-test-ulps: Update.
17539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17541 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17543         [BZ #18790]
17544         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17545         threshold for returning +/- 1.
17546         * math/auto-libm-test-in: Add more tests of tanh.
17547         * math/auto-libm-test-out: Regenerated.
17548         * sysdeps/i386/fpu/libm-test-ulps: Update.
17550 2015-08-10  Andreas Schwab  <schwab@suse.de>
17552         [BZ #18781]
17553         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17554         MORE_OFLAGS to oflag.
17555         * io/test-lfs.c (do_test): Test openat64.
17557 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17559         [BZ #18789]
17560         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17561         smaller threshold for returning the argument.
17562         * math/auto-libm-test-in: Add more tests of sinh.
17563         * math/auto-libm-test-out: Regenerated.
17564         * sysdeps/i386/fpu/libm-test-ulps: Update.
17566 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17568         [BZ #18674]
17569         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17570         break.
17572 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17574         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17575         (generated): Don't add $(addprefix z.,$(tzfiles)).
17577 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17579         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17580         * scripts/sysd-rules.awk: Likewise.
17582 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17584         * iconvdata/tst-tables.sh: Change echo -n to printf.
17585         * nss/db-Makefile: Likewise.
17586         * posix/tst-getconf.sh: Likewise.
17587         * stdio-common/tst-unbputc.sh: Likewise.
17589 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17591         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17592         MADV_*_PAGES defines behind this feature check.
17594 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17596         [BZ #18480]
17597         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17598         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17599         Define.
17600         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17601         LOAD_REGS_5, LOAD_REGS_6): Update.
17602         (INTERNAL_SYSCALL): Update using new LOAD defines.
17603         (INTERNAL_SYSCALL_NCS): Likewise.
17604         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17606 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17608         [BZ #16734]
17609         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17611 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17613         [BZ #17905]
17614         * catgets/Makefile (tst-catgets-mem): New test.
17615         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17616         * catgets/open_catalog.c (__open_catalog): Likewise.
17617         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17619 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17621         [BZ #18787]
17622         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17623         clobber registers.
17624         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17625         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17626         Cast return to __typeof (oldval).
17628 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17630         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17631         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17632         and delete sys/syscall.h include.
17634 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17636         [BZ #16517]
17637         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17638         (tan): Force underflow exception for arguments with small absolute
17639         value.
17640         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17641         (__kernel_tanf): Force underflow exception for arguments with
17642         small absolute value.
17643         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17644         (__kernel_tanl): Force underflow exception for arguments with
17645         small absolute value.
17646         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17647         (__kernel_tanl): Force underflow exception for arguments with
17648         small absolute value.
17649         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17650         (__kernel_tanl): Force underflow exception for arguments with
17651         small absolute value.
17652         * math/auto-libm-test-in: Add more tests of tan.
17653         * math/auto-libm-test-out: Regenerated.
17655 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17657         Fix sysdeps/i386/fpu/s_scalbn.S build
17659         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17661 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17663         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17665 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17667         Fix gcrt0.o compilation
17669         When static-start-installed-name is different from
17670         start-installed-name, we must not use the shared objects.
17672         * csu/Makefile
17673         (extra-objs): Add gmon-start.o when building shared library and
17674         $(static-start-installed-name) is different from
17675         $(start-installed-name).
17676         $(objpfx)g$(static-start-installed-name): When building shared
17677         library and $(static-start-installed-name) is different from
17678         $(static-start-installed-name), revert to non-shared rule,
17679         i.e. using $(objpfx)% and gmon-start.o.
17681 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17683         [BZ #16519]
17684         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17685         (__ieee754_sinh): Force underflow exception for arguments with
17686         small absolute value.
17687         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17688         (__ieee754_sinhf): Force underflow exception for arguments with
17689         small absolute value.
17690         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17691         (__ieee754_sinhl): Force underflow exception for arguments with
17692         small absolute value.
17693         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17694         (__ieee754_sinhl): Force underflow exception for arguments with
17695         small absolute value.
17696         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17697         (__ieee754_sinhl): Force underflow exception for arguments with
17698         small absolute value.
17699         * math/auto-libm-test-in: Add more tests of sinh.
17700         * math/auto-libm-test-out: Regenerated.
17701         * sysdeps/i386/fpu/libm-test-ulps: Update.
17703 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17705         * libio/oldfileops.c: Include unistd.h.
17707 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17709         * stdlib/isomac.c: Include ctype.h.
17711 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17713         * dirent/tst-seekdir.c (main): Converted to ...
17714         (do_test): ... this.
17715         (TEST_FUNCTION): New macro.
17716         Include test-skeleton.c.
17717         * elf/tst-dlmodcount.c (main): Converted to ...
17718         (do_test): ... this.
17719         (TEST_FUNCTION): New macro.
17720         Include test-skeleton.c.
17721         * elf/tst-order-main.c (main): Converted to ...
17722         (do_test): ... this.
17723         (TEST_FUNCTION): New macro.
17724         Include test-skeleton.c.
17725         * elf/tst-pie2.c (main): Converted to ...
17726         (do_test): ... this.
17727         (TEST_FUNCTION): New macro.
17728         Include test-skeleton.c.
17729         * inet/tst-ether_aton.c (main): Converted to ...
17730         (do_test): ... this.
17731         (TEST_FUNCTION): New macro.
17732         Include test-skeleton.c.
17733         * misc/tst-mntent.c (main): Converted to ...
17734         (do_test): ... this.
17735         (TEST_FUNCTION): New macro.
17736         Include test-skeleton.c.
17737         * misc/tst-tsearch.c (main): Converted to ...
17738         (do_test): ... this.
17739         (TEST_FUNCTION): New macro.
17740         Include test-skeleton.c.
17741         * posix/tst-regexloc.c (main): Converted to ...
17742         (do_test): ... this.
17743         (TEST_FUNCTION): New macro.
17744         Include test-skeleton.c.
17745         * resolv/tst-aton.c (main): Converted to ...
17746         (do_test): ... this.
17747         (TEST_FUNCTION): New macro.
17748         Include test-skeleton.c.
17749         * stdio-common/test-fwrite.c (main): Converted to ...
17750         (do_test): ... this.
17751         (TEST_FUNCTION): New macro.
17752         Include test-skeleton.c.
17753         * stdio-common/tst-ferror.c (main): Converted to ...
17754         (do_test): ... this.
17755         (TEST_FUNCTION): New macro.
17756         Include test-skeleton.c.
17757         * stdio-common/tst-printf.c (main): Converted to ...
17758         (do_test): ... this.
17759         (TEST_FUNCTION): New macro.
17760         Include test-skeleton.c.
17761         * stdio-common/tst-printfsz.c (main): Converted to ...
17762         (do_test): ... this.
17763         (TEST_FUNCTION): New macro.
17764         Include test-skeleton.c.
17765         * stdlib/tst-strtod.c (main): Converted to ...
17766         (do_test): ... this.
17767         (TEST_FUNCTION): New macro.
17768         Include test-skeleton.c.
17769         * string/tst-strlen.c (main): Converted to ...
17770         (do_test): ... this.
17771         (TEST_FUNCTION): New macro.
17772         Include test-skeleton.c.
17773         * string/tst-svc.c (main): Converted to ...
17774         (do_test): ... this.
17775         (TEST_FUNCTION): New macro.
17776         Include test-skeleton.c.
17777         * time/tst-strptime.c (main): Converted to ...
17778         (do_test): ... this.
17779         (TEST_FUNCTION): New macro.
17780         Include test-skeleton.c.
17781         * timezone/tst-timezone.c (main): Converted to ...
17782         (do_test): ... this.
17783         (TEST_FUNCTION): New macro.
17784         Include test-skeleton.c.
17786 2015-08-05  Zack Weinberg  <zackw@panix.com>
17788         * misc/regexp.h: Update comments.
17790 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17792         [BZ #18635]
17793         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17794         before return label.
17796 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17798         [BZ #18661]
17799         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17800         when calling __errno_location.
17801         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17802         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17804 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17806         [BZ #18661]
17807         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17808         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17809         __gettimeofday.
17811 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17813         [BZ #18661]
17814         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17815         (__start_context): Don't use pop to restore %rdi so that stack
17816         is aligned to 16 bytes when calling __setcontext.
17818 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17820         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17821         only for libc.
17822         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17824 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17826         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17827         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17828         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17830 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17832         * string/memccpy.c (memccpy):
17833         Improve performance by using memchr/memcpy/__mempcpy.
17835 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17837         * string/strncpy.c (strncpy):
17838         Improve performance by using __strnlen/memcpy.
17840 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17842         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17843         Optimize to avoid an unnecessary FPCR read.
17845 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17847         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17848         Optimize to reduce FPCR/FPSR accesses.
17850 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17852         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17853         dead->data[category] != NULL.
17855 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17857         [BZ #18647]
17858         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17859         and |x| close to 1, use absolute value of x when computing log.
17860         * math/auto-libm-test-in: Add more tests of pow.
17861         * math/auto-libm-test-out: Regenerated.
17863 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17865         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17866         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17867         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17869 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17871         [BZ #18525]
17872         * locales/km_KH: Remove timezone definition.
17873         * locales/lo_LA: Likewise.
17874         * locales/my_MM: Likewise.
17875         * locales/nan_TW@latin: Likewise.
17876         * locales/th_TH: Likewise.
17877         * locales/uk_UA: Likewise.
17879 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17881         [BZ #18265]
17882         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17883         (wcsncat): Likewise.
17884         (wcscmp): Likewise.
17885         (wcsncmp): Likewise.
17887 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17889         * test-skeleton.c (usage): New function.
17890         (main): Call usage when opt is '?'.
17892 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17894         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17895         before first use.
17897 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17899         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17900         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17901         in there too.
17903 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17905         * version.h (RELEASE): Set to "development".
17906         (VERSION): Set to "2.22.90"
17908         * version.h (RELEASE): Set to "stable".
17909         (VERSION): Set to "2.22"
17910         * include/features.h (__GLIBC_MINOR__): Set to 22.
17912 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17914         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17915         Restructure macro to avoid "value computed is not used" warning.
17916         (atomic_compare_and_exchange_val_acq): Likewise.
17918 2015-08-04  Andreas Schwab  <schwab@suse.de>
17920         [BZ #18635]
17921         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17922         ret.
17923         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17925 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17927         * po/pl.po: Updated translation.
17928         * po/uk.po: Likewise.
17929         * po/fi.po: Likewise.
17930         * po/ko.po: Likewise.
17931         * po/ru.po: Likewise.
17932         * po/vi.po: Likewise.
17934 2015-07-31  Zack Weinberg  <zackw@panix.com>
17936         [BZ #18681]
17937         * regexp.h: Add unconditional #warning stating that this header
17938         will be removed soon.  Revise banner comment to match.
17939         (compile): Consistently use ERROR instead of RETURN to report
17940         errors (partial fix for bz#18681).
17941         * regexp.c: Don't include regexp.h. Remove some unnecessary
17942         declarations.
17944 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17946         * po/libc.pot: Regenerated.
17948 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17950         [BZ #18740]
17951         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17952         float-vlen4-arch-ext-cflags): Removed.
17953         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17954         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17956 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17958         [BZ #14113]
17959         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17960         aligned to __aligned__.
17961         (pthread_cond_t, pthread_rwlock_t): Likewise.
17963 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17965         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17967 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17969         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17970         (struct sigaction): Change sa_flags from a long to an int, and add
17971         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17973 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17975         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17976         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17977         sysdeps/generic/sysdep.h include.
17978         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17979         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17980         sysdeps/hppa/sysdep.h.
17981         (ENTRY, PSEUDO): Undefine before defining.
17983 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17985         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17986         from scratch to use INTERNAL_SYSCALL.
17988 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17990         [BZ #18078]
17991         * scripts/check-localplt.awk: Support alternate relocations.
17992         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17993         sections.
17994         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17995         malloc entries with + REL R_386_GLOB_DAT.
17996         * sysdeps/x86_64/localplt.data: New file.
17998 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
18000         [BZ #18731]
18001         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18002         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18003         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18005 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18007         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18009 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18011         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18012         directly in terms of __sync_fetch_and_add and delete (int) cast.
18014 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18016         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18017         the -D_ASM_IA64_CURRENT_H flag.
18019 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18021         [BZ #18641]
18022         * pwd/pwd.h (putpwent): Delete __nonnull markings.
18024 2015-07-27  Andreas Schwab  <schwab@suse.de>
18026         * conform/conformtest.pl (checknamespace): Filter out string
18027         literals while tokenizing.
18029 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18031         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18032         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18033         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18035 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18037         * nptl/tst-join7mod.c: Add #include <string.h>.
18039 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18041         * sysdeps/nios2/libm-test-ulps: Update.
18043 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18045         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18046         Fix order of arguments to the rt_sigprocmask syscall.
18047         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18048         Likewise.
18050 2015-07-24  Roland McGrath  <roland@hack.frob.com>
18052         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18054 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18056         [BZ #18457]
18057         * nptl/Makefile (tests): New test case tst-join7.
18058         (modules-names): New test case module tst-join7mod.
18059         * nptl/tst-join7.c: New file.
18060         * nptl/tst-join7mod.c: New file.
18061         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18062         all translation units in libc.so, libpthread.so and rtld.
18064 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18068 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18070         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18071         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18072         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18073         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18074         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18075         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18076         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18077         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18078         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18079         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18080         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18081         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18082         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18083         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18084         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18085         implementation.
18087 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18089         [BZ #17711]
18090         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18091         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18092         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18093         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18094         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18095         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18097 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18099         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18100         instead of just saying load lock in the comments.
18102 2015-07-23  Roland McGrath  <roland@hack.frob.com>
18104         * sysdeps/unix/Subdirs: Moved ...
18105         * sysdeps/posix/Subdirs: ... here.
18106         * login/pty.h (struct termios, struct winsize): Add forward decls.
18107         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18108         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18109         * sysdeps/arm/nacl/libc.abilist: Updated.
18110         * sysdeps/nacl/libutil.abilist: New file.
18112         * bits/signum.h: Update comments to mention 1003.1-2013 too.
18113         (SIGWINCH): New macro.
18115         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18116         * sysdeps/arm/nacl/libc.abilist: Add it.
18118 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18120         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18122 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18124         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18125         Swap __glibc_reserved0 and sa_flags order.
18127 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18129         [BZ #18657]
18130         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18131         are pending TLS destructor calls.
18132         * include/link.h (struct link_map): Add concurrency note for
18133         L_TLS_DTOR_COUNT.
18134         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18135         Don't touch the link map flag.  Atomically increment
18136         l_tls_dtor_count.
18137         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18138         Avoid taking the load lock and don't touch the link map flag.
18139         * stdlib/tst-tls-atexit-nodelete.c: New test case.
18140         * stdlib/Makefile (tests): Use it.
18141         * stdlib/tst-tls-atexit.c (do_test): dlopen
18142         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
18143         to allow tst-tls-atexit-nodelete test case to use it.
18145 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18147         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18148         to bits/types.h.
18149         (msgqnum_t): New typedef.
18150         (msglen_t): Likewise.
18151         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18152         and msg_qbytes type to msglen_t.
18154 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18156         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18157         pad0 to __glibc_reserved0.
18158         (struct stat64): Likewise.
18160 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18162         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18163         Change sa_flags from a long to an int and add __glibc_reserved0 before
18164         it for padding.
18166 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18168         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18169         anonymous by deleting "siginfo" name.
18171 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18173         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18174         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18175         rather than __nacl_irt_filename.
18176         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18178         * NEWS: New item for arm-nacl port.
18179         * sysdeps/arm/nacl/libc.abilist: New file.
18180         * sysdeps/nacl/ld.abilist: New file.
18181         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18182         * sysdeps/nacl/libanl.abilist: New file.
18183         * sysdeps/nacl/libcrypt.abilist: New file.
18184         * sysdeps/nacl/libdl.abilist: New file.
18185         * sysdeps/nacl/libm.abilist: New file.
18186         * sysdeps/nacl/libpthread.abilist: New file.
18187         * sysdeps/nacl/libresolv.abilist: New file.
18188         * sysdeps/nacl/librt.abilist: New file.
18190 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18192         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18193         __startcontext to initialize the new context.
18194         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18195         up CFI directive to forbid further backtracing.
18197 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18199         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18200         reference.
18201         * charmaps/ANSI_X3.4-1968: Likewise.
18202         * charmaps/BS_4730: Likewise.
18203         * charmaps/BS_VIEWDATA: Likewise.
18204         * charmaps/CP1250: Likewise.
18205         * charmaps/CP1251: Likewise.
18206         * charmaps/CP1252: Likewise.
18207         * charmaps/CP1253: Likewise.
18208         * charmaps/CP1254: Likewise.
18209         * charmaps/CP1255: Likewise.
18210         * charmaps/CP1256: Likewise.
18211         * charmaps/CSN_369103: Likewise.
18212         * charmaps/EBCDIC-DK-NO: Likewise.
18213         * charmaps/GB_1988-80: Likewise.
18214         * charmaps/GREEK-CCITT: Likewise.
18215         * charmaps/GREEK7: Likewise.
18216         * charmaps/INIS-8: Likewise.
18217         * charmaps/ISIRI-3342: Likewise.
18218         * charmaps/ISO_2033-1983: Likewise.
18219         * charmaps/ISO_5427-EXT: Likewise.
18220         * locales/POSIX: Likewise.
18221         * locales/ar_SA: Likewise.
18222         * locales/be_BY: Likewise.
18223         * locales/be_BY@latin: Likewise.
18224         * locales/ca_ES: Likewise.
18225         * locales/cs_CZ: Likewise.
18226         * locales/da_DK: Likewise.
18227         * locales/de_BE: Likewise.
18228         * locales/de_CH: Likewise.
18229         * locales/de_LU: Likewise.
18230         * locales/en_AU: Likewise.
18231         * locales/en_BW: Likewise.
18232         * locales/en_CA: Likewise.
18233         * locales/en_DK: Likewise.
18234         * locales/en_GB: Likewise.
18235         * locales/en_IE: Likewise.
18236         * locales/en_NZ: Likewise.
18237         * locales/en_ZA: Likewise.
18238         * locales/en_ZW: Likewise.
18239         * locales/es_AR: Likewise.
18240         * locales/es_BO: Likewise.
18241         * locales/es_CL: Likewise.
18242         * locales/es_CO: Likewise.
18243         * locales/es_DO: Likewise.
18244         * locales/es_EC: Likewise.
18245         * locales/es_ES: Likewise.
18246         * locales/es_HN: Likewise.
18247         * locales/es_MX: Likewise.
18248         * locales/es_PA: Likewise.
18249         * locales/es_PE: Likewise.
18250         * locales/es_PY: Likewise.
18251         * locales/es_SV: Likewise.
18252         * locales/es_US: Likewise.
18253         * locales/es_UY: Likewise.
18254         * locales/es_VE: Likewise.
18255         * locales/et_EE: Likewise.
18256         * locales/fa_IR: Likewise.
18257         * locales/fo_FO: Likewise.
18258         * locales/fr_CA: Likewise.
18259         * locales/fr_CH: Likewise.
18260         * locales/gv_GB: Likewise.
18261         * locales/he_IL: Likewise.
18262         * locales/hr_HR: Likewise.
18263         * locales/id_ID: Likewise.
18264         * locales/is_IS: Likewise.
18265         * locales/it_CH: Likewise.
18266         * locales/iw_IL: Likewise.
18267         * locales/kl_GL: Likewise.
18268         * locales/ko_KR: Likewise.
18269         * locales/kw_GB: Likewise.
18270         * locales/lg_UG: Likewise.
18271         * locales/lt_LT: Likewise.
18272         * locales/lv_LV: Likewise.
18273         * locales/mi_NZ: Likewise.
18274         * locales/nhn_MX: Likewise.
18275         * locales/nl_BE: Likewise.
18276         * locales/pl_PL: Likewise.
18277         * locales/sk_SK: Likewise.
18278         * locales/sl_SI: Likewise.
18279         * locales/sv_FI: Likewise.
18280         * locales/tl_PH: Likewise.
18281         * locales/tr_TR: Likewise.
18282         * locales/vi_VN: Likewise.
18284 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18286         [BZ #17475]
18287         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18288         of tu_IN and bh_IN.
18290 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18292         [BZ #18694]
18293         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18294         bits/wordsize.h.
18295         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18297 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18299         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18300         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18301         (spawn_thread): New function.
18302         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18303         (do_test): ... here.  Use IS_LOADED to test for its
18304         availability.
18306 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18308         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18310 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18312         [BZ #18696]
18313         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18314         si_addr_bnd.
18315         (si_lower): New.
18316         (si_upper): Likewise.
18318 2015-07-16  David S. Miller  <davem@davemloft.net>
18320         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18322 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18324         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18325         buffer.
18326         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18327         fail output information.
18329 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18332         and strstr-ppc64..
18333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18334         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18335         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18336         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18337         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18339 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18341         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18342         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18343         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18344         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18346 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18348         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18349         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18350         rtld_hidden_proto.
18351         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18353 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18355         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18356         the test can fail.
18358         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18360         [BZ #18676]
18361         * elf/tst-nodelete-opened.c: New test case.
18362         * elf/tst-nodelete-opened-lib.c: New test case module.
18363         * elf/Makefile (tests, modules-names): Use them.
18364         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18365         early.
18367 2015-07-15  David S. Miller  <davem@davemloft.net>
18369         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18370         futex-intenal.h
18371         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18372         * sysdeps/sparc/sparc64/Makefile: Likewise.
18373         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18374         Remove space from macro define.
18375         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18377 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18379         [BZ #17475]
18380         * locale/iso-639.def: Update Bhili and Tulu language codes as
18381         per iso639-3.
18383 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18385         * elf/tst-leaks1.c (main): Converted to ...
18386         (do_test): ... this.
18387         (TEST_FUNCTION): New macro.
18388         Include test-skeleton.c.
18389         * localedata/tst-langinfo.c (main): Converted to ...
18390         (do_test): ... this.
18391         (TEST_FUNCTION): New macro.
18392         Include test-skeleton.c.
18393         * math/test-fpucw.c (main): Converted to ...
18394         (do_test): ... this.
18395         (TEST_FUNCTION): New macro.
18396         Include test-skeleton.c.
18397         * math/test-tgmath.c (main): Converted to ...
18398         (do_test): ... this.
18399         (TEST_FUNCTION): New macro.
18400         Include test-skeleton.c.
18401         * math/test-tgmath2.c (main): Converted to ...
18402         (do_test): ... this.
18403         (TEST_FUNCTION): New macro.
18404         Include test-skeleton.c.
18405         * setjmp/tst-setjmp.c (main): Converted to ...
18406         (do_test): ... this.
18407         (TEST_FUNCTION): New macro.
18408         Include test-skeleton.c.
18409         * stdio-common/tst-sscanf.c (main): Converted to ...
18410         (do_test): ... this.
18411         (TEST_FUNCTION): New macro.
18412         Include test-skeleton.c.
18413         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18414         (do_test): ... this.
18415         (TEST_FUNCTION): New macro.
18416         Include test-skeleton.c.
18418         * elf/tst-audit9.c (main): Converted to ...
18419         (do_test): ... this.
18420         (TEST_FUNCTION): New macro.
18421         Include test-skeleton.c.
18423 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18425         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18427 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18429         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18430         New variable.
18432 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18434         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18436 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18438         * sysdeps/generic/dl-fileid.h: New file.
18439         * sysdeps/posix/dl-fileid.h: New file.
18440         * sysdeps/nacl/dl-fileid.h: New file.
18441         * include/link.h: Include <dl-fileid.h>.
18442         (struct link_map): Replace l_dev and l_ino with l_file_id.
18443         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18444         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18445         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18447 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18449         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18451 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18453         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18454         Add iff $CXX is set.
18455         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18456         Likewise.
18457         (tst-nodelete-zmodiff): Likewise.
18458         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18460 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18462         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18464 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18466         * sysdeps/aarch64/fpu/math_private.h
18467         (define math_opt_barrier): Add AArch64 version.
18468         (math_force_eval): Likewise.
18470 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18472         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18474 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18476         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18477         %ld with %jd and cast to intmax_t.
18478         (do_test_length_zero): Likewise.
18480 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18482         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18484 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18486         * sysdeps/tile/libm-test-ulps: Regenerated.
18488         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18489         Comment out the whole function, not just its body.
18491 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18493         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18494         locks.
18496         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18498 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18500         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18501         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18503 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18505         * sysdeps/nptl/futex-internal.h: New file.
18506         * sysdeps/nacl/futex-internal.h: New file.
18507         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18508         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18509         error checking.
18510         (setxid_unmark_thread): Likewise.
18511         (__nptl_setxid): Likewise.
18512         (__wait_lookup_done): Likewise.
18513         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18514         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18515         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18516         * nptl/pthread_once.c (clear_once_control): Likewise.
18517         (__pthread_once_slow): Likewise.
18518         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18519         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18520         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18521         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18522         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18523         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18524         Likewise.
18525         (__pthread_rwlock_rdlock): Likewise.
18526         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18527         Likewise.
18528         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18529         Likewise.
18530         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18531         Likewise.
18532         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18533         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18534         Likewise.
18535         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18536         __ASSUME_PRIVATE_FUTEX check.
18537         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18538         Check that shared futexes are supported.
18539         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18540         wrappers with error checking.
18541         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18542         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18543         * nptl/pthread_barrierattr_setpshared.c
18544         (pthread_barrierattr_setpshared): Check that shared futexes are
18545         supported.
18546         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18547         Likewise.
18548         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18549         Likewise.
18550         * nptl/sem_init.c (futex_private_if_supported): Remove.
18551         (__new_sem_init): Adapt and check that shared futexes are supported.
18552         * nptl/sem_open.c (sem_open): Likewise.
18553         * nptl/sem_post.c (futex_wake): Remove.
18554         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18555         (do_futex_wait): Use futex wrappers with error checking.
18556         * nptl/sem_wait.c: Include lowlevellock.h.
18557         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18558         Use futex_supports_pshared.
18559         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18560         Use futex wrappers with error checking.
18561         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18562         Likewise.
18563         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18564         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18565         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18566         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18567         (futex_wake): Likewise.
18568         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18569         (do_futex_wait): Use futex wrappers with error checking.
18570         (__new_sem_wait_slow): Update EINTR handling.
18571         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18573 2015-07-09  Martin Sebor  <msebor@redhat.com>
18575         [BZ #18435]
18576         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18577         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18578         * nptl/Makefile (test-xfail-tst-once5): Define.
18580 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18582         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18583         * elf/dl-minimal.c: For readability, reorder some definitions and
18584         introduce more page breaks.  Include <stdio.h>.
18585         (__libc_fatal): New function.
18587         * include/unistd.h: Add rtld_hidden_proto for _exit.
18588         * posix/_exit.c: Add rtld_hidden_def.
18589         * sysdeps/mach/hurd/_exit.c: Likewise.
18590         * sysdeps/nacl/_exit.c: Likewise.
18591         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18592         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18594 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18596         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18597         bndmov encoding with zero displacement.
18599 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18600             H.J. Lu  <hongjiu.lu@intel.com>
18602         [BZ #18134]
18603         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18604         * sysdeps/i386/configure: Regenerated.
18605         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18606         (_dl_runtime_profile): Save and restore Intel MPX return bound
18607         registers when calling _dl_call_pltexit.  Add
18608         PRESERVE_BND_REGS_PREFIX before return.
18609         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18610         (LRV_BND1_OFFSET): Likewise.
18611         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18612         lrv_bnd1.
18613         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18614         typo in bndmov encoding.
18615         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18616         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18617         branch instructions to preserve bounds.
18619 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18622         [GLIBC_2.22]: Add fmemopen.
18624 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18626         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18627         returns an error, also try to use host port from __mach_host_self for
18628         the __vm_wire call.
18629         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18631 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18633         [BZ #18400]
18634         [BZ #18648]
18635         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18636         Fix pr_uid and pr_gid members.
18637         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18638         definition to elf_greg_t.
18640 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18642         [BZ #18383]
18643         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18644         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18645         * sysdeps/arm/configure: Regenerated.
18646         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18647         (test-xfail-tst-tlsalign-static): Variable removed.
18649         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18650         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18651         rather than explicit 'ln -s'.
18653         * resolv/rpc/netdb.h: New file.
18654         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18656 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18658         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18659         length buffers.
18660         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18661         test-skeleton.c.
18663         [BZ #6544]
18664         [BZ #11216]
18665         [BZ #12836]
18666         [BZ #13151]
18667         [BZ #13152]
18668         [BZ #14292]
18669         * include/stdio.h (fmemopen): Remove hidden prototype.
18670         (__fmemopen): Add new hidden prototype.
18671         * libio/Makefile: Add oldfmemopen object.
18672         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18673         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18674         compliance.
18675         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18676         symbol compatibility.
18677         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18678         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18679         fmemopen.
18680         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18681         on append and read mode.
18682         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18683         fmemopen.
18684         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18685         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18686         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18687         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18688         Likewise.
18689         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18690         [GLIBC_2.22]: Likewise.
18691         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18692         Likewise.
18693         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18694         Likewise.
18695         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18696         [GLIBC_2.22]: Likewise.
18697         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18698         [GLIBC_2.22]: Likewise.
18699         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18700         [GLIBC_2.22]: Likewise.
18701         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18702         [GLIBC_2.22]: Likewise.
18703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18704         [GLIBC_2.22]: Likewise.
18705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18706         [GLIBC_2.22]: Likewise.
18707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18708         [GLIBC_2.22]: Likewise.
18709         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18710         Likewise.
18711         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18712         Likewise.
18713         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18714         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18715         [GLIBC_2.22]: Likewise.
18716         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18717         [GLIBC_2.22]: Likewise.
18718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18719         [GLIBC_2.22]: Likewise.
18720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18721         [GLIBC_2.22]: Likewise.
18722         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18723         Likewise.
18724         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18725         Likewise.
18726         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18727         Likewise.
18728         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18729         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18731 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18733         [BZ #18643]
18734         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18735         IPV6_PATHMTU, and IPV6_DONTFRAG.
18737 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18739         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18740         and _IO_UNBUFFERED.
18741         * libio/oldfileops.c: Likewise.
18742         * libio/wfileops.c: Likewise.
18744 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18746         * nscd/selinux.c: Delete selinux/flask.h include.
18748 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18750         [BZ #18641]
18751         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18752         (putpwent): Likewise.
18753         (getpwnam): Likewise.
18754         (getpwent_r): Likewise.
18755         (getpwuid_r): Likewise.
18756         (getpwnam_r): Likewise.
18757         (fgetpwent_r): Likewise.
18759 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18761         [BZ #18557]
18762         * inet/rcmd.c (__validuser2_sa): Check user first to
18763         short-circuit host check.
18765 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18766             Mikhail Ilin  <m.ilin@samsung.com>
18768         [BZ #17833]
18769         * elf/Makefile (tests): Add tst-nodelete.
18770         (modules-names): Add tst-nodelete-uniquemod.
18771         (tst-nodelete-uniquemod.so-no-z-defs): New.
18772         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18773         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18774         ($(objpfx)tst-nodelete): Likewise.
18775         ($(objpfx)tst-nodelete.out): Likewise.
18776         (LDFLAGS-tst-nodelete): Likewise.
18777         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18778         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18779         implement forced object deletion.
18780         (_dl_close): Pass false to _dl_close_worker.
18781         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18782         * elf/tst-nodelete.cc: New file.
18783         * elf/tst-nodeletelib.cc: Likewise.
18784         * elf/tst-znodeletelib.cc: Likewise.
18785         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18787 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18789         [BZ #18508]
18790         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18791         Depend on $(libdl).
18792         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18793         is not called infinitely times.
18794         (backtrace_helper): New function.
18795         (trace_arg): New struct.
18796         (st1): Enlarge stack size.
18797         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18798         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18799         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18800         Likewise.
18802 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18804         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18806 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18808         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18809         Include sys/types.h instead of bits/types.h.
18810         Remove inclusion of bits/wordsize.h.
18812 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18814         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18815         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18816         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18817         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18818         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18819         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18821 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18823         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18824         link-defines.sym.
18825         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18826         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18827         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18828         and LR_SIZE.
18829         * sysdeps/i386/link-defines.sym: New file.
18831 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18833         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18834         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18835         ($(objpfx)tst-audit3): New rule.
18836         ($(objpfx)tst-audit3.out): Likewise.
18837         * sysdeps/i386/tst-audit3.c: New file.
18838         * sysdeps/i386/tst-audit3.h: Likewise.
18839         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18840         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18842 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18844         [BZ #18633]
18845         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18846         pointer in C code.
18847         (__strcat_c): Likewise.
18848         (__strcat_g): Likewise.
18850 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18852         [BZ #18592]
18853         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18855 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18857         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18858         New function.  (__ieee754_sqrtf): New function.
18859         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18860         New function.
18861         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18862         New function.
18864 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18866         * sysdeps/ieee754/support.c: Remove unused file.
18868 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18870         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18871         registers instead of d ones so the layout is kernel abi compatible.
18872         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18873         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18874         Likewise.
18876 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18878         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18880 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18882         [BZ #18619]
18883         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18884         and return argument in case of subnormal argument.
18886 2015-07-01  Martin Sebor  <msebor@redhat.com>
18888         [BZ #18435]
18889         * nptl/Makefile: Add tst-once5.cc.
18890         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18891         Remove macro redefinitions.
18892         * nptl/tst-once5.cc: New test.
18894 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18896         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18898         * sysdeps/arm/libm-test-ulps: Regenerated.
18900         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18901         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18903 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18905         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18906         lll_lock_wait_private and lll_futex_wake probes.
18908         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18909         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18910         Likewise.
18911         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18912         atomic_spin_nop.
18913         * sysdeps/x86_64/bits/atomic.h: Likewise.
18914         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18915         to atomic_spin_nop and move ...
18916         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18917         ... here and ...
18918         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18919         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18920         atomic_spin_nop instead of BUSY_WAIT_NOP.
18921         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18922         Likewise.
18923         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18924         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18925         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18926         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18927         instead of atomic_delay.
18929 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18931         [BZ #18613]
18932         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18933         X_ADJ not X when adjusting exponent.
18934         (__ieee754_gamma_r): Do intermediate computations in
18935         round-to-nearest then adjust overflowing and underflowing results
18936         as needed.
18937         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18938         of X_ADJ not X when adjusting exponent.
18939         (__ieee754_gammaf_r): Do intermediate computations in
18940         round-to-nearest then adjust overflowing and underflowing results
18941         as needed.
18942         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18943         log of X_ADJ not X when adjusting exponent.
18944         (__ieee754_gammal_r): Do intermediate computations in
18945         round-to-nearest then adjust overflowing and underflowing results
18946         as needed.  Use 1.0L not 1.0f as numerator of division.
18947         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18948         log of X_ADJ not X when adjusting exponent.
18949         (__ieee754_gammal_r): Do intermediate computations in
18950         round-to-nearest then adjust overflowing and underflowing results
18951         as needed.  Use 1.0L not 1.0f as numerator of division.
18952         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18953         of X_ADJ not X when adjusting exponent.
18954         (__ieee754_gammal_r): Do intermediate computations in
18955         round-to-nearest then adjust overflowing and underflowing results
18956         as needed.  Use 1.0L not 1.0f as numerator of division.
18957         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18958         to auto-libm-test-in.
18959         (tgamma_test): Use ALL_RM_TEST.
18960         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18961         tests of tgamma with spurious-overflow.
18962         * math/auto-libm-test-out: Regenerated.
18963         * math/gen-libm-have-vector-test.sh: Do not check for START.
18964         * sysdeps/i386/fpu/libm-test-ulps: Update.
18965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18967         [BZ #18612]
18968         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18969         arguments, just return 0.5 times the argument, with underflow
18970         forced as needed.
18971         * math/auto-libm-test-in: Add more tests of j1.
18972         * math/auto-libm-test-out: Regenerated.
18974         [BZ #16559]
18975         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18976         (__ieee754_j1): Force underflow exception for small results.
18977         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18978         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18979         (__ieee754_j1f): Force underflow exception for small results.
18980         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18981         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18982         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18983         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18984         (__ieee754_j1l): Force underflow exception for small results.
18985         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18986         * math/auto-libm-test-in: Add more tests of j1 and jn.
18987         * math/auto-libm-test-out: Regenerated.
18989         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18990         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18991         (PF_MPLS): Likewise.
18992         (AF_IB): Likewise.
18993         (AF_MPLS): Likewise.
18994         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18995         value and macro.
18996         (MS_RMT_MASK): Include MS_LAZYTIME.
18998 2015-06-26  Mel Gorman  <mgorman@suse.de>
19000         [BZ #18502]
19001         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19002         already minimal.
19004 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
19006         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19007         (DT_MIPS_NUM): Update.
19008         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19009         DT_MIPS_RLD_MAP_REL.
19011 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
19013         [BZ #16559]
19014         [BZ #18602]
19015         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19016         round-to-nearest internally then recompute results that
19017         underflowed to zero in the original rounding mode.
19018         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19019         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19020         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19021         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19022         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19023         * sysdeps/i386/fpu/libm-test-ulps: Update.
19024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19026 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19028         * NEWS: Fixed description of link with vector math library.
19030 2015-06-25  Andreas Schwab  <schwab@suse.de>
19032         [BZ #18549]
19033         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19034         * libio/test-fmemopen.c (do_test): Add test for it.
19036 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19038         [BZ #17841]
19039         * Makeconfig (no-pie-ldflag): New.
19040         (+link): Set to $(+link-pie) if default to PIE.
19041         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19042         * config.make.in (build-pie-default): New.
19043         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
19044         is default.  AC_SUBST.
19045         * configure: Regenerated.
19046         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19048 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19050         * nptl/descr.h (struct pthread): Change type of field setxid_futex
19051         to 'unsigned int'.
19053         * resolv/gai_misc.h (struct waitlist): Change type of field
19054         counterp to 'volatile unsigned int *'.
19055         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19056         FUTEXADDR and OLDVAL.
19057         * resolv/getaddrinfo_a.c (getaddrinfo_a):
19058         Give local variable TOTAL type 'volatile unsigned int'.
19059         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19060         * resolv/gai_suspend.c (gai_suspend):
19061         Give local variable CNTR type 'unsigned int'.
19063         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19064         counterp to 'volatile unsigned int *'.
19065         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19066         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19067         (aio_suspend): Give local variable CNTR type 'unsigned int'.
19068         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19069         Give local variable TOTAL type 'volatile unsigned int'.
19070         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19072 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19074         [BZ #18383]
19075         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19076         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
19077         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19078         comment for i386/x86-64.
19079         (test-xfail-tst-tlsalign-extern-static): Removed.
19081 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19083         * math/test-double.h: New file.
19084         * math/test-float.h: Likewise.
19085         * math/test-ldouble.h: Likewise.
19086         * math/test-math-inline.h: Likewise.
19087         * math/test-math-no-inline.h: Likewise.
19088         * math/test-math-scalar.h: Likewise.
19089         * math/test-math-vector.h: Likewise.
19090         * math/test-vec-loop.h: Remove file.  Contents moved into
19091         test-math-vector.h.
19092         * math/libm-test.inc (MATHCONST): Do not document macro.
19093         * math/test-double.c: Include test-double.h, test-math-no-inline.h
19094         and test-math-scalar.h.
19095         (FUNC): Remove macro.
19096         (FUNC_TEST): Likewise.
19097         (FLOAT): Likewise.
19098         (MATHCONST): Likewise.
19099         (PRINTF_EXPR): Likewise.
19100         (PRINTF_XEXPR): Likewise.
19101         (PRINTF_NEXPR): Likewise.
19102         (TEST_DOUBLE): Likewise.
19103         (TEST_MATHVEC): Likewise.
19104         (__NO_MATH_INLINES): Likewise.
19105         * math/test-float.c: Include test-float.h, test-math-no-inline.h
19106         and test-math-scalar.h.
19107         (FUNC): Remove macro.
19108         (FUNC_TEST): Likewise.
19109         (FLOAT): Likewise.
19110         (MATHCONST): Likewise.
19111         (PRINTF_EXPR): Likewise.
19112         (PRINTF_XEXPR): Likewise.
19113         (PRINTF_NEXPR): Likewise.
19114         (TEST_FLOAT): Likewise.
19115         (TEST_MATHVEC): Likewise.
19116         (__NO_MATH_INLINES): Likewise.
19117         * math/test-idouble.c: Include test-double.h, test-math-inline.h
19118         and test-math-scalar.h.
19119         (FUNC): Remove macro.
19120         (FUNC_TEST): Likewise.
19121         (FLOAT): Likewise.
19122         (MATHCONST): Likewise.
19123         (PRINTF_EXPR): Likewise.
19124         (PRINTF_XEXPR): Likewise.
19125         (PRINTF_NEXPR): Likewise.
19126         (TEST_DOUBLE): Likewise.
19127         (TEST_MATHVEC): Likewise.
19128         (TEST_INLINE): Likewise.
19129         (__NO_MATH_INLINES): Likewise.
19130         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19131         test-math-scalar.h.
19132         (FUNC): Remove macro.
19133         (FUNC_TEST): Likewise.
19134         (FLOAT): Likewise.
19135         (MATHCONST): Likewise.
19136         (PRINTF_EXPR): Likewise.
19137         (PRINTF_XEXPR): Likewise.
19138         (PRINTF_NEXPR): Likewise.
19139         (TEST_FLOAT): Likewise.
19140         (TEST_MATHVEC): Likewise.
19141         (TEST_INLINE): Likewise.
19142         (__NO_MATH_INLINES): Likewise.
19143         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19144         and test-math-scalar.h.
19145         (FUNC): Remove macro.
19146         (FUNC_TEST): Likewise.
19147         (FLOAT): Likewise.
19148         (MATHCONST): Likewise.
19149         (PRINTF_EXPR): Likewise.
19150         (PRINTF_XEXPR): Likewise.
19151         (PRINTF_NEXPR): Likewise.
19152         (TEST_LDOUBLE): Likewise.
19153         (TEST_MATHVEC): Likewise.
19154         (TEST_INLINE): Likewise.
19155         (__NO_MATH_INLINES): Likewise.
19156         * math/test-ldouble.c: Include test-ldouble.h,
19157         test-math-no-inline.h and test-math-scalar.h.
19158         (FUNC): Remove macro.
19159         (FUNC_TEST): Likewise.
19160         (FLOAT): Likewise.
19161         (MATHCONST): Likewise.
19162         (PRINTF_EXPR): Likewise.
19163         (PRINTF_XEXPR): Likewise.
19164         (PRINTF_NEXPR): Likewise.
19165         (TEST_LDOUBLE): Likewise.
19166         (TEST_MATHVEC): Likewise.
19167         (__NO_MATH_INLINES): Likewise.
19168         * math/test-double-vlen2.h: Include test-double.h,
19169         test-math-no-inline.h and test-math-vector.h.
19170         (FLOAT): Remove macro.
19171         (FUNC): Likewise.
19172         (MATHCONST): Likewise.
19173         (PRINTF_EXPR): Likewise.
19174         (PRINTF_XEXPR): Likewise.
19175         (PRINTF_NEXPR): Likewise.
19176         (TEST_DOUBLE): Likewise.
19177         (TEST_MATHVEC): Likewise.
19178         (__NO_MATH_INLINES): Likewise.
19179         (CNCT): Likewise.
19180         (CONCAT): Likewise.
19181         (WRAPPER_NAME): Likewise.
19182         (WRAPPER_DECL): Likewise.
19183         (WRAPPER_DECL_ff): Likewise.
19184         (WRAPPER_DECL_fFF): Likewise.
19185         (VECTOR_WRAPPER): Likewise.
19186         (VECTOR_WRAPPER_ff): Likewise.
19187         (VECTOR_WRAPPER_fFF): Likewise.
19188         (VEC_LEN): New macro.
19189         * math/test-double-vlen4.h: Include test-double.h,
19190         test-math-no-inline.h and test-math-vector.h.
19191         (FLOAT): Remove macro.
19192         (FUNC): Likewise.
19193         (MATHCONST): Likewise.
19194         (PRINTF_EXPR): Likewise.
19195         (PRINTF_XEXPR): Likewise.
19196         (PRINTF_NEXPR): Likewise.
19197         (TEST_DOUBLE): Likewise.
19198         (TEST_MATHVEC): Likewise.
19199         (__NO_MATH_INLINES): Likewise.
19200         (CNCT): Likewise.
19201         (CONCAT): Likewise.
19202         (WRAPPER_NAME): Likewise.
19203         (WRAPPER_DECL): Likewise.
19204         (WRAPPER_DECL_ff): Likewise.
19205         (WRAPPER_DECL_fFF): Likewise.
19206         (VECTOR_WRAPPER): Likewise.
19207         (VECTOR_WRAPPER_ff): Likewise.
19208         (VECTOR_WRAPPER_fFF): Likewise.
19209         (VEC_LEN): New macro.
19210         * math/test-double-vlen8.h: Include test-double.h,
19211         test-math-no-inline.h and test-math-vector.h.
19212         (FLOAT): Remove macro.
19213         (FUNC): Likewise.
19214         (MATHCONST): Likewise.
19215         (PRINTF_EXPR): Likewise.
19216         (PRINTF_XEXPR): Likewise.
19217         (PRINTF_NEXPR): Likewise.
19218         (TEST_DOUBLE): Likewise.
19219         (TEST_MATHVEC): Likewise.
19220         (__NO_MATH_INLINES): Likewise.
19221         (CNCT): Likewise.
19222         (CONCAT): Likewise.
19223         (WRAPPER_NAME): Likewise.
19224         (WRAPPER_DECL): Likewise.
19225         (WRAPPER_DECL_ff): Likewise.
19226         (WRAPPER_DECL_fFF): Likewise.
19227         (VECTOR_WRAPPER): Likewise.
19228         (VECTOR_WRAPPER_ff): Likewise.
19229         (VECTOR_WRAPPER_fFF): Likewise.
19230         (VEC_LEN): New macro.
19231         * math/test-float-vlen4.h: Include test-float.h,
19232         test-math-no-inline.h and test-math-vector.h.
19233         (FLOAT): Remove macro.
19234         (FUNC): Likewise.
19235         (MATHCONST): Likewise.
19236         (PRINTF_EXPR): Likewise.
19237         (PRINTF_XEXPR): Likewise.
19238         (PRINTF_NEXPR): Likewise.
19239         (TEST_FLOAT): Likewise.
19240         (TEST_MATHVEC): Likewise.
19241         (__NO_MATH_INLINES): Likewise.
19242         (CNCT): Likewise.
19243         (CONCAT): Likewise.
19244         (WRAPPER_NAME): Likewise.
19245         (WRAPPER_DECL): Likewise.
19246         (WRAPPER_DECL_ff): Likewise.
19247         (WRAPPER_DECL_fFF): Likewise.
19248         (VECTOR_WRAPPER): Likewise.
19249         (VECTOR_WRAPPER_ff): Likewise.
19250         (VECTOR_WRAPPER_fFF): Likewise.
19251         (VEC_LEN): New macro.
19252         * math/test-float-vlen8.h: Include test-float.h,
19253         test-math-no-inline.h and test-math-vector.h.
19254         (FLOAT): Remove macro.
19255         (FUNC): Likewise.
19256         (MATHCONST): Likewise.
19257         (PRINTF_EXPR): Likewise.
19258         (PRINTF_XEXPR): Likewise.
19259         (PRINTF_NEXPR): Likewise.
19260         (TEST_FLOAT): Likewise.
19261         (TEST_MATHVEC): Likewise.
19262         (__NO_MATH_INLINES): Likewise.
19263         (CNCT): Likewise.
19264         (CONCAT): Likewise.
19265         (WRAPPER_NAME): Likewise.
19266         (WRAPPER_DECL): Likewise.
19267         (WRAPPER_DECL_ff): Likewise.
19268         (WRAPPER_DECL_fFF): Likewise.
19269         (VECTOR_WRAPPER): Likewise.
19270         (VECTOR_WRAPPER_ff): Likewise.
19271         (VECTOR_WRAPPER_fFF): Likewise.
19272         (VEC_LEN): New macro.
19273         * math/test-float-vlen16.h: Include test-float.h,
19274         test-math-no-inline.h and test-math-vector.h.
19275         (FLOAT): Remove macro.
19276         (FUNC): Likewise.
19277         (MATHCONST): Likewise.
19278         (PRINTF_EXPR): Likewise.
19279         (PRINTF_XEXPR): Likewise.
19280         (PRINTF_NEXPR): Likewise.
19281         (TEST_FLOAT): Likewise.
19282         (TEST_MATHVEC): Likewise.
19283         (__NO_MATH_INLINES): Likewise.
19284         (CNCT): Likewise.
19285         (CONCAT): Likewise.
19286         (WRAPPER_NAME): Likewise.
19287         (WRAPPER_DECL): Likewise.
19288         (WRAPPER_DECL_ff): Likewise.
19289         (WRAPPER_DECL_fFF): Likewise.
19290         (VECTOR_WRAPPER): Likewise.
19291         (VECTOR_WRAPPER_ff): Likewise.
19292         (VECTOR_WRAPPER_fFF): Likewise.
19293         (VEC_LEN): New macro.
19294         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19295         test-vec-loop.h.
19296         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19297         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19298         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19299         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19300         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19301         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19302         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19304 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19306         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19307         (__getlogin_r): ... this.
19309 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19311         [BZ #18594]
19312         * math/s_ccosh.c (__ccosh): Compare with least normal value
19313         instead of comparing class with FP_SUBNORMAL.
19314         * math/s_ccoshf.c (__ccoshf): Likewise.
19315         * math/s_ccoshl.c (__ccoshl): Likewise.
19316         * math/s_cexp.c (__cexp): Likewise.
19317         * math/s_cexpf.c (__cexpf): Likewise.
19318         * math/s_cexpl.c (__cexpl): Likewise.
19319         * math/s_csin.c (__csin): Likewise.
19320         * math/s_csinf.c (__csinf): Likewise.
19321         * math/s_csinh.c (__csinh): Likewise.
19322         * math/s_csinhf.c (__csinhf): Likewise.
19323         * math/s_csinhl.c (__csinhl): Likewise.
19324         * math/s_csinl.c (__csinl): Likewise.
19325         * math/s_ctan.c (__ctan): Likewise.
19326         * math/s_ctanf.c (__ctanf): Likewise.
19327         * math/s_ctanh.c (__ctanh): Likewise.
19328         * math/s_ctanhf.c (__ctanhf): Likewise.
19329         * math/s_ctanhl.c (__ctanhl): Likewise.
19330         * math/s_ctanl.c (__ctanl): Likewise.
19331         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19332         csin, csinh, ctan and ctanh.
19333         * math/auto-libm-test-out: Regenerated.
19334         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19335         * sysdeps/i386/fpu/libm-test-ulps: Update.
19336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19338 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19340         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19341         return value is wrong, print the expected value too.
19343 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19345         [BZ #18585]
19346         * elf/readlib.c (is_gdb_python_file): New.
19347         (process_file): Don't issue errors on filenames with -gdb.py
19348         suffix.
19350 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19352         * math/auto-libm-test-in: Add more tests of csin and csinh.
19353         * math/auto-libm-test-out: Regenerated.
19354         * math/libm-test.inc (csin_test_data): Remove tests moved to
19355         auto-libm-test-in.
19356         (csinh_test_data): Likewise.
19358         [BZ #18593]
19359         * math/s_csin.c (__csin): Negate before rather than after possibly
19360         overflowing multiplication.
19361         * math/s_csinf.c (__csinf): Likewise.
19362         * math/s_csinh.c (__csinh): Likewise.
19363         * math/s_csinhf.c (__csinhf): Likewise.
19364         * math/s_csinhl.c (__csinhl): Likewise.
19365         * math/s_csinl.c (__csinl): Likewise.
19366         * math/auto-libm-test-in: Add some tests of csin and csinh.
19367         * math/auto-libm-test-out: Regenerated.
19368         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19369         (csinh_test_data): Likewise.
19370         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19372         [BZ #18586]
19373         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19374         underflow exception for small results.
19376 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19378         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19379         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19380         variable and included header.
19381         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19382         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19383         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19384         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19385         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19386         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19387         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19388         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19389         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19390         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19391         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19392         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19393         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19394         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19395         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19396         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19398 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19400         [BZ #16526]
19401         [BZ #16538]
19402         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19403         (__sin): Force underflow exception for arguments with small
19404         absolute value.
19405         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19406         (__kernel_sinf): Force underflow exception for arguments with
19407         small absolute value.
19408         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19409         (__kernel_sincosl): Force underflow exception for arguments with
19410         small absolute value.
19411         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19412         (__kernel_sinl): Force underflow exception for arguments with
19413         small absolute value.
19414         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19415         (__kernel_sincosl): Force underflow exception for arguments with
19416         small absolute value.
19417         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19418         (__kernel_sinl): Force underflow exception for arguments with
19419         small absolute value.
19420         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19421         (__kernel_sinl): Force underflow exception for arguments with
19422         small absolute value.
19423         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19424         (__kernel_sinf): Force underflow exception for arguments with
19425         small absolute value.
19426         * math/auto-libm-test-in: Add more tests of sin and sincos.
19427         * math/auto-libm-test-out: Regenerated.
19429         [BZ #18245]
19430         [BZ #18583]
19431         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19432         (__kernel_standard_l): Use feholdexcept and fesetenv around
19433         conversion to double instead of special-casing overflow and
19434         underflow.
19435         * math/libm-test.inc (fmod_test_data): Add more tests.
19436         (remainder_test_data): Likewise.
19437         (sqrt_test_data): Likewise.
19439 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19441         [BZ #17403]
19442         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19443         atomic_read_barrier, atomic_write_barrier): Define.
19444         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19445         atomic_read_barrier, atomic_write_barrier): Define.
19447 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19449         * math/Makefile [$(PERL) != no]
19450         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19451         dependency on libm-test.stmp below the inclusion of Rules.
19453 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19455         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19456         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19457         and included header.
19458         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19459         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19460         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19461         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19462         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19463         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19464         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19465         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19466         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19467         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19468         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19469         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19470         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19471         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19472         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19473         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19474         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19475         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19476         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19478 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19480         [BZ #18371]
19481         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19482         intermediate but not final result might underflow.
19483         * math/s_csqrtf.c (__csqrtf): Likewise.
19484         * math/s_csqrtl.c (__csqrtl): Likewise.
19485         * math/auto-libm-test-in: Add more tests of csqrt.
19486         * math/auto-libm-test-out: Regenerated.
19487         * sysdeps/i386/fpu/libm-test-ulps: Update.
19489         [BZ #18219]
19490         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19491         threshold on absolute value of exponent for which scaling is used.
19492         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19493         * math/auto-libm-test-in: Add more tests of exp2.
19494         * math/auto-libm-test-out: Regenerated.
19496 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19498         [BZ #17977]
19499         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19500         when initializing interface list, based on the bug analysis
19501         and the patch proposed by Eric Newton.
19502         * resolv/tst-res_hconf_reorder.c: New test.
19503         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19504         tst-res_hconf_reorder.
19505         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19506         and $(shared-thread-library).
19507         (tst-res_hconf_reorder-ENV): New variable.
19509         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19510         in comment.
19512 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19514         [BZ #16353]
19515         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19516         (__expm1): Force underflow exception for arguments with small
19517         absolute value.
19518         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19519         (__expm1f): Force underflow exception for arguments with small
19520         absolute value.
19521         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19522         (__expm1): Force underflow exception for arguments with small
19523         absolute value.
19524         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19525         (__expm1f): Force underflow exception for arguments with small
19526         absolute value.
19527         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19528         Check for small arguments before calling __expm1.
19529         * math/auto-libm-test-in: Do not mark underflow exceptions as
19530         possibly missing for bug 16353.
19531         * math/auto-libm-test-out: Regenerated.
19533 2015-06-22  Andreas Schwab  <schwab@suse.de>
19535         [BZ #18513]
19536         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19537         PTR queries.
19539 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19541         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19543         * string/strcoll_l.c: Remove unused struct element idxnow.
19545 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19547         [BZ #18569]
19548         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19549         underflow and return argument in case of subnormal argument.
19550         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19551         Likewise.
19552         * math/auto-libm-test-in: Add more tests of expm1.
19553         * math/auto-libm-test-out: Regenerated.
19555         [BZ #16361]
19556         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19557         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19558         tiny results.
19559         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19560         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19561         tiny results.
19562         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19563         mark underflow exceptions as possibly missing for bug 16361.
19564         * math/auto-libm-test-out: Regenerated.
19566 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19568         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19569         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19570         Remove variable.
19571         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19572         (test-xfail-XOPEN2K8/utmpx.h/conform).
19574         * conform/conformtest.pl ($xerrors): New variable.
19575         (note_error): New function.
19576         (compiletest): New argument $xfail.  Use not_error.
19577         (runtest): Likewise.
19578         (top level): Handle xfail- lines.  Update calls to compiletest and
19579         runtest.  Handle xfail- and optional- in headers listed with
19580         allow-header.
19581         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19582         (O_EXEC): Likewise.
19583         (O_SEARCH): Likewise.
19584         * conform/data/stropts.h-data (ioctl): Likewise.
19585         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19586         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19587         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19588         (msghdr.msg_controllen): Likewise.
19589         (cmsghdr.cmsg_len): Likewise.
19590         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19591         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19592         variable.
19593         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19594         (test-xfail-XPG4/stropts.h/conform): Likewise.
19595         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19596         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19597         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19598         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19599         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19600         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19601         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19602         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19603         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19604         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19605         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19606         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19607         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19608         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19609         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19610         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19611         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19612         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19613         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19615 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19617         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19618         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19619         definitions for proper unfolding of __MATHDECL_VEC.
19621 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19623         * benchtests/bench-strcoll.c:
19624         Include string.h.
19625         (main): Remove unused variable res.
19627 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19629         * timezone/Makefile (%/UTC %/Universal):
19630         Generate test-result files for UTC and Universal.
19632 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19634         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19636 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19638         [BZ #16350]
19639         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19640         for arguments with small absolute value.
19641         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19642         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19643         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19644         (__asinh): Force underflow exception for arguments with small
19645         absolute value.
19646         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19647         (__asinhf): Force underflow exception for arguments with small
19648         absolute value.
19649         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19650         (__asinhl): Force underflow exception for arguments with small
19651         absolute value.
19652         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19653         (__asinhl): Force underflow exception for arguments with small
19654         absolute value.
19655         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19656         (__asinhl): Force underflow exception for arguments with small
19657         absolute value.
19658         * math/auto-libm-test-in: Do not mark underflow exceptions as
19659         possibly missing for bug 16350.
19660         * math/auto-libm-test-out: Regenerated.
19662         * include/bits/ipc.h: Remove file.
19663         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19664         variable.
19665         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19666         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19667         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19668         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19669         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19670         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19671         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19672         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19673         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19675         * math/auto-libm-test-in: Remove spurious underflow allowance for
19676         tests of cexp.
19677         * math/auto-libm-test-out: Regenerated.
19679         [BZ #18558]
19680         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19681         unconditional definition.
19682         (MCAST_BLOCK_SOURCE): Likewise.
19683         (MCAST_UNBLOCK_SOURCE): Likewise.
19684         (MCAST_LEAVE_GROUP): Likewise.
19685         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19686         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19687         (MCAST_MSFILTER): Likewise.
19688         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19689         Remove variable.
19690         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19691         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19692         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19693         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19694         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19696 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19698         * NEWS: Mention addition of x86_64 vector sincosf.
19699         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19700         * math/test-float-vlen4.h: Likewise.
19701         * math/test-float-vlen8.h: Likewise.
19702         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19703         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19704         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19705         * sysdeps/x86_64/fpu/Versions: New versions added.
19706         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19707         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19708         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19709         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19710         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19711         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19712         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19713         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19714         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19715         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19716         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19717         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19718         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19719         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19720         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19721         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19722         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19723         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19724         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19725         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19726         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19727         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19728         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19729         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19731         * NEWS: Mention addition of x86_64 vector sincos.
19732         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19733         * math/math.h (__MATHDECL_VEC): New macro.
19734         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19735         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19736         declaration under condition.
19737         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19738         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19739         TEST_VEC_LOOP change.
19740         * math/test-double-vlen4.h: Likewise.
19741         * math/test-double-vlen8.h: Likewise.
19742         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19743         * math/test-float-vlen4.h: Likewise.
19744         * math/test-float-vlen8.h: Likewise.
19745         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19746         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19747         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19748         * sysdeps/x86_64/fpu/Versions: New versions added.
19749         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19750         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19751         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19752         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19753         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19754         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19755         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19756         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19757         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19758         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19759         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19760         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19761         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19762         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19763         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19764         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19765         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19766         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19767         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19768         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19769         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19770         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19771         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19772         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19774         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19775         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19776         redirections for powf.
19777         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19778         * sysdeps/x86_64/fpu/Versions: New versions added.
19779         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19780         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19781         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19782         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19783         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19784         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19785         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19786         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19787         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19788         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19789         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19790         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19791         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19792         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19793         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19794         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19795         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19796         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19797         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19798         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19799         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19800         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19801         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19802         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19803         * math/test-float-vlen16.h: Fixed 2 argument macro.
19804         * math/test-float-vlen4.h: Likewise.
19805         * math/test-float-vlen8.h: Likewise.
19806         * NEWS: Mention addition of x86_64 vector powf.
19808 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19810         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19811         and redefine.
19812         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19813         and redefine.
19814         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19815         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19816         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19818         [BZ #18553]
19819         * resource/getpriority.c (getpriority): Rename to __getpriority
19820         and define as weak alias of __getpriority.
19821         * resource/setpriority.c (setpriority): Rename to __setpriority
19822         and define as weak alias of __setpriority.
19823         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19824         __getpriority and define as weak alias of __getpriority.
19825         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19826         __setpriority and define as weak alias of __setpriority.
19827         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19828         strong name.
19829         (setpriority): Use __setpriority as strong name.
19830         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19831         __getpriority and define as weak alias of __getpriority.
19832         * include/sys/resource.h (__getpriority): Declare.  Use
19833         libc_hidden_proto.
19834         (__setpriority): Likewise.
19835         (getpriority): Don't use libc_hidden_proto.
19836         (setpriority): Likewise.
19837         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19838         getpriority.  Call __setpriority instead of setpriority.
19839         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19840         Remove variable.
19842         [BZ #18547]
19843         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19844         as weak alias of __getttynam.  Use prototype function definition.
19845         Call __setttyent, __getttyent and __endttyent instead of
19846         setttyent, getttyent and endttyent.
19847         (getttyent): Rename to __getttyent and define as weak alias of
19848         __getttyent.  Call __setttyent instead of setttyent.  Call
19849         __fgets_unlocked instead of fgets_unlocked.
19850         (setttyent): Rename to __setttyent and define as weak alias of
19851         __setttyent.
19852         (endttyent): Rename to __endttyent and define as weak alias of
19853         __endttyent.
19854         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19855         (__setttyent): Likewise.
19856         (__endttyent): Likewise.
19857         (getttyent): Don't use libc_hidden_proto.
19858         (setttyent): Likewise.
19859         (endttyent): Likewise.
19860         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19861         __endttyent instead of setttyent, getttyent and endttyent.
19862         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19863         Remove variable.
19865         [BZ #18546]
19866         * socket/recv.c (__recv): Use libc_hidden_def.
19867         * socket/socket.c (__socket): Likewise.
19868         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19869         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19870         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19871         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19872         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19873         libc_hidden_def.
19874         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19875         libc_hidden_weak.
19876         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19877         Use libc_hidden_proto.
19878         (__recv): Likewise.
19879         * socket/Versions (libc): Export __recv and __socket at version
19880         GLIBC_PRIVATE.
19881         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19882         instead of recv.
19883         (init_mq_netlink): Call __socket instead of socket.
19884         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19885         Remove variable.
19887         [BZ #18545]
19888         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19889         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19890         hidden_weak.
19891         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19892         define as alias of __mq_timedsend.  Use hidden_weak.
19893         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19894         __mq_timedsend as strong name.
19895         (mq_timedreceive): Use __mq_timedreceive as strong name.
19896         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19897         (__mq_timedreceive): Likewise.
19898         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19899         __mq_timedreceive instead of mq_timedreceive.
19900         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19901         instead of mq_timedsend.
19902         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19903         Remove variable.
19905         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19906         hidden_def and hidden_weak instead of libc_hidden_def and
19907         libc_hidden_weak.
19908         (top level): Refer to hidden_def in comment.
19909         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19910         macro.  Use it instead of libc_hidden_def.
19911         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19912         specify __GI_* name explicitly.
19913         (mq_timedreceive): Likewise.
19914         (mq_setattr): Likewise.
19916         [BZ #18544]
19917         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19918         __pthread_barrier_init and define as weak alias of
19919         __pthread_barrier_init.
19920         * sysdeps/sparc/nptl/pthread_barrier_init.c
19921         (pthread_barrier_init): Likewise.
19922         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19923         __pthread_barrier_wait and define as weak alias of
19924         __pthread_barrier_wait.
19925         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19926         (pthread_barrier_wait): Likewise.
19927         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19928         (pthread_barrier_wait): Likewise.
19929         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19930         (pthread_barrier_wait): Likewise.
19931         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19932         (pthread_barrier_wait): Likewise.
19933         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19934         __pthread_barrier_wait at version GLIBC_PRIVATE.
19935         * include/pthread.h (__pthread_barrier_init): Declare.
19936         (__pthread_barrier_wait): Likewise.
19937         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19938         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19939         (helper_thread): Likewise.
19940         (init_mq_netlink): Call __pthread_barrier_init instead of
19941         pthread_barrier_init.
19943         [BZ #18542]
19944         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19945         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19946         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19947         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19948         vswscanf.
19949         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19950         Remove variable.
19952         [BZ #18540]
19953         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19954         strong alias of _IO_fflush.  Use libc_hidden_def.
19955         * libio/iofflush_u.c (fflush_unlocked): Rename to
19956         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19957         Use libc_hidden_weak.
19958         * include/stdio.h (__fflush_unlocked): Declare.  Use
19959         libc_hidden_proto.
19960         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19961         fflush_unlocked.
19962         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19963         Remove variable.
19965         [BZ #18539]
19966         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19967         define as weak alias of __addseverity.
19968         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19969         Remove variable.
19970         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19971         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19972         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19974         [BZ #18536]
19975         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19976         (__tfind): Likewise.
19977         (__tdelete): Likewise.
19978         (__twalk): Likewise.
19979         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19980         __twalk to GLIBC_PRIVATE.
19981         * include/search.h (__tsearch): Use libc_hidden_proto.
19982         (__tfind): Likewise.
19983         (__tdelete): Likewise.
19984         (__twalk): Likewise.
19985         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19986         Call __tdelete instead of tdelete.
19987         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19988         tfind.  Call __tsearch instead of tsearch.
19989         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19990         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19991         Remove variable.
19992         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19994         [BZ #18534]
19995         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19996         (dprintf): Define as a weak alias of __dprintf, not a strong
19997         alias.
19998         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19999         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20000         dprintf.
20001         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20002         Remove variable.
20003         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20004         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20006         [BZ #18533]
20007         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20008         not a strong alias.
20009         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20010         Remove variable.
20012         [BZ #18532]
20013         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20014         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
20015         (in6addr_loopback): Rename to __in6addr_loopback and define as
20016         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
20017         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
20018         libc_hidden_proto.
20019         (__in6addr_any): Likewise.
20020         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20021         in6addr_any.
20022         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20023         variable.
20024         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20026 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20028         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20029         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20030         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20031         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20032         redirections for pow.
20033         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20034         * sysdeps/x86_64/fpu/Versions: New versions added.
20035         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20036         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20037         build of SSE, AVX2 and AVX512 IFUNC versions.
20038         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20039         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20040         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20041         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20042         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20043         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20044         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20045         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20046         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20047         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20048         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20049         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20050         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20051         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20052         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20053         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20054         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20055         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20056         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20057         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20058         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20059         * NEWS: Mention addition of x86_64 vector pow.
20061         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20062         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20063         redirections for expf.
20064         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20065         * sysdeps/x86_64/fpu/Versions: New versions added.
20066         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20067         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20068         build of SSE, AVX2 and AVX512 IFUNC versions.
20069         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20070         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20071         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20072         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20073         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20074         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20075         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20076         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20077         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20078         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20079         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20080         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20081         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20082         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20083         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20084         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20085         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20086         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20087         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20088         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20089         * NEWS: Mention addition of x86_64 vector expf.
20091         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20092         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20093         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20094         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20095         redirections for exp.
20096         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20097         * sysdeps/x86_64/fpu/Versions: New versions added.
20098         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20099         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20100         build of SSE, AVX2 and AVX512 IFUNC versions.
20101         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20102         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20103         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20104         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20105         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20106         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20107         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20108         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20109         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20110         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20111         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20112         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20113         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20114         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20115         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20116         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20117         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20118         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20119         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20120         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20121         * NEWS: Mention addition of x86_64 vector exp.
20123         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20124         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20125         redirections for logf.
20126         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20127         * sysdeps/x86_64/fpu/Versions: New versions added.
20128         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20129         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20130         build of SSE, AVX2 and AVX512 IFUNC versions.
20131         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20132         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20133         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20134         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20135         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20136         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20137         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20138         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20139         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20140         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20141         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20142         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20143         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20144         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20145         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20146         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20147         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20148         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20149         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20150         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20151         * NEWS: Mention addition of x86_64 vector logf.
20153         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20154         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20155         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20156         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20157         redirections for log.
20158         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20159         * sysdeps/x86_64/fpu/Versions: New versions added.
20160         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20161         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20162         build of SSE, AVX2 and AVX512 IFUNC versions.
20163         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20164         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20165         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20166         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20167         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20168         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20169         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20170         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20171         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20172         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20173         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20174         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20175         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20176         test.
20177         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20178         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20179         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20180         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20181         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20182         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20183         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20184         * NEWS: Mention addition of x86_64 vector log.
20186 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20188         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20189         cfi_adjust_cfa_offset argument.
20190         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20191         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20193         [BZ #18034]
20194         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20195         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20196         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20197         ordering using ldar.
20198         (_dl_tlsdesc_dynamic): Likewise.
20199         (_dl_tlsdesc_return_lazy): Likewise.
20200         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20201         relaxed atomics instead of volatile and synchronize with release store.
20202         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20203         volatile.
20204         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20206 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20208         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20209         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20210         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20211         * sysdeps/x86_64/fpu/Versions: New versions added.
20212         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20213         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20214         build of SSE, AVX2 and AVX512 IFUNC versions.
20215         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20216         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20217         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20218         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20219         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20220         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20221         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20222         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20223         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20224         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20225         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20226         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20227         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20228         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20229         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20230         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20231         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20232         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20233         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20234         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20235         * NEWS: Mention addition of x86_64 vector sinf.
20237 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20239         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20240         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20241         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20242         Remove variable.
20243         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20244         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20246 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20248         [BZ #18530]
20249         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20250         strong alias of _IO_fputs.  Use libc_hidden_def.
20251         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20252         and define as weak alias of __fputs_unlocked.  Use
20253         libc_hidden_weak.
20254         * include/stdio.h (__fputs_unlocked): Declare.  Use
20255         libc_hidden_proto.
20256         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20257         fputs_unlocked.
20259         [BZ #18529]
20260         * resolv/netdb.h [__USE_POSIX]: Change condition to
20261         [__USE_XOPEN2K].
20262         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20263         not expect.
20264         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20265         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20266         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20267         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20268         [XPG4 || UNIX98] (AI_ALL): Likewise.
20269         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20270         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20271         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20272         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20273         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20274         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20275         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20276         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20277         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20278         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20279         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20280         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20281         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20282         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20283         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20284         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20285         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20286         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20287         [XPG4 || UNIX98] (gai_strerror): Likewise.
20288         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20289         [XPG4 || UNIX98] (getnameinfo): Likewise.
20291         [BZ #18528]
20292         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20293         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20294         __USE_XOPEN2K8].
20295         (getgrent): Likewise.
20296         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20297         expect.
20298         [XPG3 || POSIX2008] (endgrent): Likewise.
20299         [XPG3] (setgrent): Likewise.
20300         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20301         variable.
20302         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20304         [BZ #18527]
20305         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20306         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20307         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20308         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20309         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20310         * include/unistd.h (__getlogin_r): Declare.  Use
20311         libc_hidden_proto.
20312         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20313         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20314         variable.
20315         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20316         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20317         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20319 2015-06-12  Martin Sebor  <msebor@redhat.com>
20321         [BZ #18512]
20322         * Makerules (check-install-supported): New target.
20323         (install): Add check-install-supported as a dependency.
20324         * manual/install.texi (Installing the C Library): Document
20325         that overriding prefix and exec_prefix is not supported.
20326         Mention DESTDIR.
20327         * INSTALL: Regenerate from the above.
20329 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20331         [BZ #18519]
20332         * posix/Versions (libc): Export __libc_pread at version
20333         GLIBC_PRIVATE.
20334         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20335         instead of pread.
20336         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20337         variable.
20339         [BZ #18522]
20340         * misc/efgcvt_r.c
20341         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20342         (cvt_symbol): Use weak_alias instead of strong_alias.
20343         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20344         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20345         Remove variable.
20346         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20347         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20349         [BZ #18520]
20350         * inet/herrno.c (h_errno): Rename to __h_errno.
20351         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20352         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20353         to __h_errno instead of h_errno.
20354         * nptl/herrno.c (h_errno): Rename to __h_errno.
20355         (__h_errno_location): Refer to __h_errno not h_errno.
20356         * resolv/Versions (h_errno): Rename to __h_errno.
20357         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20358         Remove variable.
20359         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20361 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20363         * configure.ac: More strict check for AVX512 assembler support.
20364         * configure: Regenerated.
20366         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20367         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20368         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20369         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20370         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20371         * sysdeps/x86_64/fpu/Versions: New versions added.
20372         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20373         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20374         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20375         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20376         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20377         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20378         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20379         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20380         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20381         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20382         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20383         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20384         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20385         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20386         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20387         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20388         test.
20389         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20390         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20391         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20392         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20393         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20394         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20395         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20396         * NEWS: Mention addition of x86_64 vector sin.
20398 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20400         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20401         comment.
20403 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20405         [BZ #18479]
20406         * nptl/pt-interp.c: New file.
20407         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20408         Add pt-interp.
20409         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20410         $(common-objpfx)runtime-linker.h.
20412 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20414         * Makeconfig (+interp): Remove unused variable.
20415         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20416         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20417         $(elf-objpfx)runtime-linker.h.
20418         ($(elf-objpfx)runtime-linker.h): Rename to
20419         $(common-objpfx)runtime-linker.h and move ...
20420         * Makerules [$(build-shared) = yes]: ... here.
20421         * elf/interp.c: Include <runtime-linker.h> instead of
20422         <elf/runtime-linker.h>.
20424 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20426         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20427         (__gettimeofday_syscall): Remove vsyscall fallback.
20428         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20429         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20430         Add syscall fallback function.
20431         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20432         if vDSO is not present.
20433         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20434         fallback function.
20435         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20436         present.
20437         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20438         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20440 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20442         [BZ #18497]
20443         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20444         of wcscmp.
20445         (wcscmp): Define as weak alias of WCSCMP.
20446         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20447         wcscoll.
20448         (USE_HIDDEN_DEF): Define.
20449         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20450         __wcscoll.  Don't use libc_hidden_weak.
20451         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20452         wcscmp.
20453         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20454         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20455         __GI_wcscmp.
20456         (weak_alias): Undefine and redefine.
20457         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20458         __wcscmp and define as weak alias of __wcscmp.
20459         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20460         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20461         (__wcscoll): Likewise.
20462         (wcscmp): Don't use libc_hidden_proto.
20463         (wcscoll): Likewise.
20464         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20465         wcscoll.
20466         * posix/regexec.c (check_node_accept_bytes): Likewise.
20467         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20468         variable.
20469         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20470         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20472         [BZ #18507]
20473         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20474         __fstatvfs and define as weak alias of __fstatvfs.  Use
20475         libc_hidden_weak.
20476         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20477         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20478         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20479         Define as alias of __fstatvfs, not fstatvfs.
20480         (fstatvfs64): Likewise.
20481         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20482         Define as alias of __statvfs, not statvfs.
20483         (statvfs64): Likewise.
20484         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20485         Remove variable.
20487 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20490         (HAVE_GETCPU_VSYSCALL): Define.
20491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20492         (HAVE_GETCPU_VSYSCALL): Likewise.
20493         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20494         * sysdeps/unix/sysv/linux/sched_getcpu.c
20495         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20496         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20497         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20498         prototype.
20499         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20500         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20501         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20502         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20503         Define.
20504         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20505         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20506         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20507         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20509 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20511         * sysdeps/x86_64/fpu/Makefile: New file.
20512         * sysdeps/x86_64/fpu/Versions: New file.
20513         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20514         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20515         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20516         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20517         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20518         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20519         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20520         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20521         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20522         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20523         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20524         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20525         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20526         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20527         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20528         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20529         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20530         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20531         * sysdeps/x86_64/configure: Regenerated.
20532         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20533         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20534         * manual/install.texi (Configuring and compiling): Document
20535         --disable-mathvec.
20536         * INSTALL: Regenerated.
20537         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20539         * math/Makefile: Added rules for vector tests.
20540         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20541         declaration under condition.
20542         * math/test-double-vlen2.h: New file.
20543         * math/test-double-vlen4.h: New file.
20544         * math/test-double-vlen8.h: New file.
20545         * math/test-vec-loop.h: Added initialization macro.
20546         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20547         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20548         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20549         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20550         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20551         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20552         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20553         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20554         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20555         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20556         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20558         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20559         * sysdeps/x86_64/fpu/Versions: New versions added.
20560         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20561         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20562         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20563         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20564         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20565         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20566         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20567         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20568         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20569         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20570         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20571         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20572         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20573         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20574         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20575         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20576         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20577         * NEWS: Mention addition of x86_64 vector cosf.
20579         * math/Makefile: Added CFLAGS for new tests.
20580         * math/test-float-vlen16.h: New file.
20581         * math/test-float-vlen4.h: New file.
20582         * math/test-float-vlen8.h: New file.
20583         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20584         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20585         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20586         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20587         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20588         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20589         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20590         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20591         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20592         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20593         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20595 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20597         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20598         * locale/programs/ld-ctype.c: Likewise.
20600 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20602         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20603         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20604         bit_ZMM16_31_state): New macro.
20605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20606         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20608 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20610         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20612 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20614         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20616 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20618         [BZ #18498]
20619         * libio/memstream.c (open_memstream): Rename to __open_memstream
20620         and define as weak alias of __open_memstream.
20621         * include/stdio.h (__open_memstream): Declare.  Use
20622         libc_hidden_proto.
20623         (open_memstream): Don't use libc_hidden_proto.
20624         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20625         open_memstream.
20626         * posix/getopt.c (_getopt_internal_r): Likewise.
20627         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20628         variable.
20629         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20630         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20631         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20633         [BZ #18496]
20634         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20635         instead of wcrtomb.
20637         [BZ #18483]
20638         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20639         [__USE_XOPEN2K8].  Remove redundant #endif.
20640         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20641         Remove redundant #if.
20642         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20643         Remove variable.
20644         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20645         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20647         [BZ #18495]
20648         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20649         (__iswlower): Likewise.
20650         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20651         (__iswlower): Likewise.
20652         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20653         instead of towlower.
20654         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20655         instead of iswlower.  Call __towupper instead of towupper.
20656         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20657         instead of iswalnum.
20659 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20661         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20662         errors to stderr.
20664 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20666         [BZ #15661]
20667         [BZ #17322]
20668         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20669         Check for overflow properly.  Check for O_APPEND.  Ignore large
20670         file system block sizes.  Add comments about problems.
20671         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20672         * manual/filesys.texi (Storage Allocation): New node.
20674 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20676         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20677         cancellable syscalls.
20678         (SYS_ify): Add guard to no redefine it.
20679         (INLINE_SYSCALL): Likewise.
20680         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20681         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20682         SYSCALL_CANCEL instead.
20683         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20684         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20685         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20686         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20687         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20688         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20689         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20690         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20691         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20692         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20693         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20694         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20695         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20696         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20697         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20698         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20699         Likewise.
20700         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20701         (__libc_pread64): Likewise.
20702         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20703         (__libc_preadv): Likewise.
20704         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20705         (__libc_readv64): Likewise.
20706         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20707         (__libc_pwrite): Likewise.
20708         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20709         (__libc_pwrite64): Likewise.
20710         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20711         (__libc_pwritev): Likewise.
20712         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20713         (__libc_pwritev64): Likewise.
20714         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20715         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20716         (sync_file_range): Likewise.
20717         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20718         Likewise.
20719         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20720         Likewise.
20721         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20722         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20723         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20724         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20725         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20726         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20727         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20728         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20730         Likewise.
20731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20732         (__libc_read64): Likewise.
20733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20734         Likewise.
20735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20736         Likewise.
20737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20738         Likewise.
20739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20740         Likewise.
20741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20742         (__libc_pread64): Likewise.
20743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20744         Likewise.
20745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20746         (__libc_pwrite64): Likewise.
20747         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20748         (sync_file_range): Likewise.
20749         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20750         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20751         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20752         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20753         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20754         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20755         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20756         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20757         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20758         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20759         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20760         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20761         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20762         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20763         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20764         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20765         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20766         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20767         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20768         Likewise.
20769         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20770         Likewise.
20771         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20772         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20773         Likewise.
20774         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20775         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20776         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20777         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20778         Likewise.
20779         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20780         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20781         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20782         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20783         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20785 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20787         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20788         Include dl-vdso.
20789         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20790         Use VDSO routines for gettimeofday, clock_gettime if
20791         available.
20792         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20793         Declare VDSO symbols.
20794         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20795         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20796         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20797         * sysdeps/unix/sysv/linux/arm/Versions: Add
20798         __vdso_clock_gettime.
20800 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20802         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20803         be an inline implementation regardless of library is built within.
20804         (open_not_cancel_2): Likewise.
20805         (__read_nocancel): Likewise.
20806         (__write_nocancel): Likewise.
20807         (openat_not_cancel): Likewise.
20808         (openat_not_cancel_3): Likewise.
20809         (openat64_not_cancel): Likewise.
20810         (openat64_not_cancel_3): Likewise.
20811         (__close_nocancel): Likewise.
20812         (pause_not_cancel): Likewise.
20813         (nanosleep_not_cancel): Likewise.
20814         (sigsuspend_not_cancel): Likewise.
20816 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20818         [BZ #14958]
20819         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20820         wake-up.
20821         (__pthread_rwlock_rdlock_slow): Likewise.
20822         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20823         Likewise.
20824         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20825         Likewise.
20826         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20827         * nptl/tst-rwlock16.c: New file.
20828         * nptl/Makefile (tests): Add new test.
20830 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20832         [BZ #18324]
20833         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20834         missing wake-up of readers.
20835         * nptl/tst-rwlock15.c: New file.
20836         * nptl/Makefile (tests): Add new test.
20838 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20840         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20841         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20842         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20843         and __nacl_supply_interface_rtld.
20844         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20845         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20846         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20847         Add __nacl_supply_interface_rtld.
20848         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20850 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20852         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20853         isfinite.
20854         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20855         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20857 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20859         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20860         __signbit* with standard C99 macros.
20861         * math/e_exp10l.c: Likewise.
20862         * math/e_exp2l.c: Likewise.
20863         * math/e_scalb.c: Likewise.
20864         * math/e_scalbf.c: Likewise.
20865         * math/e_scalbl.c: Likewise.
20866         * math/s_ldexp.c: Likewise.
20867         * math/s_ldexpf.c: Likewise.
20868         * math/s_ldexpl.c: Likewise.
20869         * math/w_atan2.c: Likewise.
20870         * math/w_atan2f.c: Likewise.
20871         * math/w_atan2l.c: Likewise.
20872         * math/w_cosh.c: Likewise.
20873         * math/w_coshf.c: Likewise.
20874         * math/w_coshl.c: Likewise.
20875         * math/w_exp10.c: Likewise.
20876         * math/w_exp10f.c: Likewise.
20877         * math/w_exp10l.c: Likewise.
20878         * math/w_exp2.c: Likewise.
20879         * math/w_exp2f.c: Likewise.
20880         * math/w_exp2l.c: Likewise.
20881         * math/w_fmod.c: Likewise.
20882         * math/w_fmodf.c: Likewise.
20883         * math/w_fmodl.c: Likewise.
20884         * math/w_hypot.c: Likewise.
20885         * math/w_hypotf.c: Likewise.
20886         * math/w_hypotl.c: Likewise.
20887         * math/w_jnl.c: Likewise.
20888         * math/w_lgamma.c: Likewise.
20889         * math/w_lgamma_r.c: Likewise.
20890         * math/w_lgammaf.c: Likewise.
20891         * math/w_lgammaf_r.c: Likewise.
20892         * math/w_lgammal.c: Likewise.
20893         * math/w_lgammal_r.c: Likewise.
20894         * math/w_pow.c: Likewise.
20895         * math/w_powf.c: Likewise.
20896         * math/w_powl.c: Likewise.
20897         * math/w_remainder.c: Likewise.
20898         * math/w_remainderf.c: Likewise.
20899         * math/w_remainderl.c: Likewise.
20900         * math/w_scalb.c: Likewise.
20901         * math/w_scalbf.c: Likewise.
20902         * math/w_scalbl.c: Likewise.
20903         * math/w_scalbln.c: Likewise.
20904         * math/w_scalblnf.c: Likewise.
20905         * math/w_scalblnl.c: Likewise.
20906         * math/w_sinh.c: Likewise.
20907         * math/w_sinhf.c: Likewise.
20908         * math/w_sinhl.c: Likewise.
20909         * math/w_tgamma.c: Likewise.
20910         * math/w_tgammaf.c: Likewise.
20911         * math/w_tgammal.c: Likewise.
20912         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20913         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20914         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20915         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20916         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20917         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20918         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20919         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20920         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20921         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20922         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20923         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20924         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20925         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20926         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20927         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20928         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20929         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20930         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20931         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20932         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20933         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20934         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20935         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20936         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20937         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20938         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20939         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20940         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20941         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20942         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20943         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20944         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20945         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20946         * stdio-common/printf_fp.c: Likewise.
20947         * stdio-common/printf_fphex.c: Likewise.
20948         * stdio-common/printf_size.c: Likewise.
20950 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20952         [BZ #18470]
20953         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20954         strnlen.
20955         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20956         Remove variable.
20957         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20958         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20959         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20960         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20961         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20962         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20963         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20964         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20965         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20966         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20968         [BZ #18468]
20969         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20970         weak alias of __wmemchr.  Use libc_hidden_weak.
20971         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20972         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20973         instead of wmemchr.
20975 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20977         [BZ #18383]
20978         * elf/tst-tlsalign-extern.c: New file.
20979         * elf/tst-tlsalign-extern-static.c: New file.
20980         * elf/tst-tlsalign-vars.c: New file.
20981         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20982         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20983         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20984         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20985         (test-xfail-tst-tlsalign-extern-static): New variable.
20987 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20989         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20990         Use variable name _sc_err instead of err.
20991         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20992         instead of ret.
20993         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20994         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20995         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20996         (INLINE_SYSCALL): Likewise.
20998         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20999         * include/string.h (__strnlen): Use libc_hidden_proto.
21000         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21001         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21002         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21003         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21004         (libc_hidden_def): Undefine and redefine.
21005         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21006         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21007         __GI_strnlen.
21008         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21009         libc_hidden_def.
21010         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21012         [BZ #18469]
21013         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21014         weak alias of __towlower.  Use libc_hidden_weak.
21015         (towupper): Rename to __towupper and define as weak alias of
21016         __towupper.  Use libc_hidden_weak.
21017         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
21018         (__towupper): Likewise.
21019         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21020         __towlower instead of towlower.
21022 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21024         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21025         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21027 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21029         * sysdeps/aarch64/libm-test-ulps: Update.
21031 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21033         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21034         Define.
21035         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21036         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21037         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21038         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21039         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21040         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21041         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21043 2015-06-01  Martin Sebor  <msebor@redhat.com>
21045         [BZ #18116]
21046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21047         (__setcontext): Use extended four-operand version of mtsf whenever
21048         possible.
21049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21050         (__novec_swapcontext): Likewise.
21052 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21054         * benchtests/scripts/compare_bench.py: New file.
21055         * benchtests/scripts/import_bench.py (mean): New function.
21056         (split_list): Likewise.
21057         (do_for_all_timings): Likewise.
21058         (compress_timings): Likewise.
21060         * benchtests/scripts/import_bench.py: New file.
21061         * benchtests/scripts/validate_benchout.py: Import import_bench
21062         instead of jsonschema.
21063         (validate_bench): Remove function.
21064         (main): Use import_bench.
21066 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
21068         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21069         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21071 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21075 2015-05-28  Roland McGrath  <roland@hack.frob.com>
21077         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21078         set THREAD_SELF->tid to a magic value and futex-wake it.
21079         Pass its address to the thread_exit system call.
21080         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21081         bit is clear.
21082         * sysdeps/nacl/lowlevellock.h: New file.
21083         * sysdeps/nacl/lll_timedwait_tid.c: New file.
21085         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21086         Add TIMEOUT to current time, don't subtract it.
21088 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
21090         [BZ #2981]
21091         [BZ #18422]
21092         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21093         ($(objpfx)tst-audit2.out): Also depend on
21094         $(objpfx)tst-auditmod9b.so.
21095         * elf/tst-audit2.c: Include <dlfcn.h>.
21096         (calloc_called): New.
21097         (calloc): Allow to be called more than once.
21098         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21100 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
21102         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21103         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21105 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
21107         * stdlib/monetary.h: Fix comment.
21109 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
21111         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21112         Avoid using variables in #defines that might cause shadowing.
21113         (INTERNAL_VSYSCALL_CALL): Likewise.
21115 2015-05-26  Roland McGrath  <roland@hack.frob.com>
21117         * sysdeps/nacl/lll_timedlock_wait.c: New file.
21119         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21120         * nptl/lll_timedlock_wait.c: ... to this new file.
21121         * nptl/Makefile (libpthread-routines): Add it.
21122         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21123         * nptl/lll_timedwait_tid.c: ... to this new file.
21124         * nptl/Makefile (libpthread-routines): Add it.
21125         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21126         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21127         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21128         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21129         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21130         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21131         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21132         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21133         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21134         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21136 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21138         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21139         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21140         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21141         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21142         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21143         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21144         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21145         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21146         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21147         * sysdeps/unix/sysv/linux/tile/sysdep.h
21148         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21149         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21150         using vDSO syscall macro.
21152 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21154         [BZ #17293]
21155         * uk_UA: Fix sorting order for Ukrainian locale
21157 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21159         * stdlib/monetary.h: Fix comment.
21161 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21163         [BZ #18234]
21164         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21165         st_mtim and st_ctim members.
21166         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21167         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21168         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21169         (struct stat64): Likewise.
21170         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21171         (struct stat64): Likewise.
21172         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21173         (struct stat64): Likewise.
21175 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21177         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21178         Define and include sysdep-vdso.h.
21179         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21180         Likewise.
21181         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21182         Likewise.
21183         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21184         Define with VDSO_SYMBOL and use PTR_MANGLE.
21185         (__vdso_clock_gettime): Likewise.
21186         (__vdso_clock_getres): Likewise.
21187         (_libc_vdso_platform_setup): Likewise.
21188         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21189         Likewise.
21190         (_libc_vdso_platform_setup): Likewise.
21191         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21192         Likewise.
21193         (__vdso_clock_gettime): Likewise.
21194         (__vdso_clock_getres): Likewise.
21195         (__vdso_get_tbfreq): Likewise.
21196         (__vdso_getcpu): Likewise.
21197         (__vdso_time): Likewise.
21198         (__vdso_sigtramp_rt64): Likewise.
21199         (__vdso_signtramp32): Likewise.
21200         (__vdso_sigtramp_rt32): Likewise.
21201         (_libc_vdso_platform_setup): Likewise.
21202         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21203         Likewise.
21204         (__vdso_clock_gettime): Likewise.
21205         (__vdso_clock_getres): Likewise.
21206         (_libc_vdso_platform_setup): Likewise.
21207         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21208         Likewise.
21209         (__vdso_clock_gettime): Likewise.
21210         (_libc_vdso_platform_setup): Likewise.
21211         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21212         Likewise.
21213         (__vdso_getcpu): Likewise.
21214         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21215         Use VDSO_SYMBOL macro to define.
21216         (__vdso_clock_gettime): Likewise.
21217         (__vdso_clock_getres): Likewise.
21218         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21219         Likewise.
21220         (__vdso_clock_gettime): Likewise.
21221         (__vdso_clock_getres): Likewise.
21222         (__vdso_get_tbfreq): Likewise.
21223         (__vdso_getcpu): Likewise.
21224         (__vdso_time): Likewise.
21225         (__vdso_sigtramp_rt64): Likewise.
21226         (__vdso_signtramp32): Likewise.
21227         (__vdso_sigtramp_rt32): Likewise.
21228         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21229         Likewise.
21230         (__vdso_clock_gettime): Likewise.
21231         (__vdso_clock_getres): Likewise.
21232         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21233         Likewise.
21234         (__vdso_clock_gettime): Likewise.
21235         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21236         Likewise.
21237         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21238         macro.
21239         (INTERNAL_VSYSCALL): Likewise.
21240         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21241         Remove macro.
21242         (INTERNAL_VSYSCALL): Likewise.
21243         (INTERNAL_VSYSCALL_NCS): Likewise.
21244         (INTERNAL_VSYSCALL_CALL): New macro.
21245         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21246         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21247         Likewise.
21248         (INTERNAL_VSYSCALL): Likewise.
21249         (INTERNAL_VSYSCALL_NCS): Likewise.
21250         (INTERNAL_VSYSCALL_CALL): New macro.
21251         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21253         (INLINE_VSYSCALL): Remove macro.
21254         (INTERNAL_VSYSCALL): Remove macro.
21255         (INTERNAL_VSYSCALL_NCS): Remove macro.
21256         (INTERNAL_VSYSCALL_CALL): New macro.
21257         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21258         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21259         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21260         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21261         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21263         (INLINE_VSYSCALL): Remove macro.
21264         (INTERNAL_VSYSCALL): Likewise.
21265         (INTERNAL_VSYSCALL_NCS): Likewise.
21266         (INTERNAL_VSYSCALL_CALL): New macro.
21267         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21268         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21269         PTR_DEMANGLE on vDSO pointer.
21270         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21271         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21272         macro.
21273         (INTERNAL_SYSCALL): Likewise.
21274         (INTERNAL_VSYSCALL_NCS): Remove macro.
21275         (INTERNAL_VSYSCALL_CALL): New macro.
21276         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21277         Remove macro.
21278         (INTERNAL_VSYSCALL): Likewise.
21279         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21280         sysdep-vdso.h instead of libc-vdso.h.
21281         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21282         definition.
21283         (INLINE_VSYSCALL): Likewise.
21284         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21285         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21286         definition.
21287         (INLINE_VSYSCALL): Likewise.
21288         (INTERNAL_VSYSCALL): Likewise.
21289         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21290         * sysdeps/unix/sysv/linux/timespec_get.c
21291         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21292         (timespec_get): Use ANSI prototype.
21293         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21294         and definition for Linux.
21296 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21298         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21299         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21301 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21303         [BZ #2981]
21304         [BZ #18410]
21305         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21306         for missing DT_PLTRELSZ.
21308 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21310         Remove obsolete aliases that broke 'locale -a'
21311         [BZ #18412]
21312         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21313         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21314         breaking some applications that use 'locale -a' output.
21315         Change the encoding of this file from Latin-1 to ASCII to avoid
21316         other potential problems with people grepping this file.
21318 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21320         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21321         -fasynchronous-unwind-tables.
21322         (CFLAGS-sendto.c): Likewise.
21323         (CFLAGS-sendmsg.c): Likewise.
21324         (CFLAGS-connect.c): Likewise.
21325         (CFLAGS-recvmsg.c): Likewise.
21326         (CFLAGS-recvfrom.c): Likewise.
21327         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21328         (SOCKETCALL): New macro: non-cancellable socketcall.
21329         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21330         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21331         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21332         * sysdeps/unix/sysv/linux/accept.c: New file.
21333         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21334         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21335         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21336         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21337         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21338         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21339         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21340         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21341         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21342         * sysdeps/unix/sysv/linux/send.c: Likewise.
21343         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21344         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21345         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21346         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21347         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21348         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21349         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21350         prototype.
21351         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21352         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21353         instead of __internal_xxx function.
21354         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21355         prototype.
21356         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21357         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21358         instead of __internal_xxx function.
21359         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21360         prototype.
21361         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21362         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21363         instead of __internal_xxx function.
21364         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21365         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21366         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21367         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21368         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21369         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21370         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21371         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21372         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21373         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21374         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21375         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21376         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21377         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21378         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21379         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21380         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21381         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21382         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21383         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21386         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21387         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21388         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21389         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21390         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21391         * sysdeps/unix/sysv/linux/send.S: Likewise.
21392         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21393         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21394         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21395         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21396         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21397         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21398         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21399         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21400         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21401         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21402         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21403         socketcall is implemented in GLIBC.
21405 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21407         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21408         (__fma): Ignore uninitialized warnings around packing.
21409         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21410         (__fmaf): Ignore uninitialized warnings around packing.
21411         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21412         (__fmal): Ignore uninitialized warnings around packing.
21414         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21415         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21416         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21417         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21419         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21420         switch statement into default case.
21421         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21423         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21424         a conditional in forcing "inexact".
21425         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21426         Likewise.
21428 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21430         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21431         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21432         for each INTERNAL_SYSCALL use.
21434 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21436         [BZ #438]
21437         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21438         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21439         variable.
21441         [BZ #18444]
21442         * string/basename.c (basename): Rename to __basename and define as
21443         weak alias of __basename.  Use libc_hidden_weak.
21444         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21445         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21446         __basename instead of basename.
21447         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21448         Remove variable.
21449         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21451 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21453         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21454         (_IO_JUMPS_FILE_plus): New.
21455         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21456         _IO_CAST_FIELD_ACCESS.
21457         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21458         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21459         * libio/freopen.c (freopen): Likewise.
21460         * libio/freopen64.c (freopen64): Likewise.
21461         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21462         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21463         * libio/iofwide.c (_IO_fwide): Likewise.
21464         * libio/memstream.c (open_memstream): Likewise.
21465         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21466         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21467         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21469 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21471         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21472         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21473         NADJ.
21474         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21475         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21476         NADJ.
21477         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21478         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21479         NADJ.
21481         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21482         (p == 4) case.
21484         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21485         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21486         Remove variable.
21487         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21488         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21489         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21491 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21493         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21494         Adjust jump table label generation macros.
21496 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21498         * stdio-common/vfprintf.c (vfprintf): Move local variables
21499         args_malloced, specs, specs_malloced, and the code after
21500         do_positional to the printf_positional function.
21501         (printf_positional): New function.
21503 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21505         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21506         function.
21507         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21508         STEP4_TABLE, process_arg): Move macro definitions
21509         out of the vfprintf function.  (Cosmetic change only.)
21511 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21513         * benchtests/Makefile (stdio-common-bench): Define.
21514         (benchset): Add stdio-common-bench.
21515         * sprintf-inputs: New file.
21516         * sprintf-source.c: New file.
21518 2015-05-21  Andreas Schwab  <schwab@suse.de>
21520         [BZ #13028]
21521         [BZ #17053]
21522         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21523         of struct __res_state.
21524         * resolv/res_send.c (__libc_res_nsend): Likewise.
21525         (get_nsaddr): New function.
21526         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21527         statp directly.
21529 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21531         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21532         -D_POSIX_C_SOURCE=199506L.
21534         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21536         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21537         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21538         Do not mention otherwise.
21539         [POSIX] (_XOPEN_VERSION): Do not expect.
21540         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21541         [POSIX] (_POSIX2_C_BIND): Likewise.
21542         [POSIX] (_POSIX2_VERSION): Likewise.
21543         [POSIX] (_XOPEN_XPG2): Likewise.
21544         [POSIX] (_XOPEN_XPG3): Likewise.
21545         [POSIX] (_XOPEN_XPG4): Likewise.
21546         [POSIX] (_XOPEN_UNIX): Likewise.
21547         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21548         [POSIX] (_POSIX_BARRIERS): Likewise.
21549         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21550         [POSIX] (_POSIX_CPUTIME): Likewise.
21551         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21552         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21553         [POSIX] (_POSIX_SHELL): Likewise.
21554         [POSIX] (_POSIX_SPAWN): Likewise.
21555         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21556         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21557         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21558         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21559         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21560         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21561         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21562         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21563         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21564         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21565         [POSIX] (_POSIX2_PBS): Likewise.
21566         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21567         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21568         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21569         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21570         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21571         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21572         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21573         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21574         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21575         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21576         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21577         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21578         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21579         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21580         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21581         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21582         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21583         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21584         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21585         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21586         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21587         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21588         [POSIX] (_SC_2_C_BIND): Likewise.
21589         [POSIX] (_SC_2_C_VERSION): Likewise.
21590         [POSIX] (_SC_2_PBS): Likewise.
21591         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21592         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21593         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21594         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21595         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21596         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21597         [POSIX] (_SC_BARRIERS): Likewise.
21598         [POSIX] (_SC_BASE): Likewise.
21599         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21600         [POSIX] (_SC_DEVICE_IO): Likewise.
21601         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21602         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21603         [POSIX] (_SC_FD_MGMT): Likewise.
21604         [POSIX] (_SC_FIFO): Likewise.
21605         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21606         [POSIX] (_SC_FILE_LOCKING): Likewise.
21607         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21608         [POSIX] (_SC_IOV_MAX): Likewise.
21609         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21610         [POSIX] (_SC_NETWORKING): Likewise.
21611         [POSIX] (_SC_PAGE_SIZE): Likewise.
21612         [POSIX] (_SC_PASS_MAX): Likewise.
21613         [POSIX] (_SC_PIPE): Likewise.
21614         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21615         [POSIX] (_SC_REGEXP): Likewise.
21616         [POSIX] (_SC_SHELL): Likewise.
21617         [POSIX] (_SC_SIGNALS): Likewise.
21618         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21619         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21620         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21621         [POSIX] (_SC_USER_GROUPS): Likewise.
21622         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21623         [POSIX] (_SC_STREAMS): Likewise.
21624         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21625         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21626         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21627         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21628         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21629         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21630         [POSIX] (_PC_FILESIZEBITS): Likewise.
21631         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21632         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21633         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21634         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21635         [POSIX] (uid_t): Likewise.
21636         [POSIX] (gid_t): Likewise.
21637         [POSIX] (off_t): Likewise.
21638         [POSIX] (pid_t): Likewise.
21639         [POSIX] (cuserid): Allow.
21640         (_SC_2_CHAR_TERM): Require constant.
21641         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21642         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21643         variable.
21645 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21647         * sysdeps/nacl/pthread-pids.h: New file.
21648         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21649         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21651         * nptl/pthread-pids.h: New file.
21652         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21653         * nptl/nptl-init.c: Include <pthread-pids.h>.
21654         (__pthread_initialize_minimal_internal):
21655         Call __pthread_initialize_pids instead of set_tid_address syscall.
21657         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21658         * sysdeps/posix/usleep.c: ... here.
21660 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21662         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21663         call_pselect6 object.
21664         [$(subdir) = io]: Remove call_sync_file_range object.
21665         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21666         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21667         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21668         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21670 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21672         * math/s_cproj.c: Add include "math_private.h".
21673         * math/s_cprojf.c: Likewise.
21674         * math/s_cprojl.c: Likewise.
21676 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21678         [BZ #18244]
21679         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21680         high mantissa bit when testing whether P is a NaN.
21681         * math/libm-test.inc (remainder_test_data): Add more tests.
21682         (remquo_test_data): Likewise.
21684         [BZ #18049]
21685         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21686         below -32, return the argument, with underflow if subnormal.
21687         * math/auto-libm-test-in: Add more tests of atanh.
21688         * math/auto-libm-test-out: Regenerated.
21690 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21692         [BZ #18434]
21693         * nptl/tst-sem15.c: New file.
21694         * nptl/Makefile (tests): Add it.
21695         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21696         s/<</>>/ to fix typo in EOVERFLOW check.
21697         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21699 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21701         * manual/strings.texi (envz_remove): Fix typo in safety
21702         annotations.
21704 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21705             Steve Ellcey  <sellcey@imgtec.com>
21707         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21708         in order to avoid strict alias warnings.
21709         (iruserok_af): Ditto for ra.
21711 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21713         [BZ #17581]
21714         * malloc/hooks.c
21715         (magicbyte): Convert to a function and avoid returning 0x01.
21716         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21717         (mem2chunk_check): Fix unsigned comparisons to zero.
21718         Hoist defs of sz and magic.
21720 2015-05-19  Richard Henderson  <rth@redhat.com>
21722         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21724         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21726 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21728         [BZ #16159]
21729         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21730         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21731         (reused_arena): Find a non-corrupt arena.
21732         (heap_trim): Pass arena to unlink.
21733         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21734         malloc_printerr.
21735         (top_check): Likewise.
21736         (free_check): Likewise.
21737         (realloc_check): Likewise.
21738         * malloc/malloc.c (malloc_printerr): Add arena argument.
21739         (unlink): Likewise.
21740         (munmap_chunk): Adjust.
21741         (ARENA_CORRUPTION_BIT): New macro.
21742         (arena_is_corrupt): Likewise.
21743         (set_arena_corrupt): Likewise.
21744         (sysmalloc): Use mmap if there are no usable arenas.
21745         (_int_malloc): Likewise.
21746         (__libc_malloc): Don't fail if arena_get returns NULL.
21747         (_mid_memalign): Likewise.
21748         (__libc_calloc): Likewise.
21749         (__libc_realloc): Adjust for additional argument to
21750         malloc_printerr.
21751         (_int_free): Likewise.
21752         (malloc_consolidate): Likewise.
21753         (_int_realloc): Likewise.
21754         (_int_memalign): Don't touch corrupt arenas.
21755         * malloc/tst-malloc-backtrace.c: New test case.
21757         * Makefile (summarize-tests): Fix return value on success.
21759         * manual/string.texi (Envz Functions): Add envz_remove.
21761 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21763         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21764         (invalid_name): New function, broken out of ...
21765         (__opendirat): ... here.  Call it.
21766         (need_isdir_precheck): New function, broken out of ...
21767         (__opendirat): ... here.  Call it.
21768         Use __fxstatat64, not __xstatat64.
21769         (opendir_oflags): New function, broken out of ...
21770         (__opendirat): ... here.  Call it.
21771         (opendir_tail): New function, broken out of ...
21772         (__opendirat): ... here.  Call it.
21773         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21774         opendir_tail, rather than punting to __opendirat.
21775         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21777 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21779         * .gitignore: Ignore generated *.pyc.
21781 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21783         * include/stdio.h: Define __need_wint_t.
21784         * test-skeleton.c: Avoid `for' loop initial declaration.
21785         * nptl/tst-initializers1.c: Use test-skeleton.c.
21787 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21789         [BZ #18418]
21790         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21792 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21794         [BZ #16352]
21795         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21796         (__ieee754_atanh): Force underflow exception for results with
21797         small absolute value.
21798         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21799         (__ieee754_atanhf): Force underflow exception for results with
21800         small absolute value.
21801         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21802         (__ieee754_atanh): Force underflow exception for results with
21803         small absolute value.
21804         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21805         (__ieee754_atanhf): Force underflow exception for results with
21806         small absolute value.
21807         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21808         (__ieee754_atanhl): Force underflow exception for results with
21809         small absolute value.
21810         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21811         (__ieee754_atanhl): Force underflow exception for results with
21812         small absolute value.
21813         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21814         (__ieee754_atanhl): Force underflow exception for results with
21815         small absolute value.
21816         * math/auto-libm-test-in: Do not allow missing underflow
21817         exceptions from atanh.
21818         * math/auto-libm-test-out: Regenerated.
21820         [BZ #18221]
21821         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21822         2**-28 as threshold for returning x or +/- 1/x.
21823         * math/auto-libm-test-in: Add more tests of tan.
21824         * math/auto-libm-test-out: Regenerated.
21826         [BZ #18220]
21827         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21828         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21829         * math/auto-libm-test-in: Add another test of lgamma.
21830         * math/auto-libm-test-out: Regenerated.
21832 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21834         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21835         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21836         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21837         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21838         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21839         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21840         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21841         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21842         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21843         (log1): Use fabs.  (my_log2): Use fabs.
21844         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21845         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21846         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21847         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21848         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21849         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21850         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21851         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21852         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21853         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21854         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21856 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21858         [BZ #18217]
21859         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21860         as threshold for returning 1 - x.
21861         * math/auto-libm-test-in: Add more tests of erfc.
21862         * math/auto-libm-test-out: Regenerated.
21864 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21866         [BZ #18196]
21867         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21868         threshold for large arguments.
21869         * math/auto-libm-test-in: Add another test of atan.
21870         * math/auto-libm-test-out: Regenerated.
21872         [BZ #16339]
21873         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21874         (__log1p): Force underflow exception for results with small
21875         absolute value.
21876         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21877         (__log1pf): Force underflow exception for results with small
21878         absolute value.
21879         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21880         (__log1p): Force underflow exception for results with small
21881         absolute value.
21882         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21883         (__log1pf): Force underflow exception for results with small
21884         absolute value.
21885         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21886         (__log1pl): Force underflow exception for results with small
21887         absolute value.
21888         * math/auto-libm-test-in: Do not allow missing underflow
21889         exceptions from log1p.
21890         * math/auto-libm-test-out: Regenerated.
21892 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21893             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21895         [BZ #16704]
21896         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21898 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21900         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21901         (libmvec): New variable.
21902         * configure.ac: Added option for mathvec build.
21903         * configure: Regenerated.
21904         * mathvec/Depend: New file.
21905         * mathvec/Makefile: New file.
21906         * shlib-versions: Added libmvec.
21907         * math/Makefile: Added rule for libm.so installation.
21909         * bits/math-vector.h: New file.
21910         * bits/libm-simd-decl-stubs.h: New header.
21911         * math/Makefile (headers): Added new header
21912         libm-simd-decl-stubs.h.
21913         * math/math.h (__MATHCALL_VEC): New macro.
21915         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21916         for conditions in testing functions.
21917         * math/Makefile: Added call of libm-have-vector-test.sh.
21918         * math/libm-test.inc (HAVE_VECTOR): New macros.
21920         * math/libm-test.inc: START refactored.
21921         * math/test-double.c (TEST_MATHVEC): Add define.
21922         * math/test-float.c: Likewise.
21923         * math/test-idouble.c: Likewise.
21924         * math/test-ifloat.c: Likewise.
21925         * math/test-ildoubl.c: Likewise.
21926         * math/test-ldouble.c: Likewise.
21927         * sysdeps/generic/math-tests-arch.h
21928         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21929         architecture check.
21931         * math/test-double.c (FUNC_TEST): New macro.
21932         * math/test-float.c: Likewise.
21933         * math/test-idouble.c: Likewise.
21934         * math/test-ifloat.c: Likewise.
21935         * math/test-ildoubl.c: Likewise.
21936         * math/test-ldouble.c: Likewise.
21937         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21939 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21941         * sysdeps/nacl/fdopendir.c: New file.
21943         * dirent/scandir-tail.c: New file.
21944         * dirent/scandir64-tail.c: New file.
21945         * dirent/Makefile (routines): Add them.
21946         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21947         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21948         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21949         [!SCANDIR] (SCANDIR_TAIL): New macro.
21950         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21951         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21952         (SCANDIRAT): Macro removed.
21953         (SCANDIR_TAIL): New macro.
21954         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21955         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21956         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21957         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21958         (READDIR): Macro removed.
21959         (SCANDIR_TAIL): New macro.
21960         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21961         (SCANDIR_TAIL): New macro.
21963         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21964         * dirent/scandir-cancel.c: ... to this new file.
21965         * dirent/Makefile (routines): Add it.
21966         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21967         * sysdeps/unix/sysv/linux/i386/scandir64.c
21968         (SKIP_SCANDIR_CANCEL): Macro removed.
21969         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21971         * dirent/tst-scandir.c: New file.
21972         * dirent/tst-scandir64.c: New file.
21973         * dirent/Makefile (tests): Add them.
21975 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21977         [BZ #18409]
21978         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21980 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21982         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21983         list.
21985 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21987         * benchtests/bench-strcoll.c: New benchmark.
21988         * benchtests/Makefile: Generate locales and run benchmark.
21989         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21990         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21991         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21992         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21993         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21994         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21995         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21996         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21997         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21998         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21999         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22000         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22001         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22002         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22003         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22004         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22005         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22006         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22007         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22008         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22009         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22010         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22011         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22012         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22014 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
22016         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22017         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22019 2015-05-12  Roland McGrath  <roland@hack.frob.com>
22021         * posix/uname-values.h: New file.
22022         * posix/uname.c: Include that instead of <config-name.h>.
22023         * sysdeps/nacl/uname-values.h: New file.
22024         * sysdeps/arm/nacl/uname-values.h: New file.
22026 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
22028         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22029         splitting into fields.
22031 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
22033         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22034         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22035         * locale/localeinfo.h: Add enum collation_encoding_type.
22036         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22037         * programs/ld-collate.c (collate_output): Add encoding type info.
22038         * string/strcoll_l.c (STRDIFF): New function.
22039         * (STRCOLL): Use STRDIFF to skip over equal prefix.
22040         * wcsmbs/wcscoll_l.c: Define STRDIFF.
22042 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
22044         [BZ #18397]
22045         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22046         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
22047         <fpu_control.h> instead of <math/fpu_control.c>.
22048         * sysdeps/mips/mips32/fpu/Makefile: New file.
22050 2015-05-11  Andreas Schwab  <schwab@suse.de>
22052         [BZ #18007]
22053         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22054         nss_endgrent.
22055         (_nss_compat_endgrent): Call nss_endgrent.
22056         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22057         nss_endpwent.
22058         (_nss_compat_endpwent): Call nss_endpwent.
22059         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22060         needent, call nss_setspent only if non-zero.
22061         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22062         (internal_endspent): Don't call nss_endspent.
22063         (_nss_compat_endspent): Call nss_endspent.
22064         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22065         Remove.  All uses removed.
22066         (internal_setent): Remove parameter stayopen, add parameter
22067         stream.  Use it instead of global variable.
22068         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22069         (internal_endent, internal_getent): Add parameter stream.  Use it
22070         instead of global variable.
22071         (CONCAT(_nss_files_end,ENTNAME))
22072         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22073         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
22074         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
22075         uses removed.
22076         (internal_setent, internal_endent): Add parameter stream.  Use it
22077         instead of global variable.
22078         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22079         stream.
22080         (get_next_alias): Add parameter stream.
22081         (_nss_files_getaliasent_r): Pass global stream.
22082         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
22083         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22084         (_nss_files_gethostbyname4_r): Pass local stream to
22085         internal_setent, internal_getent and internal_endent.  Remove
22086         locking.
22088 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22090         * tst-strfmon1.c (tests): Update expected currency symbol.
22092 2015-05-08  Roland McGrath  <roland@hack.frob.com>
22094         * sysdeps/nacl/gethostname.c: New file.
22096 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
22098         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22099         and sinh.
22100         * math/auto-libm-test-out: Regenerated.
22101         * sysdeps/i386/fpu/libm-test-ulps: Update.
22102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22104 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
22106         [BZ #18125]
22107         * stdlib/tst-setcontext3.c: New file.
22108         * stdlib/tst-setcontext3.sh: New file.
22109         * stdlib/Makefile (tests): Add tst-setcontext3.
22110         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22111         to verify test program created output file.
22112         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22113         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22114         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22115         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22117 2015-05-06  Roland McGrath  <roland@hack.frob.com>
22119         [BZ #18383]
22120         * elf/tst-tlsalign.c: New file.
22121         * elf/tst-tlsalign-static.c: New file.
22122         * elf/tst-tlsalign-lib.c: New file.
22123         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22124         (tests-static): Add tst-tlsalign-static.
22125         (modules-names): Add tst-tlsalign-lib.
22126         (test-xfail-tst-tlsalign): New variable.
22127         (test-xfail-tst-tlsalign-static): New variable.
22129         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22130         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22132 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
22134         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22135         csqrt, erfc, sin and sincos.
22136         * math/auto-libm-test-out: Regenerated.
22137         * sysdeps/i386/fpu/libm-test-ulps: Update.
22138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22140 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22142         * sysdeps/aarch64/libm-test-ulps: Update.
22144 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22146         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22147         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22148         * math/auto-libm-test-out: Regenerated.
22149         * sysdeps/i386/fpu/libm-test-ulps: Update.
22150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22152 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22154         [BZ #18265]
22155         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22156         (wcsncpy): Likewise.
22158 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22160         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22161         Assume __ASSUME_FALLOCATE is always true.
22162         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22163         (__posix_fallocate64_l64): Likweise.
22164         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22165         (posix_fallocate): Likewise.
22166         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22167         (__posix_fallocate64_l64): Likewise.
22168         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22169         [!__ASSUME_FALLOCATE]: Add comment.
22171 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22173         * sysdeps/unix/sysv/linux/i386/Makefile
22174         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22175         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22176         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22177         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22178         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22179         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22180         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22182 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22184         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22185         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22186         tgamma.
22187         * math/auto-libm-test-out: Regenerated.
22188         * sysdeps/i386/fpu/libm-test-ulps: Update.
22189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22191 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22193         * math/auto-libm-test-in: Add more tests of 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         * math/auto-libm-test-in: Add more tests of tanh.
22199         * math/auto-libm-test-out: Regenerated.
22200         * sysdeps/i386/fpu/libm-test-ulps: Update.
22201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22203         * math/auto-libm-test-in: Add more tests of tan.
22204         * math/auto-libm-test-out: Regenerated.
22205         * sysdeps/i386/fpu/libm-test-ulps: Update.
22206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22208         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22209         * math/auto-libm-test-out: Regenerated.
22210         * sysdeps/i386/fpu/libm-test-ulps: Update.
22211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22213         * math/auto-libm-test-in: Add another test of pow.
22214         * math/auto-libm-test-out: Regenerated.
22215         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22217         * math/auto-libm-test-in: Add more tests of lgamma.
22218         * math/auto-libm-test-out: Regenerated.
22219         * sysdeps/i386/fpu/libm-test-ulps: Update.
22220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22222         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22223         log1p.
22224         * math/auto-libm-test-out: Regenerated.
22225         * sysdeps/i386/fpu/libm-test-ulps: Update.
22226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22228 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22230         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22231         Elf64_Chdr structs and ELFCOMPRESS constants.
22233 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22235         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22236         expm1.
22237         * math/auto-libm-test-out: Regenerated.
22238         * sysdeps/i386/fpu/libm-test-ulps: Update.
22239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22241         * math/auto-libm-test-in: Add more tests of erf and erfc.
22242         * math/auto-libm-test-out: Regenerated.
22243         * sysdeps/i386/fpu/libm-test-ulps: Update.
22244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22246 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22248         * config.h.in (HAVE_AARCH64_BE): Add.
22250 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22252         * math/auto-libm-test-in: Add more tests of csqrt.
22253         * math/auto-libm-test-out: Regenerated.
22254         * sysdeps/i386/fpu/libm-test-ulps: Update.
22255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22257         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22258         * math/auto-libm-test-out: Regenerated.
22259         * sysdeps/i386/fpu/libm-test-ulps: Update.
22260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22262         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22264 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22266         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22267         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22269         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22270         (euidaccess, eaccess): Define as weak aliases.
22272         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22273         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22274         but __suseconds_t is often 'long int' so some sources assume that
22275         type is being used (e.g. they use %ld to print tv_usec).
22277 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22279         [BZ #18007]
22280         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22281         (CVE-2014-8121)
22282         * nss/tst-nss-getpwent.c: New file.
22283         * nss/Makefile (tests): Add new test.
22285 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22287         [BZ #18346]
22288         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22289         exponents less than 48 as cases where high part of mantissa needs
22290         examining to determine whether argument is integral.
22291         * math/libm-test.inc (round_test_data): Add more tests.
22293 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22295         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22297 2015-04-27  David S. Miller  <davem@davemloft.net>
22299         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22300         __tls_get_addr.
22301         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22303 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22305         [BZ#18333]
22306         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22308 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22310         [BZ#18333]
22311         * time/tzset.c (parse_tzname): Return error on memory allocation
22312         failure.
22313         * test-skeleton.c (struct temp_name_list): Change type of name
22314         member to non-const.
22315         (add_temp_file): Create a copy of the file name.
22316         (delete_temp_files): Deallocate memory.
22317         (create_temp_file): Add comment.
22319 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22321         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22322         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22324 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22326         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22327         * sysdeps/arm/configure: Regenerated.
22329 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22331         [BZ #17715]
22332         * time/tzfile.c (__tzfile_read): Check for large values of
22333         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22334         * time/tzset.c (__tzstring_len): New function, based on the old
22335         __tzstring function.
22336         (__tzstring): Call __tzstring_len.
22337         (parse_tzname): New helper function extracted from
22338         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22339         the input string.
22340         (parse_offset): New helper function extracted from
22341         __tzset_parse_tz.  Replace switch with fallthrough with
22342         initialization before sscanf.
22343         (parse_rule): Likewise.
22344         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22345         new-style function definition.
22346         * timezone/Makefile (tests): Add tst-tzset.
22347         (tst-tzset.out): Dependencies on time zone files.
22348         (tst-tzset-ENV): Set TZDIR.
22349         (testdata/XT%): Copy crafted time zone files.
22350         * timezone/README: Mention crafted time zone files.
22351         * timezone/testdata/XT1, timezone/testdata/XT2,
22352         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22353         files.
22354         * timezone/tst-tzset.c: New test.
22356 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22358         * Makeconfig (+gccwarn): Remove -Winline.
22360 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22362         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22364 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22366         * NEWS: Mention sysconf() cache information support for s390.
22367         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22369 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22371         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22372         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22373         (__nearbyint): Likewise.
22374         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22375         (copysignl): Likewise.
22377 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22379         [BZ #18287]
22380         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22381         based on padding.  (CVE-2015-1781)
22383 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22385         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22386         libc-vdso.h.
22387         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22388         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22389         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22390         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22391         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22392         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22393         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22394         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22395         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22396         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22397         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22398         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22399         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22400         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22401         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22402         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22403         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22404         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22405         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22406         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22407         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22408         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22409         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22411 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22413         * stdlib/setenv.c (__add_to_environ):
22414         Dump core quickly if setenv (..., NULL, ...) is called.
22415         This time, do it the right way, and pacify GCC with a pragma.
22417 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22419         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22420         IMAP->l_prev cannot be null, and #if out the code for the contrary
22421         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22422         believe that NS (&_dl_ns[NSID]) could point outside the array.
22424         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22425         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22426         before using NSID as an index.
22428 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22430         [BZ #17825]
22431         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22432         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22433         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22435 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22437         Add preliminary port to Google Native Client on ARM.
22438         * abi-tags (.*-.*-nacl.*): New entry.
22439         * sysdeps/arm/nacl: New directory.
22440         * sysdeps/nacl: New directory.
22442 2015-04-16  David S. Miller  <davem@davemloft.net>
22444         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22445         lowlevellock-futex.h
22447 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22449         * sysdeps/tile/configure.ac: New file.
22450         * sysdeps/tile/configure: Regenerated.
22452 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22454         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22455         conditionals for weak_alias and libc_hidden_weak.
22456         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22457         libc_hidden_weak and weak_alias.
22458         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22459         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22460         and weak_alias for static one.
22462 2015-04-15  David S. Miller  <davem@davemloft.net>
22464         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22466 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22468         [BZ #18206]
22469         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22470           Use signed comparision instead of substraction to avoid
22471           overflow bug.
22472         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22473           Take the sign of ret.
22474         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22475           Do not expect precise return values. Only the sign matters.
22476         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22477         * wcsmbs/test-wcsncmp.c: New File.
22478         * string/test-strncmp.c: Add wcsncmp support.
22480 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22482         [BZ #6792]
22483         * math/w_log1p.c: New file.
22484         * math/w_log1pf.c: Likewise.
22485         * math/w_log1pl.c: Likewise.
22486         * math/Makefile (libm-calls): Add w_log1p.
22487         * math/s_log1pl.c (log1pl): Remove weak_alias.
22488         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22489         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22490         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22491         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22492         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22493         [NO_LONG_DOUBLE] (log1pl): Likewise.
22494         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22495         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22496         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22497         (log1p): Remove long_double_symbol.
22498         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22499         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22500         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22501         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22502         remove weak_alias for corresponding log1p function.
22503         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22504         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22505         * sysdeps/ia64/fpu/w_log1p.c: New file.
22506         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22507         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22508         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22510 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22512         [BZ #18247]
22513         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22514         decimal exponent by 1.
22515         * stdlib/tst-strtod-round-data: Add more tests.
22516         * stdlib/tst-strtod-round.c (tests): Regenerated.
22518 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22520         * math/auto-libm-test-in: Add more tests of clog and clog10.
22521         * math/auto-libm-test-out: Regenerated.
22522         * sysdeps/i386/fpu/libm-test-ulps: Update.
22523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22525 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22527         * Makeconfig (module-cppflags): Exclude all .v.i files.
22528         (skip-module-cppflags): Variable removed.
22530         * configure.ac (libc_config_ok): Initialize before reading
22531         preconfigure scripts, not after.
22532         * configure: Regenerated.
22534         * test-skeleton.c (TIMEOUT): Move #define to top level.
22535         (main): Grok environment variable TEST_DIRECT.  If set, print
22536         test expectation details into that file and then behave as if
22537         given --direct.
22539 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22541         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22542         warning on 32-bit.
22544 2015-04-08  David S. Miller  <davem@davemloft.net>
22546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22548 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22550         * math/auto-libm-test-in: Add more tests of atanh.
22551         * math/auto-libm-test-out: Regenerated.
22552         * sysdeps/i386/fpu/libm-test-ulps: Update.
22553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22555         * math/auto-libm-test-in: Add more tests of atan.
22556         * math/auto-libm-test-out: Regenerated.
22557         * sysdeps/i386/fpu/libm-test-ulps: Update.
22558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22560 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22562         * elf/pldd.c (main): Rewrite to use struct
22563         scratch_buffer instead of extend_alloca.
22564         * elf/pldd-xx.c (find_maps): Likewise.
22565         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22566         <alloca.h>.
22567         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22568         scratch_buffer instead of extend_alloca.
22569         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22570         grp/compat-initgroups.c.
22571         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22572         Rewrite to use struct scratch_buffer instead of extend_alloca.
22573         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22574         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22576 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22578         * math/auto-libm-test-in: Add more tests of cbrt.
22579         * math/auto-libm-test-out: Regenerated.
22580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22582         * math/auto-libm-test-in: Add more tests of cabs.
22583         * math/auto-libm-test-out: Regenerated.
22584         * sysdeps/i386/fpu/libm-test-ulps: Update.
22585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22587         [BZ #18210]
22588         [BZ #18211]
22589         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22590         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22591         computations.
22592         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22593         clog10.
22594         * math/auto-libm-test-out: Regenerated.
22595         * sysdeps/i386/fpu/libm-test-ulps: Update.
22596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22598         [BZ #18197]
22599         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22600         (atan): Set FE_TONEAREST mode for internal computations.
22601         * math/auto-libm-test-in: Add more tests of atan.
22602         * math/auto-libm-test-out: Regenerated.
22604 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22606         [BZ #17930]
22607         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22609 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22611         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22613 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22615         * include/scratch_buffer.h: New file.
22616         * malloc/scratch_buffer_grow.c: Likewise.
22617         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22618         * malloc/scratch_buffer_set_array_size.c: Likewise.
22619         * malloc/tst-scratch_buffer.c: Likewise.
22620         * malloc/Makefile (routines): Add scratch_buffer_grow.
22621         (tests): Add test case.
22622         * malloc/Versions (GLIBC_PRIVATE): Export
22623         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22624         __libc_scratch_buffer_set_array_size.
22626 2015-04-06  Richard Henderson  <rth@redhat.com>
22628         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22629         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22631         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22632         unsigned int before printing.
22634 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22636         [BZ #17596]
22637         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22638         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22640 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22642         * include/libc-internal.h (libc_max_align_t): Define.
22644 2015-04-02  Andreas Schwab  <schwab@suse.de>
22646         [BZ #16850]
22647         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22649 2015-04-02  Mel Gorman  <mgorman@suse.de>
22651         [BZ #17195]
22652         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22653         as well as the main arena.
22655 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22657         [BZ #18185]
22658         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22659         sharing L2 cache to 2 for Silvermont/Knights Landing.
22661 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22663         [BZ #17711]
22664         * config.make.in (have-protected-data): New.
22665         * configure.ac: Check linker support for protected data symbol.
22666         * configure: Regenerated.
22667         * elf/Makefile (modules-names): Add tst-protected1moda and
22668         tst-protected1modb if $(have-protected-data) is yes.
22669         (tests): Add tst-protected1a and tst-protected1b if
22670         $(have-protected-data) is yes.
22671         ($(objpfx)tst-protected1a): New.
22672         ($(objpfx)tst-protected1b): Likewise.
22673         (tst-protected1modb.so-no-z-defs): Likewise.
22674         * elf/tst-protected1a.c: New file.
22675         * elf/tst-protected1b.c: Likewise.
22676         * elf/tst-protected1mod.h: Likewise.
22677         * elf/tst-protected1moda.c: Likewise.
22678         * elf/tst-protected1modb.c: Likewise.
22680 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22682         [BZ #17711]
22683         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22684         indicates it is called from do_lookup_x on relocation against
22685         protected data, skip the data definion in the executable from
22686         copy reloc.
22687         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22688         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22689         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22690         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22691         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22692         otherwise to 0.
22693         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22694         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22695         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22696         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22697         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22698         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22700 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22702         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22703         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22705 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22707         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22708         THREAD_SETMEM_NC.
22709         * sysdeps/x86_64/nptl/tls.h: Ditto.
22711 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22713         * dlfcn/tststatic.c (main): Converted to ...
22714         (do_test): ... this.
22715         (TEST_FUNCTION): New macro.
22716         Include test-skeleton.c.
22718 2015-03-26  Alan Modra  <amodra@gmail.com>
22720         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22721         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22722         zero for undefined weak.
22723         (elf_machine_plt_conflict): Similarly.
22725 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22727         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22728         atanh.
22729         * math/auto-libm-test-out: Regenerated.
22730         * sysdeps/i386/fpu/libm-test-ulps: Update.
22731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22733         * math/auto-libm-test-in: Add another test of asin.
22734         * math/auto-libm-test-out: Regenerated.
22735         * sysdeps/i386/fpu/libm-test-ulps: Update.
22736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22738         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22739         Remove macro.
22740         (LLL_EBX_REG): Likewise.
22741         (LLL_ENTER_KERNEL): Likewise.
22743         * math/auto-libm-test-in: Add more tests of asin.
22744         * math/auto-libm-test-out: Regenerated.
22745         * sysdeps/i386/fpu/libm-test-ulps: Update.
22746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22748         [BZ #18138]
22749         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22750         libc_do_syscall_args): New structure.
22751         (INTERNAL_SYSCALL_MAIN_0): New macro.
22752         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22753         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22754         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22755         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22756         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22757         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22758         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22759         Replace conditional definitions by conditional definitions of ....
22760         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22761         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22762         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22763         (libpthread-sysdep_routines): Add libc-do-syscall.
22764         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22765         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22766         to __NR_futex not 240.
22768 2015-03-25  Alan Modra  <amodra@gmail.com>
22770         * NEWS: Advertise TLS optimization.
22771         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22772         (DT_PPC_NUM): Increment.
22773         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22774         (CHECK_STATIC_TLS): Use here.
22775         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22776         TLS descriptors.
22777         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22778         * sysdeps/powerpc/dl-tls.c: New file.
22779         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22780         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22781         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22782         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22787 2015-03-25  Alan Modra  <amodra@gmail.com>
22789         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22790         for overlapping .opd entries" to "support...".
22791         * sysdeps/powerpc/powerpc64/configure: Regenerate
22793 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22795         * math/auto-libm-test-in: Add more tests of acos.
22796         * math/auto-libm-test-out: Regenerated.
22797         * sysdeps/i386/fpu/libm-test-ulps: Update.
22798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22800         * math/auto-libm-test-in: Add more tests of expm1.
22801         * math/auto-libm-test-out: Regenerated.
22802         * sysdeps/i386/fpu/libm-test-ulps: Update.
22803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22805 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22807         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22815         * math/auto-libm-test-in: Add more tests of log2.
22816         * math/auto-libm-test-out: Regenerated.
22817         * sysdeps/i386/fpu/libm-test-ulps: Update.
22818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22820 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22822         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22823         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22824         _IO_IS_APPENDING bit in READ_WRITE instead.
22826 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22828         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22829         (__determine_cpumask_size): Replace extend_alloca with a
22830         variable-length array.  Do not treat res == 0 as an error.
22832 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22834         [BZ #18100]
22835         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22836         and integer overflow.
22837         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22838         (main): Add integer overflow tests.
22839         * manual/pattern.texi (Calling Wordexp): Document additional use
22840         for WRDE_SYNTAX.
22842 2015-03-23  Alan Modra  <amodra@gmail.com>
22844         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22845         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22846         and false branch of conditional.
22847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22848         Likewise.
22850 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22852         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22853         libc-modules.h
22854         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22855         unused declaration of _hurd_intr_rpc_msg_in_trap.
22856         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22857         defined instead of whether it is non-zero.
22858         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22859         input constraint instead of both input and output constraint.  Use ecx
22860         clobber instead of %ecx.
22861         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22862         mutex_unlock): Use a statement expression instead of an expression list.
22863         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22864         type to vm_size_t instead of vm_address_t.
22865         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22866         defined instead of whether it is non-zero.
22867         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22868         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22869         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22870         comparisons with mapaddr.
22871         * nscd/nscd-client.h: Include <time.h>.
22872         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22873         9th parameter to __vm_region instead of int.
22874         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22875         * scripts/check-local-headers.sh (exclude): Add device/,
22876         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22877         cthreads.h.
22879 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22881         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22882         to account for alignment padding.
22883         * sysdeps/arm/memmove.S: Likewise.
22885 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22887         * sysdeps/unix/sysv/linux/generic/README: New file.
22889 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22891         [BZ #18138]
22892         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22893         (futex_abstimed_wait)
22894         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22895         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22896         of lll_futex_timed_wait.
22898 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22900         [BZ #17542]
22901         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22903 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22905         [BZ #17090]
22906         [BZ #17620]
22907         [BZ #17621]
22908         [BZ #17628]
22909         * NEWS: Update.
22910         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22911         entries with Static TLS too.  Skip entries past the end of the
22912         allocated DTV, from Alan Modra.
22913         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22914         Static TLS DTV entry set up from...
22915         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22916         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22917         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22918         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22919         for Static TLS.
22920         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22921         that the slot we find is associated with the given map before
22922         using its generation count.
22923         * nptl_db/db_info.c: Include ldsodefs.h.
22924         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22925         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22926         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22927         (link_map::l_tls_offset): New struct field.
22928         (dtv_t::counter): Likewise.
22929         (rtld_global): New struct.
22930         (_rtld_global): New rtld variable.
22931         (dl_tls_dtv_slotinfo_list): New rtld global field.
22932         (dtv_slotinfo_list): New struct.
22933         (dtv_slotinfo): Likewise.
22934         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22935         (td_lookup): Rename to...
22936         (td_mod_lookup): ... this.  Use new mod parameter instead of
22937         LIBPTHREAD_SO.
22938         * nptl_db/td_thr_tlsbase.c: Include link.h.
22939         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22940         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22941         addresses even if the DTV is out of date or missing them.
22942         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22943         index zero-length arrays.
22944         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22945         (td_lookup): Make it a macro implemented in terms of...
22946         (td_mod_lookup): ... this declaration.
22947         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22948         (DB_MAIN_VARIABLE): Likewise.
22950 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22952         [BZ #18134]
22953         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22955 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22957         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22959 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22961         [BZ #18128]
22962         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22963         (atomic_add, atomic_increment_and_test)
22964         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22966 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22968         * stdlib/setenv.c (__add_to_environ):
22969         Dump core quickly if setenv (..., NULL, ...) is called.
22971 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22973         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22974         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22975         all the necessary asm magic in one place.
22976         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22977         using those.
22979 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22981         [BZ #14906]
22982         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22983         traced file mtime. Use consistent log message.
22984         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22985         (register_traced_file): Call install_watches. Always set mtime.
22986         (invalidate_cache): Iterate over all trace files. Call install_watches.
22987         (inotify_check_files): Don't inline. Handle watching parent
22988         directories and configuration file movement in and out.
22989         (handle_inotify_events): New function.
22990         (main_loop_poll): Call handle_inotify_events.
22991         (main_loop_epoll): Likewise.
22992         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22993         (struct traced_file): Use array of inotify fds. Add parent directory,
22994         and basename.
22995         (struct database_dyn): Remove unused file_mtime.
22996         (init_traced_file): New inline function.
22997         (define_traced_file): New macro.
22998         * nss/nss_db/db-init.c: Use define_traced_file.
22999         (_nss_db_init): Use init_traced_file.
23000         * nss/nss_files/files-init.c: Use define_traced_file.
23001         (_nss_files_init): Use init_traced_file.
23003 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
23005         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23006         [_LIBC]: Do not include <stdlib.h>.
23007         [!_LIBC] (abort): Remove declaration.
23008         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23009         _FP_STATIC_ASSERT instead of conditionally calling abort.
23010         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23011         (_FP_EXTEND_CNAN): Likewise.
23012         (FP_TRUNC): Likewise.
23013         (__FP_CLZ): Likewise.
23014         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23016 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
23018         * manual/string.texi (XPG basename): Fix prototype.
23020 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23022         [BZ #18080]
23023         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23024         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23025         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23026         (__setcontext): Likewise.
23027         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23028         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23029         Call rt_sigprocmask syscall one time to set new signal mask
23030         and retrieve the current signal mask instead of two calls.
23031         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23032         (__swapcontext): Likewise.
23033         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23034         * stdlib/tst-setcontext2.c: New file.
23036 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23038         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23040 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
23042         [BZ #18093]
23043         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23044         the wrong size.
23046 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23048         [BZ #18043]
23049         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23051 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23053         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23054         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23055         Remove define.
23056         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23057         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23058         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23059         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23060         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23061         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23062         define.
23063         * nptl_db/td_symbol_list.c (td_lookup): Remove
23064         HAVE_ASM_GLOBAL_DOT_NAME code.
23065         * sysdeps/powerpc/powerpc64/configure.ac: Remove
23066         HAVE_ASM_GLOBAL_DOT_NAME check.
23067         * sysdeps/powerpc/powerpc64/configure: Regenerate.
23068         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23069         (DOT_LABEL): Remove define.
23070         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23071         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23072         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23073         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23074         (__TLS_GET_ADDR): Likewise.
23075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23076         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23078 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
23080         [BZ #18111]
23081         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23082         (_FPU_SETCW): Initialize cw from fpsr before storing.
23083         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23084         (fesetexceptflag): Rewrite using fpu_control.h.
23085         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23087 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
23089         [BZ #18110]
23090         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23091         asms.
23092         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23094 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
23096         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23097         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23098         abort.
23099         (_FP_FMA): Likewise.
23100         (_FP_DIV): Likewise.
23102 2015-03-10  Roland McGrath  <roland@hack.frob.com>
23104         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23105         with 0 in that case.
23106         * Makefile (summarize-tests): New canned sequence, factored out of
23107         commands for targets tests and xtests.  Display summary lines that
23108         don't start with PASS: or XFAIL: rather than ones that do start with
23109         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
23110         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23111         do start with ERROR: or FAIL:.
23112         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23113         (except for [$(build-shared) = yes]).
23114         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23115         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23116         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23117         * nptl/Makefile: Revert 2015-03-04 changes.
23118         [$(CXX) empty] (tests-unsupported): New variable.
23119         * debug/Makefile: Likewise.
23121         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23122         gnulib file.  Replace __attribute with __attribute__ throughout.
23124 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
23126         * sysdeps/hppa/fpu/libm-test-ulps: Update.
23128 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23130         [BZ #18104]
23131         * math/auto-libm-test-in: Add another test of pow.
23132         * math/auto-libm-test-out: Regenerated.
23134 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23136         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23137         $(config-cflags-nofma).
23139 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23141         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23142         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23143         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23144         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23145         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23146         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23147         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23148         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23149         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23150         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23151         Add comment on closing #endif.
23153 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23155         * posix/wordexp.c (CHAR_IN_SET): New macro.
23156         (parse_param): Use it.
23158 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23160         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23162 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23164         [BZ #18043]
23165         * posix/wordexp.c (parse_param): Fix buffer overflow.
23166         * posix/wordexp-test.c (test_case): Add test case.
23168 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23170         [BZ #18042]
23171         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23172         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23174 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23176         [BZ #18043]
23177         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23178         (do_bz18043): Delete.
23179         (at_page_end): New.
23180         (testit): Refactor to have words at the edge of unreadable page.
23182 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23184         [BZ #16734]
23185         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23186         Cleanup read-only streams as well.
23187         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23189 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23191         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23192         <bits/libc-lockP.h>
23194 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23196         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23197         on [__KERNEL__].
23198         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23199         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23200         * soft-fp/op-common.h (_FP_DECL): Likewise.
23202 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23204         * elf/ifuncdep2.c (global): Replace
23205         __attribute__((visibility("protected"))) with
23206         asm (".protected global").
23207         * elf/ifuncmod1.c (global): Likewise.
23208         * elf/ifuncmod5.c (global): Likewise.
23210 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23212         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23213         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23215 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23217         * manual/install.texi (Configuring and compiling):
23218         Document test-wrapper-env-only.
23219         * INSTALL: Regenerated.
23221 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23223         [BZ #18043]
23224         * posix/wordexp.c (parse_param): Fix buffer overflow.
23225         * posix/wordexp-test.c (do_bz18043): Add test case.
23227 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23229         * time/tst-strptime2.c (do_test): Ensure failing tests are
23230         reported correctly.
23231         * time/tst-strptime3.c (do_test): Likewise.
23233 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23235         Fix aio_error thread-safety.
23236         * sysdeps/pthread/aio_error.c: New file
23237         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23238         synchronization.
23240 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23242         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23243         (group_number, vfprintf): Use it.
23244         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23245         (JUMP, REF): Use it.
23246         (WORK_BUFFER_SIZE): New enum constant.
23247         (process_arg, vfprintf): Use it.
23249 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23251         * manual/errno.texi (Error Messages): Complete example function
23252         by adding missing #define.
23253         (program_invocation_name): Add statement indicating GNU
23254         extension and reference which header file declares the variable.
23255         (program_invocation_short_name): Likewise.
23257 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23259         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23260         compatibility note.
23262 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23264         * Makeconfig (test-wrapper-env-only): New variable.
23265         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23266         then use that with $(test-wrapper-env-only) rather than using
23267         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23269 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23271         [BZ #18082]
23272         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23273         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23274         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23275         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23276         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23277         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23278         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23279         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23280         Likewise.
23281         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23282         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23283         Likewise.
23284         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23285         Likewise.
23286         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23287         Likewise.
23288         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23289         Likewise.
23290         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23291         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23292         Likewise.
23293         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23294         Likewise.
23295         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23296         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23298 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23300         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23301         (ETH_ALEN): New macro.
23302         (struct ether_addr): Use it for length of ether_addr_octet.
23304         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23305         (setdb): Don't call __nss_configure_lookup for "rpc".
23306         (do_test): Don't call test_rpc.
23307         (output_rpcent, test_rpc): Functions moved ...
23308         * sunrpc/test-rpcent.c: ... to this new file.
23309         * sunrpc/Makefile (tests): Add it.
23311         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23312         __xpg_sigpause.
23313         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23314         * nptl/tst-signal6.c: Likewise.
23315         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23316         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23318         * configure.ac (libc_cv_cxx_link_ok): New check.
23319         Reset CXX to empty if it fails to link.
23320         * configure: Regenerated.
23321         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23322         bug-atexit3-lib only if $(CXX) is nonempty.
23323         * nptl/Makefile (tests): Likewise for tst-cancel24.
23324         (tests, tests-static): Likewise for tst-cancel24-static.
23325         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23326         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23327         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23328         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23330 2015-03-04  Andreas Schwab  <schwab@suse.de>
23332         [BZ #17631]
23333         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23334         for non-GCC compilers.
23335         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23336         Likewise.
23338 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23340         [BZ #17776]
23341         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23342         integer before bitwise and assembly operations.
23343         (feclearexcept): Likewise.
23344         * math/test-fenvinline.c: New file.
23345         * math/Makefile: Add test-fenvinline test.
23347 2015-03-03  Alan Modra  <amodra@gmail.com>
23349         [BZ #16512]
23350         * scripts/localplt.awk: Strip off symbol version.
23351         * NEWS: Mention bug fix.
23353 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23355         * sysdeps/pthread/timer_routines.c
23356         (timer_free_list, thread_free_list, thread_active_list): Make static.
23358 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23360         [BZ #17779]
23361         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23362         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23363         Undefine.
23364         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23365         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23366         Likewise.
23367         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23368         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23369         Likewise.
23371 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23373         [BZ #18036]
23374         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23375         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23377 2015-03-02  Andreas Schwab  <schwab@suse.de>
23379         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23380         variable name.
23382 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23384         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23385         Return error status.
23387 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23389         [BZ #15969]
23390         * locale/findlocale.c (_nl_find_locale): Introduce const
23391         version of loc_name and drop unsafe type casts.
23393 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23395         * dlfcn/tststatic2.c (main): Converted to ...
23396         (do_test): ... this.
23397         (TEST_FUNCTION): New macro.
23398         Include test-skeleton.c.
23400 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23402         [BZ #17711]
23403         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23404         (tests-pie): Add vismain.
23405         (CFLAGS-vismain.c): New.
23406         * elf/vismain.c: Add comments for PIE requirement.
23408 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23410         [BZ #18046]
23411         [BZ #18047]
23412         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23413         0x1p-56L as threshold for just returning the argument.
23414         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23415         0x1p-32L as threshold for just returning the argument.
23416         * math/auto-libm-test-in: Add more tests of atanh.
23417         * math/auto-libm-test-out: Regenerated.
23418         * sysdeps/i386/fpu/libm-test-ulps: Update.
23419         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23421 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23423         * string/bcopy.c (bcopy): Call memmove for performance.
23425 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23427         * string/bzero.c (__bzero): Call memset for performance.
23429 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23431         [BZ #18068]
23432         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23433         to 00100000.
23435 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23437         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23439 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23441         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23442         (__kernel_standard): Use CSTR macro when setting exc.name.
23443         * sysdeps/ieee754/Makefile [$(subdir) = math]
23444         (CFLAGS-k_standard.c): Remove variable.
23446         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23447         setting p and q from "else if" to "else".
23448         (qzero): Likewise.
23449         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23450         (qone): Likewise.
23451         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23452         (qzerof): Likewise.
23453         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23454         (qonef): Likewise.
23455         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23456         (qzero): Likewise.
23457         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23458         (qone): Likewise.
23460         [BZ #18038]
23461         [BZ #18039]
23462         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23463         return pi/2 for arguments below 0x1p-113L.
23464         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23465         return pi/2 for arguments below 0x1p-106L.
23466         * math/auto-libm-test-in: Add more tests of acos.
23467         * math/auto-libm-test-out: Regenerated.
23469         [BZ #16351]
23470         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23471         (MO): New macro.
23472         (__ieee754_asin): Force underflow exception for results with small
23473         absolute value.
23474         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23475         (MO): New macro.
23476         (__ieee754_asinf): Force underflow exception for results with
23477         small absolute value.
23478         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23479         (__ieee754_asin): Force underflow exception for results with small
23480         absolute value.
23481         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23482         (__ieee754_asinf): Force underflow exception for results with
23483         small absolute value.
23484         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23485         (__ieee754_asinl): Force underflow exception for results with
23486         small absolute value.
23487         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23488         (__ieee754_asinl): Force underflow exception for results with
23489         small absolute value.
23490         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23491         (__ieee754_asinl): Force underflow exception for results with
23492         small absolute value.
23493         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23494         Include <math.h>.
23495         * math/auto-libm-test-in: Do not mark underflow exceptions as
23496         possibly missing for bug 16351.
23497         * math/auto-libm-test-out: Regenerated.
23499         [BZ #18030]
23500         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23501         of power of 2 down when low part has opposite sign.
23502         * math/libm-test.inc (logb_test_data): Add more tests.
23504 2015-02-26  Andreas Schwab  <schwab@suse.de>
23506         [BZ #18032]
23507         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23508         over collating symbol inside a bracket expression.  Minor cleanup.
23509         * posix/tst-fnmatch3.c (do_test): Add test case.
23511 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23513         [BZ #18029]
23514         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23515         Adjust exponent of power of 2 down when low part has opposite
23516         sign.
23517         * math/libm-test.inc (ilogb_test_data): Add more tests.
23519 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23521         [BZ #15969]
23522         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23523         the previous change.
23525         [BZ #15969]
23526         * locale/findlocale.c (_nl_find_locale): Retry archive search
23527         after alias expansion.
23529 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23531         * iconv/tst-iconv3.c (main): Converted to ...
23532         (do_test): ... this.
23533         (TEST_FUNCTION): New macro.
23534         Include test-skeleton.c.
23536         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23537         (convert): Make function static.
23538         (test_unalign): Likewise.  Add const to argument pointee types.
23539         (main): Replace with static function do_test.
23540         Print "Succeeded." only if RET is zero.
23541         (TEST_FUNCTION): New macro.
23542         Include test-skeleton.c.
23544         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23545         returns a null pointer.
23547 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23549         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23550         to __memcpy_ppc only for static builds.
23552 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23554         [BZ #18020]
23555         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23556         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23557         * math/auto-libm-test-in: Add more tests of asinh.
23558         * math/auto-libm-test-out: Regenerated.
23559         * sysdeps/i386/fpu/libm-test-ulps: Update.
23560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23562 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23564         [BZ #15850]
23565         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23566         and ip6_mtuinfo definitions here.
23567         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23568         in this define too.  Update comment.
23570 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23572         * elf/sprof.c (load_shobj): Tweak error message to match others.
23574 2015-02-24  Kevin Easton  <kevin@guarana.org>
23576         [BZ #16145] (partial fix)
23577         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23578         to reduce lock contention.
23580 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23582         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23583         (struct timex): Update time comment.
23584         (ADJ_SETOFFSET): Define.
23586 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23588         [BZ #18019]
23589         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23590         2**56 not 2**28 as threshold for log (2x) formula.
23591         * math/auto-libm-test-in: Add more tests of acosh.
23592         * math/auto-libm-test-out: Regenerated.
23593         * sysdeps/i386/fpu/libm-test-ulps: Update.
23594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23596 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23598         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23599         parenthesis around the buf assignment.
23600         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23602 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23604         [BZ #16783]
23605         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23606         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23607         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23608         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23609         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23610         * math/libm-test.inc (scalb_test_data): Add more tests.
23612 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23614         [BZ #17916]
23615         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23616         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23618 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23620         [BZ #17523]
23621         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23622         * io/bits/fcntl2.h (open): Use it.
23623         (openat): Likewise.
23624         * io/open.c (__libc_open): Likewise.
23625         * io/open64.c (__libc_open64): Likewise.
23626         * io/open64_2.c (__open64_2): Likewise.
23627         * io/open_2.c (__open_2): Likewise.
23628         * io/openat.c (__openat): Likewise.
23629         * io/openat64.c (__openat64): Likewise.
23630         * io/openat64_2.c (__openat64_2): Likewise.
23631         * io/openat_2.c (__openat_2): Likewise.
23632         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23633         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23634         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23635         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23636         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23637         (__open_nocancel): Likewise.
23638         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23639         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23640         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23642 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23644         [BZ #14841]
23645         * resolv/gethnamaddr.c (getanswer): Skip logging if
23646         RES_USE_DNSSEC is set.
23647         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23649 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23651         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23653 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23655         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23656         201304L, for Unicode 7.
23658 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23660         [BZ #17836]
23661         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23662         shared library.  Add gmon-start.os otherwise.
23663         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23664         $(objpfx)gmon-start.os if builing shared library.
23665         ($(objpfx)g$(static-start-installed-name)): Likewise.
23667 2015-02-23  Andreas Schwab  <schwab@suse.de>
23669         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23671 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23673         [BZ #17269]
23674         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23675         (enlarge_userbuf): Likewise.
23677 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23679         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23680         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23681         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23682         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23684 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23686         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23687         expression inside statement expression.
23689 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23691         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23692         <sysdeps/nptl/lowlevellock.h> and remove macros and
23693         functions that are now defined there.
23694         (SYS_futex): Remove.
23695         (lll_compare_and_swap): Remove.
23696         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23698 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23700         [BZ #17999]
23701         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23702         instead of scandirat.
23703         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23704         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23705         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23706         __scandirat.
23707         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23708         (__scandirat): Declare.  Use libc_hidden_proto.
23709         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23710         Remove variable.
23711         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23713 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23715         [BZ #15319]
23716         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23717         (MO): New macro.
23718         (__ieee754_atan2): For results with small absolute value, force
23719         underflow exception and remove excess range and precision from
23720         return value.
23721         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23722         (MO): New macro.
23723         (__ieee754_atan2f): For results with small absolute value, force
23724         underflow exception and remove excess range and precision from
23725         return value.
23726         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23727         (MO): New macro.
23728         (__atan): For results with small absolute value, force underflow
23729         exception and remove excess range and precision from return value.
23730         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23731         (MO): New macro.
23732         (__atanf): For results with small absolute value, force underflow
23733         exception and remove excess range and precision from return value.
23734         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23735         <math.h>.
23736         (__ieee754_atan2): Force underflow exception for results with
23737         small absolute value.
23738         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23739         <math_private.h>.
23740         (atan): Force underflow exception for results with small absolute
23741         value.
23742         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23743         (__atanf): Force underflow exception for results with small
23744         absolute value.
23745         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23746         <math.h>.
23747         (__atanl): Force underflow exception for results with small
23748         absolute value.
23749         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23750         (__atanl): Force underflow exception for results with small
23751         absolute value.
23752         * sysdeps/x86/fpu/bits/mathinline.h
23753         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23754         (__ieee754_atan2): Only define inline for long double.
23755         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23756         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23757         * math/auto-libm-test-in: Do not mark underflow exceptions as
23758         possibly missing for bug 15319.  Add more tests of atan2.
23759         * math/auto-libm-test-out: Regenerated.
23760         * math/libm-test.inc (casin_test_data): Do not mark underflow
23761         exceptions as possibly missing for bug 15319.
23762         (casinh_test_data): Likewise.
23763         * sysdeps/i386/fpu/libm-test-ulps: Update.
23765 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23767         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23768         * sysdeps/mips/bits/endian.h: Fix comments.
23770 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23772         [BZ #17996]
23773         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23774         (hdestroy_r): Likewise.
23775         (hsearch_r): Likewise.
23776         (__hcreate_r): Declare and use libc_hidden_proto.
23777         (__hdestroy_r): Likewise.
23778         (__hsearch_r): Likewise.
23779         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23780         (hcreate): Call __hcreate_r instead of hcreate_r.
23781         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23782         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23783         as weak alias of __hcreate_r.
23784         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23785         __hdestroy_r.
23786         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23787         __hsearch_r.
23788         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23789         Remove variable.
23790         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23791         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23792         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23793         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23795 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23797         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23798         arena_lock into a single arena_get.
23800 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23802         * dl-reloc.c: Inlucde libc-internal.h.
23803         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23804         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23805         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23806         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23807         (grow_heap): Likewise.
23808         * malloc/malloc.c: Include libc-internal.h.
23809         (do_check_malloc): Call powerof2.
23810         (sysmalloc): Use pagesize. Call ALIGN_UP.
23811         (systrim): Use pagesize.
23812         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23813         (__libc_valloc): Use pagesize.
23814         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23816 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23818         [BZ #17991]
23819         * include/sys/resource.h (__getrlimit64): Declare.  Use
23820         libc_hidden_proto.
23821         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23822         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23823         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23824         getrlimit64.
23825         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23826         __getrlimit64.
23827         [!getrlimit64] (getrlimit64): Define as weak alias of
23828         __getrlimit64.  Use libc_hidden_weak.
23829         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23830         using __getrlimit64 not __new_getrlimit64.
23831         (__GI_getrlimit64): Likewise.
23832         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23833         Likewise.
23834         (__GI_getrlimit64): Likewise.
23835         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23837         (getrlimit): Add __getrlimit64 alias.
23838         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23839         Likewise.
23840         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23841         Remove variable.
23842         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23843         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23845 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23847         * libio/fileops.c: Add missing sys/mman.h
23848         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23850 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23852         * manual/math.texi (Errors in Math Functions): Clarify goals
23853         regarding inexact and underflow exceptions.
23855 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23857         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23858         * sysdeps/mips/memset.S: Ditto.
23860 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23862         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23864 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23866         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23867         (__v1longjmp): Remove versioned symbol.
23868         (__v1siglongjmp): Remove alias and versioned symbol.
23869         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23870         (__v2siglongjmp): Likewise.
23872 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23874         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23876 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23878         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23880 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23882         [BZ #17987]
23883         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23884         zero result does not depend on the sign resulting from
23885         subtraction.
23886         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23887         Likewise.
23888         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23889         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23890         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23891         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23892         * math/libm-test.inc (remquo_test_data): Add more tests.
23894 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23896         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23897         Problem reported by J William Piggott.
23899 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23901         [BZ #17978]
23902         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23903         products 4 * y and 2 * y where those would overflow.
23904         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23905         Likewise.
23906         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23907         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23908         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23909         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23910         * math/libm-test.inc (remquo_test_data): Add more tests.
23912         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23914         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23915         [defined _COMPILING_NEWLIB].
23916         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23917         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23919         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23920         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23922 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23924         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23925         acquired.
23927 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23929         [BZ #17792]
23930         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23931         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23932         HOST_STACK_END_ADDR): Likewise.
23934 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23936         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23937         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23938         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23940 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23942         * sysdeps/generic/c++-types.data: New file.
23943         * sysdeps/generic/ld.abilist: New file.
23944         * sysdeps/generic/libBrokenLocale.abilist: New file.
23945         * sysdeps/generic/libanl.abilist: New file.
23946         * sysdeps/generic/libc.abilist: New file.
23947         * sysdeps/generic/libcrypt.abilist: New file.
23948         * sysdeps/generic/libdl.abilist: New file.
23949         * sysdeps/generic/libm.abilist: New file.
23950         * sysdeps/generic/libpthread.abilist: New file.
23951         * sysdeps/generic/libresolv.abilist: New file.
23952         * sysdeps/generic/librt.abilist: New file.
23954 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23956         [BZ #17569]
23957         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23958         Compute absolute value of x as modified by fmod, not original
23959         value of x.
23960         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23961         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23962         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23963         RUN_TEST_ffI_f1_mod8.
23964         (remquo_test_data): Add more tests.
23966 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23968         * sysdeps/init_array/pt-crti.S: New file.
23970 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23972         [BZ #17967]
23973         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23974         __builtin_fmaf instead of relying on contraction of a * b + c.
23976 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23978         [BZ #17969]
23979         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23980         node.
23982 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23984         [BZ #17964]
23985         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23986         __builtin_fma instead of relying on contraction of a * b + c.
23988 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23990         * Makeconfig (ASFLAGS): Add -Werror=undef.
23991         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23992         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23993         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23995         * Makeconfig (after-link): New variable.
23996         (+link-pie, +link-pie-tests): Use it.
23997         (+link-static, +link-static-tests): Likewise.
23998         (+link, +link-tests): Likewise.
23999         * Makerules (build-module, build-module-asneeded): Likewise.
24000         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24001         Likewise.
24002         * elf/Makefile ($(objpfx)ld.so): Likewise.
24004 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
24006         [BZ #17965]
24007         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24008         both struct timeval and struct timespec.
24010 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24012         [BZ #16560]
24013         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24014         and redefine.
24015         (__ieee754_exp2l): Do not multiply small fractional parts by
24016         M_LN2l.
24017         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24018         small argument.
24019         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24020         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24021         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24022         * math/auto-libm-test-in: Add more tests of exp2.
24023         * math/auto-libm-test-out: Regenerated.
24025 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24027         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24028         unaligned path.
24030 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24032         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24033         little endian.
24035 2015-02-12  Andreas Schwab  <schwab@suse.de>
24037         [BZ #15790]
24038         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24039         Filter out elision flags from value returned in kind.
24040         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24041         * nptl/tst-pthread-mutexattr.c: New file.
24043 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24045         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24046         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24047         into gnu-gnu, and update comment to refer to abi-tags.
24049 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
24051         [BZ #15467]
24052         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24053         (__sincos): Set errno to EDOM for infinite argument.
24054         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24055         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24056         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24057         (__sincosl): Set errno to EDOM for infinite argument.
24058         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24059         (__sincosl): Set errno to EDOM for infinite argument.
24060         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24061         (__sincosl): Set errno to EDOM for infinite argument.
24062         * math/libm-test.inc (sincos_test_data): Test errno setting.
24064 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
24066         * string/strxfrm_l.c: Remove #define STRCMP.
24067         * string/strcoll_l.c: Remove #define STRLEN.
24068         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24069         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24071 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
24073         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24074         * sysdeps/mips/mips32/sfp-machine.h: ... here.
24075         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24076         * sysdeps/mips/mips64/Makefile: ... here.
24077         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24078         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24079         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24080         * sysdeps/mips/mips64/sfp-machine.h: ... here.
24081         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24082         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24083         * sysdeps/mips/mips64/n64/Implies: Likewise.
24085 2015-02-10  Roland McGrath  <roland@hack.frob.com>
24087         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24088         <sys/time.h>, <string.h>, and <errno.h>.
24089         (dest_offset, dest_address, value, zero): Remove unused variables.
24090         (ldouble): Remove typedef.
24091         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24092         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
24093         1).  Fix code style.
24094         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24095         (check): Function removed.
24096         (CHECK): New macro.
24097         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
24098         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24099         Don't call set_sigaction_FP and remove_sigaction_FP here.
24100         (ldouble_test): Just use 'long double' as macro argument, no need for
24101         the 'ldouble' typedef.
24102         (do_test): Set up SIGFPE handler at start, using plain signal rather
24103         than sigaction.  Fix code style.
24105 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
24107         [BZ #17949]
24108         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24109         jump label.
24111 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24113         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24114         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24116         * sysdeps/powerpc/configure.ac: Remove file.
24117         * sysdeps/powerpc/configure: Likewise.
24119         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24120         [sysdep_routines]: Remove wordcopy-power6 object.
24121         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24122         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24123         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24124         (__memmove_ppc32): Likewise.
24125         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24126         file.
24127         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24128         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24129         Remove preprocessor.
24131         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24132         [sysdep_routines]: Remove wide chars objects.
24133         [wcsmbs]: New rule for wide char objects.
24135         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24136         Remove wordcopy-power6 obejct.
24137         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24138         Use local call for wordcopy and memcpy symbols.
24139         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24140         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24141         implementation for loader.
24142         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24144         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24145         Remove wordcopy-power7 object.
24146         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24147         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24148         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24149         (_wordcopy_fwd_dest_aligned): Likewise.
24150         (_wordcopy_bwd_aligned): Likewise.
24151         (_wordcopy_bwd_dest_aligned): Likewise.
24153         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24154         Rewrite to call __memmove_ppc instead of include default
24155         implementation.
24157         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24158         Remove wide chars objects.
24159         [wcsmbs]: New rule for wide char objects.
24161 2015-02-09  Andreas Schwab  <schwab@suse.de>
24163         [BZ #17912]
24164         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24165         in terms of __O_DIRECTORY.
24167 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24169         * time/getdate.c: Include <stdbool.h>.
24170         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24171         call PTR_MANGLE.
24172         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24173         PTR_DEMANGLE.
24175 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24177         Add ersatz _Static_assert on older C hosts
24178         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24179         pre-C11 C platform that is not known to support _Static_assert.
24181 2015-02-07  Richard Braun  <rbraun@sceen.net>
24183         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24184         sigstate.
24185         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24187 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24189         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24190         priority against unexistent AIO_PRIO_DELTA_MAX.
24191         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24192         instead of int.
24193         * misc/fchflags.c (fchflags): Likewise.
24194         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24195         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24196         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24197         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24198         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24199         Declare macros.
24200         [__USE_MISC] (chflags, fchflags): Declare functions.
24201         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24202         EINVAL when nfds is greater than FD_SETSIZE.
24203         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24204         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24205         45.
24206         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24207         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24208         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24209         MACH_RCV_TIMED_OUT.
24210         * hurd/hurd/signal.h (_hurd_self_sigstate,
24211         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24212         Explicit casts from void *.
24213         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24214         * abi-tags: Rename gnu-gnu os into gnu.
24216         [BZ #4719]
24217         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24218         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24219         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24220         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24221         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24222         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24224         [BZ #17944]
24225         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24226         duplicates ADDR->sun_path with sockaddr LEN limitation.
24227         * sysdeps/mach/hurd/connect.c: Include <string.h>
24228         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24229         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24230         * sysdeps/mach/hurd/sendto.c: Likewise.
24231         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24232         implementing it by hand.
24234 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24236         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24237         Use sfi_breg on ldr.
24238         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24239         Likewise.
24241         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24242         it's defined.
24243         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24244         Test SIGSETXID only if it's defined.
24246         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24248         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24249         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24251         * nptl/tst-align2.c: Moved ...
24252         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24253         * nptl/Makefile (tests): Remove tst-align2.
24254         * sysdeps/unix/sysv/linux/Makefile
24255         [$(subdir) = nptl] (tests): Add tst-align-clone.
24256         * nptl/tst-getpid1.c: Moved ...
24257         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24258         * nptl/tst-getpid2.c: Moved ...
24259         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24260         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24261         * sysdeps/unix/sysv/linux/Makefile
24262         [$(subdir) = nptl] (tests): ... here.
24263         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24264         * sysdeps/unix/sysv/linux/Makefile
24265         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24267         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24268         Drop trailing \n from perror argument.  Use return rather than exit.
24270         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24271         on [SA_SIGINFO].
24272         * nptl/tst-cancel21.c (do_test): Likewise.
24273         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24274         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24275         [!SA_SIGINFO]: Make it a stub test.
24277         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24278         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24280         * posix/tst-getlogin.c: Move to ...
24281         * login/tst-getlogin.c: ... here.
24282         * posix/Makefile (tests): Move tst-getlogin to ...
24283         * login/Makefile (tests): ... here.
24285         * libio/tst-atime.c (do_test): Move local variables SV and E
24286         inside [ST_NOATIME] conditional.
24288         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24290         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24292         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24293         (wait_code): New function replaces macro.
24294         Call nanosleep rather than syscall.
24296         * nptl/pt-system.c: Rewritten.  Put everything under
24297         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24298         Use IFUNC to redirect when possible.
24300         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24301         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24302         Use IFUNC to redirect when possible.
24304         * nptl/pt-fork.c: Rewritten.  Put everything under
24305         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24306         Use IFUNC to redirect when possible.
24307         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24309         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24310         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24311         unconditionally nowadays.  This included the only reference to
24312         __vdso_clock_gettime that appears outside libc proper.
24313         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24314         Remove version set (containing only __vdso_clock_gettime).
24315         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24316         Add attribute_hidden.
24317         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24318         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24319         libc_hidden_data_def.
24320         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24321         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24323         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24324         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24325         setrpcent, and getrpcport to ...
24326         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24327         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24328         getrpcbynumber_r, and getrpcent_r to ...
24329         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24330         * inet/getrpcbyname.c: Moved ...
24331         * sunrpc/getrpcbyname.c: ... here.
24332         * inet/getrpcbyname_r.c: Moved ...
24333         * sunrpc/getrpcbyname_r.c: ... here.
24334         * inet/getrpcbynumber.c: Moved ...
24335         * sunrpc/getrpcbynumber.c: ... here.
24336         * inet/getrpcbynumber_r.c: Moved ...
24337         * sunrpc/getrpcbynumber_r.c: ... here.
24338         * inet/getrpcent.c: Moved ...
24339         * sunrpc/getrpcent.c: ... here.
24340         * inet/getrpcent_r.c: Moved ...
24341         * sunrpc/getrpcent_r.c: ... here.
24342         * inet/Makefile (routines): Move those to ...
24343         * sunrpc/Makefile (routines): ... here.
24344         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24345         the $(subdirs) list.
24346         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24347         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24348         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24349         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24351         * elf/Makefile (routines): Include $(all-dl-routines), not just
24352         $(dl-routines).
24353         (rtld-routines): Likewise.  Use = rather than :=.
24354         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24355         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24356         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24357         * sysdeps/arm/Makefile: Likewise.
24358         * sysdeps/i386/Makefile: Likewise.
24359         * sysdeps/x86_64/Makefile: Likewise.
24360         * sysdeps/hppa/Makefile [$(subdir) = elf]
24361         (sysdep_routines, sysdep-rtld-routines): Don't add
24362         $(sysdep-dl-routines) to these.
24363         * sysdeps/ia64/Makefile: Likewise.
24364         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24365         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24366         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24367         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24368         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24369         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24370         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24371         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24372         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24373         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24374         these; sysdep-dl-routines alone is enough.
24376 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24378         [BZ #17932]
24379         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24380         where multiplication results in zero and third argument is finite
24381         and nonzero.
24382         * math/auto-libm-test-in: Add more tests of fma.
24383         * math/auto-libm-test-out: Regenerated.
24385         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24386         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24387         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24388         (_FP_CMP_EQ): Likewise.
24389         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24391         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24392         extra argument CHECK_NAN.  Redefine as wrapper around
24393         _FP_EXTEND_CNAN.
24395 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24397         * version.h (RELEASE): Set to "stable".
24398         (VERSION): Set to "2.21"
24399         * include/features.h (__GLIBC_MINOR__): Set to 21.
24401         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24403 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24404             Paul Eggert  <eggert@cs.ucla.edu>
24406         [BZ #16618]
24407         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24408         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24409         size in bytes. Store needed elements in wpmax. Use needed size
24410         in bytes for extend_alloca.
24412 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24414         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24415         binutls 2.25, and texinfo 5.2.
24416         * INSTALL: Regenerate.
24417         * sysdeps/nios2/configure: Regenerate.
24418         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24419         * manual/contrib.texi: Update.
24420         * po/be.po: Update.
24421         * po/bg.po: Update.
24422         * po/ca.po: Update.
24423         * po/cs.po: Update.
24424         * po/da.po: Update.
24425         * po/de.po: Update.
24426         * po/el.po: Update.
24427         * po/eo.po: Update.
24428         * po/es.po: Update.
24429         * po/fi.po: Update.
24430         * po/fr.po: Update.
24431         * po/gl.po: Update.
24432         * po/hr.po: Update.
24433         * po/hu.po: Update.
24434         * po/ia.po: Update.
24435         * po/id.po: Update.
24436         * po/it.po: Update.
24437         * po/ja.po: Update.
24438         * po/ko.po: Update.
24439         * po/lt.po: Update.
24440         * po/nb.po: Update.
24441         * po/nl.po: Update.
24442         * po/pl.po: Update.
24443         * po/pt_BR.po: Update.
24444         * po/ru.po: Update.
24445         * po/rw.po: Update.
24446         * po/sk.po: Update.
24447         * po/sl.po: Update.
24448         * po/sv.po: Update.
24449         * po/tr.po: Update.
24450         * po/uk.po: Update.
24451         * po/vi.po: Update.
24452         * po/zh_CN.po: Update.
24453         * po/zh_TW.po: Update.
24455         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24456         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24457         * sysdeps/hppa/dl-irel.h: Remove #warning.
24458         * sysdeps/hppa/entry.h: Provide prototype for
24459         __canonicalize_funcptr_for_compare and cast argument.
24460         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24461         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24462         * sysdeps/hppa/sotruss-lib.c: New file.
24463         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24464         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24465         (atomic_compare_and_exchange_bool_acq): Likewise.
24466         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24467         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24469         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24470         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24471         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24473 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24475         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24476         called function in non-PIC case.
24478 2015-01-31  David S. Miller  <davem@davemloft.net>
24480         * sysdeps/sparc/sparc32/bits/atomic.h
24481         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24482         unlock not after it.
24483         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24484         volatile register usage warnings from the compiler.
24486         * sysdeps/sparc/nptl/sem_init.c: Delete.
24487         * sysdeps/sparc/nptl/sem_post.c: Delete.
24488         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24489         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24490         * sysdeps/sparc/sparc32/sem_init.c: New file.
24491         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24492         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24493         padding explicitly initialized.
24494         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24495         padding for in-semaphore spinlock.
24496         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24497         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24498         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24499         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24500         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24501         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24502         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24503         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24504         version.
24505         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24506         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24508 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24510         [BZ #17801]
24511         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24512         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24513         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24514         New.
24515         (index_AVX_Fast_Unaligned_Load): Likewise.
24516         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24517         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24518         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24519         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24520         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24521         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24522         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24523         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24524         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24526 2015-01-29  Andreas Schwab  <schwab@suse.de>
24528         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24530 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24532         [BZ #17892]
24533         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24535 2015-01-28  Martin Sebor  <msebor@redhat.com>
24537         * math/README.libm-test: Clarify. Add "How to read the test output."
24539 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24541         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24542         Define to 0.
24544 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24546         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24547         (__HAVE_64B_ATOMICS): Define to 0.
24549 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24551         [BZ #17885]
24552         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24553         value to set as new flag.
24555         [BZ #16576]
24556         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24557         and use _ARCH_PPCSQ instead.
24558         (__ieee754_sqrt): Likewise.
24559         (__ieee754_sqrtf): Likewise.
24560         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24561         _ARCH_PPCSQ is defined.
24562         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24563         fsqrt instruction.
24564         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24565         _ARCH_PPCSQ is defined.
24566         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24567         fsqrts instruction.
24568         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24570 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24572         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24573         bug (GCC BZ #64739).
24575 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24577         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24578         Mark _retval as used.
24579         (lll_futex_wake_unlock): Likewise.
24580         (lll_futex_timed_wait_requeue_pi): Likewise.
24582         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24583         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24584         register variables.
24586         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24587         libm_hidden_def.
24589         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24590         (__bswap_64): Mark as __always_inline.
24592 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24594         [BZ #15378]
24595         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24596         when none of the search directories exist.
24598 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24600         [BZ #17869]
24601         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24602         power8 in .machine directive.
24604         [BZ #17868]
24605         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24606         set dependency from opd value.
24608 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24610         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24611         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24612         architecture.
24614 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24616         [BZ #17870]
24617         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24618         with uint64_t.
24619         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24620         (uint64_t) 1.
24621         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24622         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24623         Replace 1UL with (uint64_t) 1.
24624         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24625         int with uint64_t.
24627 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24629         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24630         (if_freenameindex): Likewise.
24632         * resource/getrlimit64.c: Add missing libc_hidden_def.
24634 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24636         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24637         __label__.
24638         (_FP_FMA): Likewise.
24639         (_FP_TO_INT_ROUND): Likewise.
24640         (_FP_FROM_INT): Likewise.
24642 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24644         [BZ #16418]
24645         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24646         Make code racy and cancel safe.
24648 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24650         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24651         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24652         attribution.
24654         * pwd/tst-getpw.c: Rewrite.
24656         [BZ #17702]
24657         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24658         (modules-names): Add moddummy1 and moddummy2.
24659         ($(objpfx)tst-rec-dlopen): Define.
24660         * dlfcn/moddummy1.c: New file.
24661         * dlfcn/moddummy2.c: New file.
24662         * dlfcn/tst-rec-dlopen.c: New file.
24663         * elf/dl-cache.c (_dl_load_cache_lookup):
24664         Return char*. Copy result with alloca/strcpy/strdup.
24665         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24666         returns char*. Free cached. If not saving realname
24667         free cached.
24668         * elf/dl-open.c (dl_open_worker): Do not assert that
24669         _r_debug->r_state is RT_CONSISTENT.
24670         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24671         returns char*.
24673 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24674             Carlos O'Donell  <carlos@redhat.com>
24676         [BZ #12674]
24677         * nptl/sem_waitcommon.c: New file.
24678         * nptl/sem_wait.c: Include sem_waitcommon.c.
24679         (__sem_wait_cleanup, do_futex_wait): Remove.
24680         (__new_sem_wait): Adapt.
24681         (__new_sem_trywait): New function.
24682         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24683         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24684         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24685         (sem_timedwait): Adapt.
24686         * nptl/sem_post.c (__new_sem_post): Adapt.
24687         (futex_wake): New function.
24688         (__old_sem_post): Add release MO fence.
24689         * nptl/sem_open.c (sem_open): Adapt.
24690         * nptl/sem_init.c (__new_sem_init): Adapt.
24691         (futex_private_if_supported): New function.
24692         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24693         (__old_sem_getvalue): Add using previous code.
24694         * sysdeps/nptl/internaltypes.h: Adapt.
24695         * nptl/tst-sem13.c (do_test): Adapt.
24696         * nptl/tst-sem11.c (main): Adapt.
24697         * nptl/sem_trywait.c: Remove.
24698         * nptl/DESIGN-sem.txt: Remove.
24699         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24700         (gen-as-const-headers): Remove structsem.sym.
24701         * nptl/structsem.sym: Remove.
24702         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24703         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24704         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24705         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24706         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24707         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24708         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24709         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24710         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24711         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24712         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24713         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24714         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24715         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24716         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24717         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24718         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24719         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24720         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24721         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24722         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24723         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24725 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24727         * INSTALL: Regenerated.
24729         * po/libc.pot: Regenerated.
24731 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24732             Sandra Loosemore  <sandra@codesourcery.com>
24733             Andrew Jenner  <andrew@codesourcery.com>
24734             Joseph Myers  <joseph@codesourcery.com>
24735             Nathan Sidwell  <nathan@codesourcery.com>
24737         * NEWS: Mention new Nios II port.
24738         * sysdeps/nios2/Implies: New file.
24739         * sysdeps/nios2/Makefile: New file.
24740         * sysdeps/nios2/Subdirs: New file.
24741         * sysdeps/nios2/Versions: New file.
24742         * sysdeps/nios2/__longjmp.S: New file.
24743         * sysdeps/nios2/abort-instr.h: New file.
24744         * sysdeps/nios2/backtrace.c: New file.
24745         * sysdeps/nios2/bits/endian.h: New file.
24746         * sysdeps/nios2/bits/fenv.h: New file.
24747         * sysdeps/nios2/bits/link.h: New file.
24748         * sysdeps/nios2/bits/setjmp.h: New file.
24749         * sysdeps/nios2/bsd-_setjmp.S: New file.
24750         * sysdeps/nios2/bsd-setjmp.S: New file.
24751         * sysdeps/nios2/configure: New generated file.
24752         * sysdeps/nios2/configure.ac: New file.
24753         * sysdeps/nios2/crti.S: New file.
24754         * sysdeps/nios2/crtn.S: New file.
24755         * sysdeps/nios2/dl-init.c: New file.
24756         * sysdeps/nios2/dl-machine.h: New file.
24757         * sysdeps/nios2/dl-sysdep.h: New file.
24758         * sysdeps/nios2/dl-tls.h: New file.
24759         * sysdeps/nios2/dl-trampoline.S: New file.
24760         * sysdeps/nios2/gccframe.h: New file.
24761         * sysdeps/nios2/gmp-mparam.h: New file.
24762         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24763         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24764         * sysdeps/nios2/ldsodefs.h: New file.
24765         * sysdeps/nios2/libc-tls.c: New file.
24766         * sysdeps/nios2/libm-test-ulps: New file.
24767         * sysdeps/nios2/machine-gmon.h: New file.
24768         * sysdeps/nios2/math-tests.h: New file.
24769         * sysdeps/nios2/math_private.h: New file.
24770         * sysdeps/nios2/memusage.h: New file.
24771         * sysdeps/nios2/nptl/Makefile: New file.
24772         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24773         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24774         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24775         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24776         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24777         * sysdeps/nios2/nptl/tls.h: New file.
24778         * sysdeps/nios2/preconfigure: New file.
24779         * sysdeps/nios2/s_fma.c: New file.
24780         * sysdeps/nios2/s_fmaf.c: New file.
24781         * sysdeps/nios2/setjmp.S: New file.
24782         * sysdeps/nios2/sfp-machine.h: New file.
24783         * sysdeps/nios2/sotruss-lib.c: New file.
24784         * sysdeps/nios2/stackguard-macros.h: New file.
24785         * sysdeps/nios2/stackinfo.h: New file.
24786         * sysdeps/nios2/start.S: New file.
24787         * sysdeps/nios2/sysdep.h: New file.
24788         * sysdeps/nios2/tls-macros.h: New file.
24789         * sysdeps/nios2/tst-audit.h: New file.
24790         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24791         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24792         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24793         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24794         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24795         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24796         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24797         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24798         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24799         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24800         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24801         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24802         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24803         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24804         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24805         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24806         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24807         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24808         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24809         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24810         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24811         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24812         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24813         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24814         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24815         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24816         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24817         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24818         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24819         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24820         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24821         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24822         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24823         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24824         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24825         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24826         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24827         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24828         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24829         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24830         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24831         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24832         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24833         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24835 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24837         [BZ #17844]
24838         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24839         (getutent): Use weak_alias in non SHARED case
24840         and default_symbol_version in SHARED case.
24841         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24842         (getutent_r, pututline): Likewise.
24843         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24844         (getutid): Likewise.
24845         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24846         (getutid_r): Likewise.
24847         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24848         (getutline): Likewise.
24849         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24850         (getutline_r): Likewise.
24851         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24852         (updwtmp): Likewise.
24854 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24856         [BZ #17848]
24857         * sysdeps/s390/s390-32/memcmp.S
24858         (memcmp_g5): Rename to __memcmp_g5.
24859         * sysdeps/s390/s390-32/memcpy.S
24860         (memcpy_g5): Rename to __memcpy_g5.
24861         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24862         (memcpy_mvcle) Rename to __memcpy_mvcle.
24863         * sysdeps/s390/s390-32/memset.S
24864         (memset_g5): Rename to __memset_g5.
24865         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24866         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24867         and use prefixed functions.
24868         * sysdeps/s390/s390-32/multiarch/memcmp.S
24869         (memcmp_z196): Rename to __memcmp_z196.
24870         (memcmp_z10): Rename to __memcmp_z10.
24871         (memcmp): Set alias to __memcmp_g5.
24872         (bcmp): Set alias to __memcmp_g5.
24873         * sysdeps/s390/s390-32/multiarch/memcpy.S
24874         (memcpy_z196): Rename to __memcpy_z196.
24875         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24876         (memcpy_z10): Rename to __memcpy_z10.
24877         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24878         (memcpy): Set alias to __memcpy_g5.
24879         * sysdeps/s390/s390-32/multiarch/memset.S
24880         (memset_z196): Rename to __memset_z196.
24881         Jump to __memset_mvcle instead of memset_mvcle.
24882         (memset_z10): Rename to __memset_z10.
24883         Jump to __memset_mvcle instead of memset_mvcle.
24884         (memset_mvcle) Rename to __memset_mvcle.
24885         (memset): Set alias to __memset_g5.
24886         * sysdeps/s390/s390-64/memcmp.S
24887         (memcmp_z900): Rename to __memcmp_z900.
24888         * sysdeps/s390/s390-64/memcpy.S
24889         (memcpy_z900): Rename to __memcpy_z900.
24890         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24891         (memcpy_mvcle) Rename to __memcpy_mvcle.
24892         * sysdeps/s390/s390-64/memset.S
24893         (memset_z900): Rename to __memset_z900.
24894         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24895         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24896         and use prefixed functions.
24897         * sysdeps/s390/s390-64/multiarch/memcmp.S
24898         (memcmp_z196): Rename to __memcmp_z196.
24899         (memcmp_z10): Rename to __memcmp_z10.
24900         (memcmp): Set alias to __memcmp_z900.
24901         (bcmp): Set alias to __memcmp_z900.
24902         * sysdeps/s390/s390-64/multiarch/memcpy.S
24903         (memcpy_z196): Rename to __memcpy_z196.
24904         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24905         (memcpy_z10): Rename to __memcpy_z10.
24906         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24907         (memcpy): Set alias to __memcpy_z900.
24908         * sysdeps/s390/s390-64/multiarch/memset.S
24909         (memset_z196): Rename to __memset_z196.
24910         Jump to __memset_mvcle instead of memset_mvcle.
24911         (memset_z10): Rename to __memset_z10.
24912         Jump to __memset_mvcle instead of memset_mvcle.
24913         (memset_mvcle) Rename to __memset_mvcle.
24914         (memset): Set alias to __memset_z900.
24916 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24918         [BZ #17748]
24919         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24920         __fesetenv instead of fesetenv.
24922 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24924         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24925         macro.
24927 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24929         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24930         regression on LE.
24932         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24933         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24934         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24935         strncmp-power8 object.
24936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24937         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24938         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24939         * NEWS: Update.
24941 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24942             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24944         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24945         trailing byte check.
24947 2015-01-13  David S. Miller  <davem@davemloft.net>
24949         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24951 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24953         * login/logout.c (logout): Use memset rather than bzero.
24954         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24955         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24956         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24957         (_gethtbyaddr): Likewise.
24958         * locale/programs/simple-hash.c (bcopy): Macro removed.
24960 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24962         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24963         Add strcmp-power8 object.
24964         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24965         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24966         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24967         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24968         __strcmp_power8 implementation.
24969         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24970         * NEWS: Update.
24972         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24973         Add strncpy-power8 and stpncpy-power8 objects.
24974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24975         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24976         implementations.
24977         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24978         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24979         __stpncpy_power8 implementation.
24980         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24981         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24982         __strncpy_power8 implementation.
24983         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24984         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24985         * NEWS: Update.
24987         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24988         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24989         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24991         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24992         strncat-power8 object.
24993         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24994         __strcat_power8 implementation.
24995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24996         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24997         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24998         optimized strcat for power8.
25000         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25001         strcpy-power8 and stpcpy-power8 objects.
25002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25003         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25004         implementations.
25005         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25006         multiarch stpcpy implementation for POWER8.
25007         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25008         multiarch strcpy implementation for POWER8.
25009         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25010         __strcpy_power8 function.
25011         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25012         stpcpy for POWER8.
25013         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25014         strcpy for POWER8.
25015         * NEWS: Update.
25017 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
25019         [BZ #16009]
25020         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25021         weights and rules. Use do_xfrm_cached if data fits in cache,
25022         do_xfrm otherwise.  Moved former main loop to...
25023         * (do_xfrm_cached): New function.
25024         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25025         find_idx, find_position and stack_push.
25026         * (find_idx): New function.
25027         * (find_position): Likewise.
25028         * localedata/sort-test.sh: Added test run for do_xfrm.
25029         * localedata/xfrm-test.c (main): Added command line option
25030         -nocache to run the test with strings that are too large for
25031         the STRXFRM cache.
25033 2015-01-13  Torvald Riegel  <triegel@redhat.com>
25035         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25036         variable to lll_futex_wake call, not the value itself.
25038 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
25040         [BZ #17803]
25041         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25042         twom64.  Adjust value to 0x1p-64L.
25043         (__scalblnl): Only return standard underflowing result for K <=
25044         -64 not K <= -63; adjust exponent for underflowing result by 64
25045         not 63.
25046         * math/libm-test.inc (scalbn_test_data): Add more tests.
25047         (scalbln_test_data): Likewise.
25049         [BZ #17834]
25050         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25051         0x1p63L.
25052         (__scalblnl): Get new exponent of adjusted subnormal value from ES
25053         not HX.
25054         * math/libm-test.inc (scalbn_test_data): Add more tests.
25055         (scalbln_test_data): Likewise.
25057 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25058             Stefani Seibold  <stefani@seibold.net>
25060         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25061         (sysdep_routines): Add dl-vdso here, ...
25062         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25063         (sysdep_routines): ... not here.
25064         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25065         fallback when vDSO is not presented.
25066         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25067         Define with libc_hidden_proto/libc_hidden_data_def definitions.
25068         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25069         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25070         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25071         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25072         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25073         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25074         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25075         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25076         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
25077         fallback configurable symbol when vDSO is not available.
25078         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25079         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
25080         be able to redefine fallback symbol when vDSO is not available.
25081         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25082         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25084 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25086         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25087         (TLS_INIT_TP): Add tm_capable initialization.
25088         (TLS_DEFINE_INIT_TP): Likewise.
25089         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25090         TCB.
25091         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25092         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25093         calculation.
25094         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25095         transactoion is lock elision is built and TCB tm_capable is set.
25096         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25098         (INTERNAL_SYSCALL_NCS): Likewise.
25099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25100         (INTERNAL_SYSCALL_NCS): Likewise.
25101         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25103         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25104         for powerpc.
25105         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25106         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25107         and remove it for 32 bits case.
25108         [pthread_rwlock_t] (__rwelision): New field for lock elision.
25109         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25110         initialization.
25111         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25112         Disable lock elision with rdlocks if elision is not available.
25114         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25115         (sysdep_routines): Add lock elision objects.
25116         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25117         [pthread_mutex_t] (__spins): Rework to add lock elision field.
25118         [pthread_mutex_t] (__elision): Add field.
25119         [__PTHREAD_SPINS]: Adjust to init lock elision field.
25120         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25121         elision definitions for powerpc.
25122         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25123         implementation of lock elision for powerpc.
25124         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25125         implementation of timed lock elision for powerpc.
25126         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25127         implementation of trylock with lock elision for powerpc.
25128         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25129         implementaion of unlock for lock elision for powerpc.
25130         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25131         automatic enable lock elision for mutexes.
25132         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25133         transaction execution definitions for powerpc.
25134         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25135         definitions.
25136         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25137         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25138         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25139         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25140         * NEWS: Update.
25142 2015-01-09  Roland McGrath  <roland@hack.frob.com>
25144         * sysdeps/posix/shm-directory.c: Use <> rather than ""
25145         for #include of <shm-directory.h>.
25147 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25149         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25150         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25152 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25154         [BZ #17791]
25155         * NEWS: Mention bug fix.
25156         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25157         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25158         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25160 2015-01-09  Torvald Riegel <triegel@redhat.com>
25162         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25164 2015-01-09  Torvald Riegel <triegel@redhat.com>
25166         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25168 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25170         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25171         pointer and cast to uintptr_t.
25173 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25175         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25176         removed.
25177         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25179 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25181         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25182         of 0.
25184 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25186         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25187         <nptl/pthreadP.h> instead.
25188         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25190         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25191         already defined.
25192         [__SIGRTMIN] (init): Function removed.
25193         [__SIGRTMIN] (initialized): Variable removed.
25194         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25195         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25196         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25197         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25198         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25199         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25200         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25201         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25202         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25203         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25204         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25205         * sysdeps/nptl/allocrtsig.c: New file.
25206         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25207         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25208         * sysdeps/generic/testrtsig.h: File removed.
25210         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25211         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25213         * nptl/nptl-init.c (pthread_functions): Conditionalize
25214         .ptr__nptl_setxid initialization on [SIGSETXID].
25216         * sysdeps/nptl/sys/procfs.h: New file.
25217         * nptl_db/Makefile (headers): Add it.
25218         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25220         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25221         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25222         * nptl/pthread_attr_setaffinity.c: Include it.
25223         * nptl/pthread_setattr_default_np.c: Likewise.
25224         * nptl/check-cpuset.h: New file.
25226 2015-01-08  Richard Henderson  <rth@redhat.com>
25228         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25229         (CFLAGS-tst-execstack-prog.c): Likewise.
25230         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25232 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25233             Sandra Loosemore  <sandra@codesourcery.com>
25234             Andrew Jenner  <andrew@codesourcery.com>
25235             Joseph Myers  <joseph@codesourcery.com>
25236             Nathan Sidwell  <nathan@codesourcery.com>
25238         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25239         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25240         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25241         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25242         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25243         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25244         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25245         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25246         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25247         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25248         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25249         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25250         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25251         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25252         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25253         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25254         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25256 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25258         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25259         timespec struct member in syscall macro.
25260         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25261         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25262         first timeval struct member in syscall macro.
25263         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25265 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25267         [BZ #17748]
25268         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25269         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25270         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25271         __feupdateenv and define as weak alias of __feupdateenv.  Use
25272         libm_hidden_weak.
25273         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25274         libm_hidden_def.
25275         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25276         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25277         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25278         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25279         libm_hidden_def.
25280         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25281         __feupdateenv and define as weak alias of __feupdateenv.  Use
25282         libm_hidden_weak.
25283         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25284         libm_hidden_def.
25285         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25286         __feupdateenv and define as weak alias of __feupdateenv.  Use
25287         libm_hidden_weak.
25288         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25289         libm_hidden_def.
25290         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25291         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25292         (__feupdateenv): Likewise.
25293         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25294         __feupdateenv and define as weak alias of __feupdateenv.  Use
25295         libm_hidden_weak.
25296         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25297         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25298         libm_hidden_def.
25299         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25300         function.
25301         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25302         libm_hidden_def.
25303         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25304         __feupdateenv instead of feupdateenv.
25305         (default_libc_feupdateenv_test): Likewise.
25306         (libc_feresetround_ctx): Likewise.
25308 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25310         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25311         prototype.
25313 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25315         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25316         COLL_SYM in a couple of places to avoid uninitialized variable
25317         wanings on tilegx gcc 4.8.2.
25319 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25321         * sysdeps/aarch64/strcpy.S: New file.
25322         * sysdeps/aarch64/stpcpy.S: New file.
25323         * NEWS: Updated.
25325 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25327         * sysdeps/aarch64/strrchr.S: New file.
25328         * NEWS: Updated.
25330 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25332         [BZ #17658]
25333         * stdlib/setenv.c: Fix memory leak when setting large,
25334         duplicate string.
25336 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25338         [BZ #17273]
25339         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25340         and tabs from buffer before parsing fstab entry.
25341         * misc/tst-mntent.c (main): Add test for mount entry with
25342         trailing spaces and tabs.
25344 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25346         [BZ #17748]
25347         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25348         * math/fesetround.c (fesetround): Rename to __fesetround and
25349         define as weak alias of __fesetround.  Use libm_hidden_weak.
25350         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25351         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25352         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25353         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25354         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25355         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25356         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25357         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25358         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25359         __fesetround_inline.
25360         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25361         __fesetround_inline instead of __fesetround.
25362         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25363         __fesetround and define as weak alias of __fesetround.  Use
25364         libm_hidden_weak.  Call __fesetround_inline instead of
25365         __fesetround.
25366         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25367         __fesetround and define as weak alias of __fesetround.  Use
25368         libm_hidden_weak.
25369         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25370         Likewise.
25371         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25372         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25373         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25374         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25375         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25376         __fesetround and define as weak alias of __fesetround.  Use
25377         libm_hidden_weak.
25378         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25379         __fesetround instead of fesetround.
25380         (default_libc_feholdexcept_setround): Likewise.
25381         (libc_feholdsetround_ctx): Likewise.
25382         (libc_feholdsetround_noex_ctx): Likewise.
25384         [BZ #17748]
25385         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25386         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25387         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25388         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25389         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25390         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25391         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25392         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25393         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25394         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25395         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25396         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25397         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25398         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25399         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25400         libm_hidden_def.
25401         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25402         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25403         Likewise.
25404         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25405         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25406         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25407         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25408         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25409         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25410         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25411         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25412         __fesetenv instead of fesetenv.
25413         (libc_feresetround_noex_ctx): Likewise.
25414         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25415         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25416         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25417         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25418         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25419         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25420         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25421         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25422         (__feupdateenv): Likewise.
25423         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25424         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25425         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25426         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25428 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25430         [BZ #17806]
25431         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25432         addresses have been freed.
25434 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25436         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25437         and nservall.
25439 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25441         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25442         Clean up check_pf allocation pattern. addresses
25444 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25446         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25447         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25448         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25449         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25450         * nptl/pthread_join.c (pthread_join): Likewise.
25451         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25452         * sysdeps/posix/waitid.c (__waitid): Likewise.
25453         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25454         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25455         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25456         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25457         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25458         Likewise.
25459         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25460         (__libc_pread64): Likewise.
25461         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25462         (__libc_pwrite): Likewise.
25463         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25464         (__libc_pwrite64): Likewsie.
25465         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25466         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25467         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25468         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25469         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25470         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25471         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25473         Likewise.
25474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25475         (__libc_pread64): Likewise.
25476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25477         Likewise.
25478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25479         (__libc_pwrite64): Likewise.
25480         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25481         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25482         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25483         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25484         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25485         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25486         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25487         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25488         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25489         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25490         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25491         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25492         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25493         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25494         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25495         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25496         Likewise.
25498 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25500         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25501         (CFLAGS-test-double.c): Likewise.
25502         (CFLAGS-test-ldouble.c): Likewise.
25503         (CPPFLAGS-test-ifloat.c): Likewise.
25504         (CPPFLAGS-test-idouble.c): Likewise.
25505         (CPPFLAGS-test-ildoubl.c): Likewise.
25506         (CFLAGS-test-test-fenv.c): Remove variable.
25507         (CFLAGS-test-misc.c): Likewise.
25509 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25511         [BZ #17797]
25512         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25513         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25514         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25515         CLOCKS_PER_SEC == 1000000.
25516         * time/clocktest.c (main): Replace %ld with %jd and cast to
25517         intmax_t.
25519 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25521         * sysdeps/generic/unwind-resume.h: New file.
25522         * sysdeps/gnu/unwind-resume.c: Include it.
25523         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25524         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25525         argument list.
25526         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25527         global rather than static.
25528         (_Unwind_Resume): Update user.
25529         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25530         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25531         rather than static.  Add __attribute__ ((cold)).
25532         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25533         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25534         * sysdeps/arm/arm-unwind-resume.S: New file.
25535         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25536         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25537         * sysdeps/arm/Makefile [$(subdir) = csu]
25538         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25539         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25540         Add rt-arm-unwind-resume.
25541         [$(subdir) = nptl]
25542         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25543         Add pt-arm-unwind-resume.
25544         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25545         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25547 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25549         [BZ #17748]
25550         * include/fenv.h (__feholdexcept): Declare.  Use
25551         libm_hidden_proto.
25552         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25553         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25554         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25555         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25556         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25557         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25558         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25559         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25560         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25561         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25562         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25563         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25564         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25565         (feholdexcept): Likewise.
25566         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25567         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25568         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25569         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25570         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25571         __feholdexcept instead of feholdexcept.
25572         (default_libc_feholdexcept_setround): Likewise.
25574 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25576         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25577         to avoid using stl/str to align destination.
25579 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25581         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25583 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25585         [BZ #17796]
25586         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25587         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25588         Define as weak alias not strong alias.
25590 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25592         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25593         bltzal with addiupc.
25594         (RTLD_START): Ditto.
25596 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25598         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25599         for __vdso_* functions in declarations.
25600         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25601         definitions.
25602         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25603         INTERNAL_VSYSCALL): Use struct return types to check for error.
25605         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25606         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25607         function with cast from llround().
25608         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25609         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25610         Define.
25612 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25614         [BZ #17793]
25615         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25616         Define as weak alias not strong alias.
25618         [BZ #17635]
25619         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25620         ...
25621         * ctype/ctype-extn.c: ... here.
25622         (__isblank_l): Move to ...
25623         * ctype/ctype-c99_l.c: ... here.  New file.
25624         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25625         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25626         Remove variable.
25627         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25628         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25629         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25630         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25631         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25633         [BZ #17777]
25634         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25635         (posix_fadvise64): Define as weak alias not strong alias.
25636         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25637         (posix_fallocate64): Likewise.
25638         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25639         Remove variable.
25640         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25641         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25642         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25643         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25644         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25646 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25648         [BZ #16191]
25649         * NEWS: Mention bug fix.
25650         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25651         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25652         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25653         (HOST_STACK_END_ADDR): Likewise.
25655 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25657         [BZ #17748]
25658         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25659         * math/fegetround.c (fegetround): Rename to __fegetround and
25660         define as weak alias of __fegetround.  Use libm_hidden_weak.
25661         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25662         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25663         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25664         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25665         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25666         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25667         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25668         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25669         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25670         Undefine after rather than before function definition; use
25671         parentheses around function name in definition.
25672         (__fegetround): Also undefine macro after function definition.
25673         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25674         __fegetround and define as weak alias of __fegetround.  Use
25675         libm_hidden_weak.  Do not undefine as macro.
25676         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25677         Likewise.
25678         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25679         __fegetround and define as weak alias of __fegetround.  Use
25680         libm_hidden_weak.
25681         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25682         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25683         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25684         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25685         __fegetround and define as weak alias of __fegetround.  Use
25686         libm_hidden_weak.
25687         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25688         __fegetround instead of fegetround.
25690         [BZ #17782]
25691         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25692         Condition macro definition on [__USE_MISC].
25694         [BZ #17781]
25695         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25696         (struct sigaction): Change type of sa_flags field to int.
25698         [BZ #17780]
25699         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25700         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25701         __glibc_reserved0.
25703         * nptl/version.c (banner): Use single year in copyright notice.
25705         * NEWS: Update copyright dates.
25706         * catgets/gencat.c (print_version): Likewise.
25707         * csu/version.c (banner): Likewise.
25708         * debug/catchsegv.sh: Likewise.
25709         * debug/pcprofiledump.c (print_version): Likewise.
25710         * debug/xtrace.sh (do_version): Likewise.
25711         * elf/ldconfig.c (print_version): Likewise.
25712         * elf/ldd.bash.in: Likewise.
25713         * elf/pldd.c (print_version): Likewise.
25714         * elf/sotruss.sh: Likewise.
25715         * elf/sprof.c (print_version): Likewise.
25716         * iconv/iconv_prog.c (print_version): Likewise.
25717         * iconv/iconvconfig.c (print_version): Likewise.
25718         * locale/programs/locale.c (print_version): Likewise.
25719         * locale/programs/localedef.c (print_version): Likewise.
25720         * login/programs/pt_chown.c (print_version): Likewise.
25721         * malloc/memusage.sh (do_version): Likewise.
25722         * malloc/memusagestat.c (print_version): Likewise.
25723         * malloc/mtrace.pl: Likewise.
25724         * manual/libc.texinfo: Likewise.
25725         * nptl/version.c (banner): Likewise.
25726         * nscd/nscd.c (print_version): Likewise.
25727         * nss/getent.c (print_version): Likewise.
25728         * nss/makedb.c (print_version): Likewise.
25729         * posix/getconf.c (main): Likewise.
25730         * scripts/test-installation.pl: Likewise.
25731         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25733 2015-01-02  Will Newton  <will.newton@linaro.org>
25735         * sysdeps/arm/armv7/configure: Removed.
25736         * sysdeps/arm/armv7/configure.ac: Likewise.
25738 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25740         * All files with FSF copyright notices: Update copyright dates
25741         using scripts/update-copyrights.
25742         * intl/plural.c: Regenerated.
25743         * locale/programs/charmap-kw.h: Likewise.
25744         * locale/programs/locfile-kw.h: Likewise.
25746 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25748         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25750 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25752         [BZ #17748]
25753         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25754         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25755         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25756         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25757         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25758         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25759         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25760         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25761         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25762         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25763         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25764         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25765         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25766         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25767         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25768         libm_hidden_def.
25769         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25770         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25771         Likewise.
25772         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25773         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25774         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25775         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25776         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25777         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25778         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25779         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25780         __fegetenv instead of fegetenv.
25781         (libc_feholdsetround_noex_ctx): Likewise.
25783 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25785         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25786         (Elf_MIPS_ABIFlags_v0): New structure.
25787         (EF_MIPS_FP64): Define.
25788         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25789         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25790         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25791         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25792         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25793         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25794         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25795         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25796         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25797         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25798         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25799         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25800         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25801         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25802         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25803         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25804         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25805         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25806         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25807         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25808         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25809         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25810         field.
25811         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25812         EF_MIPS_FP64.
25813         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25814         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25815         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25816         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25817         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25818         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25819         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25820         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25821         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25822         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25823         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25824         record the current FP ABI extension.
25825         (mips-mode-switch): Define to show if kernel headers support mode
25826         switching.
25827         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25828         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25829         supported SYSV ABI version to 3.
25830         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25831         feature.
25833 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25834             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25836         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25837         path.
25838         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25840 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25842         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25843         __fegetround and redefine to call __fegetround.  Remove condition
25844         on [!__NO_MATH_INLINES].
25845         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25846         function.
25847         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25848         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25849         Remove macro.
25850         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25851         instead of <fenv_libc.h>.
25852         (__llrintl): Call fegetround instead of __fegetround.
25853         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25854         instead of <fenv_libc.h>.
25855         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25856         (__lrintl): Call fegetround instead of __fegetround.
25857         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25858         instead of <fenv_libc.h>.
25859         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25860         (__rintl): Call fegetround instead of __fegetround.
25862 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25864         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25865         arrays.
25867 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25869         [BZ #17775]
25870         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25871         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25872         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25874 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25876         * sysdeps/i386/tls-macros.h: Include <features.h>.
25877         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25878         (TLS_IE): Likewise.
25879         (TLS_LD): Likewise.
25880         (TLS_GD): Likewise.
25881         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25882         define for GCC >= 5.0.
25884 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25886         * math/test-fenv.c (test_single_exception, set_single_exc,
25887         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25888         feexcp_mask_test, feenable_test, fe_single_test): Add
25889         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25890         case where they are not used.
25891         * math/libm-test.inc: Likewise.
25892         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25893         unused in the absence of FP rounding/exception support.
25894         * stdio-common/tst-printf-round.c: Likewise.
25895         * stdlib/tst-strtod-round.c: Likewise.
25896         * stdlib/tst-strtod-underflow.c: Likewise.
25898 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25900         [BZ #17723]
25901         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25902         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25903         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25904         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25905         libm_hidden_weak.
25906         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25907         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25908         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25909         libm_hidden_def.
25910         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25911         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25912         libm_hidden_weak.
25913         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25914         Likewise.
25915         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25916         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25917         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25918         libm_hidden_weak.
25919         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25920         libm_hidden_def.
25921         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25922         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25923         (__feraiseexcept): Likewise.
25924         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25925         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25926         libm_hidden_weak.
25927         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25928         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25929         libm_hidden_def.
25930         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25931         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25932         Use libm_hidden_def.
25933         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25934         libm_hidden_def.
25935         (feraiseexcept): Define as weak not strong alias.  Use
25936         libm_hidden_weak.
25937         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25938         New inline function.  Factored out of ...
25939         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25940         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25941         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25942         feraiseexcept.
25943         * math/w_acos.c (__acos): Likewise.
25944         * math/w_asin.c (__asin): Likewise.
25945         * math/w_ilogb.c (__ilogb): Likewise.
25946         * math/w_j0.c (y0): Likewise.
25947         * math/w_j1.c (y1): Likewise.
25948         * math/w_jn.c (yn): Likewise.
25949         * math/w_log.c (__log): Likewise.
25950         * math/w_log10.c (__log10): Likewise.
25951         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25952         * sysdeps/aarch64/fpu/math_private.h
25953         (libc_feupdateenv_test_aarch64): Likewise.
25954         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25955         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25956         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25957         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25958         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25959         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25960         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25961         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25962         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25963         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25965 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25967         [BZ #17732]
25968         * io/test-utime.c (main): Replace %ld with %jd and cast to
25969         intmax_t.
25970         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25971         * nptl/tst-mutex5.c: Include <stdint.h>.
25972         (do_test): Replace %ld with %jd and cast to intmax_t.
25973         * posix/tst-regex.c (run_test): Likewise.
25974         (run_test_backwards): Likewise.
25975         * rt/tst-clock.c: Include <stdint.h>.
25976         (clock_test): Replace %ld with %jd and cast to intmax_t.
25977         * rt/tst-cpuclock1.c: Include <stdint.h>.
25978         (do_test): Replace %lu with %ju and cast to uintmax_t.
25979         * rt/tst-cpuclock2.c: Include <stdint.h>.
25980         (do_test): Replace %lu with %ju and cast to uintmax_t.
25981         * rt/tst-mqueue1.c: Include <stdint.h>.
25982         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25983         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25984         intmax_t.
25985         * rt/tst-mqueue4.c (do_test): Likewise.
25986         * rt/tst-timer4.c: Include <stdint.h>.
25987         (check_ts): Replace %ld with %jd and cast to intmax_t.
25988         (do_test): Likewise.
25989         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25990         and cast to intmax_t.
25991         * sysdeps/pthread/tst-timer.c (main): Likewise.
25992         * time/clocktest.c (main): Likewise.
25993         * time/tst-posixtz.c (do_test): Likewise.
25994         * timezone/tst-timezone.c (main): Likewise.
25996 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25997             H.J. Lu  <hongjiu.lu@intel.com>
25999         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26000         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26001         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26002         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26003         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26004         version if bit_Fast_Unaligned_Load is set.
26005         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26006         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26007         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26008         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26009         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26010         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26011         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26012         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26013         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26014         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26015         to 4.
26016         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26017         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26018         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26019         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26021 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
26023         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26024         instead of #if to avoid a Wundef warning.
26025         * stdlib/tst-limits.c (do_test): Likewise.
26027         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26028         parallel other exception macros.
26029         (fegetenv): Convert from macro to extern inline so that it applies
26030         retroactively to inline functions already seen by the compiler.
26031         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26033         * posix/Makefile (before-compile): Use $(objpfx) for
26034         posix-conf-vars-def.h.
26036 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26038         * posix/getconf.c (main): Use size_t for type of I.
26039         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26040         NSPEC.
26042         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26043         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26044         * posix/posix-envs.def: Likewise.
26045         * sysdeps/posix/sysconf.c: Likewise.
26046         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26047         (specs): Remove array.
26048         * scripts/gen-posix-conf-vars.awk: Support generation of specs
26049         array.
26051         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26052         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26053         (__sysconf): Use CONF_IS_* macros.
26055         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26056         ($(objpfx)posix-conf-vars-def.h): New target.
26057         * posix/posix-conf-vars.list: New file.
26058         * posix/posix-conf-vars.h: New file.
26059         * posix/confstr.c: Include posix-conf-vars.h.
26060         (confstr): Use CONF_IS_* macros.
26061         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
26062         CONF_IS_* macros.
26063         * scripts/gen-posix-conf-vars.awk: New file.
26065 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
26067         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26068         fegetround): Add no-op macros to avoid linknamespace issues.
26070         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26071         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26073         * sysdeps/unix/sysv/linux/tile/sysdep.h
26074         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26075         assembly-specific section to avoid a redefinition warning.
26077         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26078         long before casting to pointer to avoid a cast warning.
26080 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
26082         * sysdeps/tile/tilegx/Implies: New file.
26084 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
26086         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26088 2014-12-23  Florian Weimer  <fweimer@redhat.com>
26090         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26092 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26094         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26095         not define.
26096         * sysdeps/unix/sysv/linux/utimes.c: Do not include
26097         <kernel-features.h>.
26098         (__utimes) [__NR_utimes]: Make code unconditional.
26099         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26100         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26101         (__ASSUME_UTIMES): Do not undefine.
26102         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26103         (__ASSUME_UTIMES): Likewise.
26104         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26105         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26106         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26107         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26109 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26111         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26113 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
26115         [BZ #17747]
26116         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26117         alias to weak alias for j0l, y0l.
26118         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26119         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26121         [BZ #17746]
26122         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26123         conversion.
26125 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26127         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26128         to zero if not already defined.
26130 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26132         [BZ #17724]
26133         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26134         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
26135         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
26136         (char *) casts added.
26137         * sysdeps/ieee754/k_standardf.c: New file.
26138         * sysdeps/ieee754/k_standardl.c: Likewise.
26139         * math/Makefile (libm-support): Remove k_standard.
26140         (libm-calls): Add k_standard.
26142 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26144         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26145         Optimize to avoid an unnecessary FPCR read.
26147 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26149         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26150         Optimize to reduce FPCR/FPSR accesses.
26152 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26154         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26155         Call libc_fetestexcept_aarch64.
26157 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26159         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26160         Call libc_fesetround_aarch64.
26162 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26164         [BZ #17733]
26165         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26166         (__bind): Do not define as weak alias.
26167         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26168         define.
26169         (__getsockname): Do not define as weak alias.
26171 2014-12-22  Will Newton  <will.newton@linaro.org>
26173         * manual/install.texi: Document that we require bison 2.7
26174         or above.
26175         * INSTALL: Regenerate.
26176         * configure.ac: Use AC_CHECK_PROG_VER instead of
26177         AC_PATH_PROG when checking for bison and check for
26178         version 2.7 or above.
26179         * configure: Regenerate.
26181 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26183         [BZ #17745]
26184         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26185         * sysdeps/tile/ffsll.c (ffsll): To here.
26187         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26189 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26191         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26192         if not defined.
26193         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26194         definition.
26195         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26196         hidden ___tls_get_addr.
26197         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26198         hidden __tls_get_addr.
26199         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26200         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26201         Likewise.
26203 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26205         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26206         _dl_init call.
26208 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26210         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26211         from "call _dl_init@PLT".
26212         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26214 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26216         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26217         guarantees.
26219 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26221         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26223 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26225         [BZ #17744]
26226         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26227         strnlen.
26229 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26231         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26232         of multu on MIPSr6.
26233         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26234         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26235         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26236         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26237         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26239 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26241         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26242         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26243         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26244         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26245         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26246         mips32r6/mips64r6.
26247         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26249 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26251         * string/strncat.c (STRNCAT): Simplify implementation.
26253 2014-12-19  David S. Miller  <davem@davemloft.net>
26255         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26256         access the quad as both a long double and as a series of 4 words.
26258         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26259         link_map->l_info array access.
26261 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26263         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26265         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26266         * math/atest-exp2.c (TIMEOUT): Likewise.
26267         * math/atest-sincos.c (TIMEOUT): Likewise.
26269 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26271         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26272         -Wno-error with -fno-builtin-lround.
26274 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26276         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26277         Contains futex constants and functions moved over from ...
26278         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26279         <lowlevellock-futex.h>.
26280         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26281         (lll_timedwait_tid): Add comments and parentheses around macro
26282         arguments.
26284 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26286         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26287         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26288         (__lll_private_flag): Remove.
26289         (lll_futex_wait): Likewise.
26290         (lll_futex_timed_wait): Likewise.
26291         (lll_futex_wake): Likewise.
26292         (lll_futex_requeue): Likewise.
26293         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26294         (__lll_timedwait_tid): Spell out argument names.
26295         (lll_timedwait_tid): Add comments and parentheses around macro
26296         arguments.
26297         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26298         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26300 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26302         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26303         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26304         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26305         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26306         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26307         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26308         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26309         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26310         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26311         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26312         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26313         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26314         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26315         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26316         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26317         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26318         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26319         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26320         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26322 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26324         * sysdeps/x86_64/x32/Makefile: New file.
26326 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26328         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26329         1L with (mp_limb_t) 1.
26331 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26333         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26334         * nptl/libc_pthread_init.c: ... here.
26335         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26336         * nptl/register-atfork.c: ... here.
26338         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26339         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26340         Use assert_perror to check its return value.
26341         (__gai_create_helper_thread): Likewise.
26343         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26345         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26347 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26349         [BZ #17725]
26350         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26351         __profil_counter.
26352         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26353         Likewise.
26354         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26355         Likewise.
26356         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26357         Likewise.
26358         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26359         (profil_counter): Likewise.
26360         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26361         (profil_counter): Likewise.
26362         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26363         Likewise.
26364         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26365         Likewise.
26366         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26367         (profil_counter): Likewise.
26368         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26369         Likewise.
26370         [!__profil_counter] (profil_counter): Define as weak alias of
26371         __profil_counter.
26372         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26373         (profil_counter): Rename to __profil_counter.
26374         [!__profil_counter] (profil_counter): Define as weak alias of
26375         __profil_counter.
26376         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26377         (profil_counter): Rename to __profil_counter.
26378         [!__profil_counter] (profil_counter): Define as weak alias of
26379         __profil_counter.
26380         * sysdeps/posix/profil.c: Update comment referring to
26381         profil_counter.
26382         (__profil): Use __profil_counter instead of profil_counter.
26383         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26384         __profil_counter.  Use __profil_counter_ushort and
26385         __profil_counter_uint in definitions.
26386         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26387         instead of profil_counter_uint and profil_counter_ushort.
26389         [BZ #17722]
26390         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26391         define as weak alias of __inet_makeaddr.
26392         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26393         as weak alias of __inet_addr.
26394         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26395         as weak alias of __inet_pton.  Use libc_hidden_weak.
26396         * include/arpa/inet.h (__inet_pton): Declare.  Use
26397         libc_hidden_proto.
26398         (inet_makeaddr): Don't use libc_hidden_proto.
26399         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26400         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26401         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26402         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26403         Remove variable.
26404         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26405         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26407 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26409         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26411 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26413         * stdio-common/bug-vfprintf-nargs.c (do_test):
26414         Cast value to intptr_t to avoid format warning
26415         for usage with PRIdPTR printing macro.
26417 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26419         * libio/tst-widetext.c (do_test):
26420         Use format type %td instead of %Zd for ptrdiff_t
26421         in order to avoid format warning.
26423 2014-12-17  Andreas Schwab  <schwab@suse.de>
26425         * nscd/mem.c (gc): Add size_t cast to match printf format.
26427 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26429         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26430         (init): Apply PTR_MANGLE to pointers before storing them.
26431         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26432         before using them.
26434 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26436         [BZ #17719]
26437         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26438         define as weak alias of __memrchr.
26439         (__memrchr): Do not define as strong alias of memrchr.
26440         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26441         Remove variable.
26442         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26443         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26444         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26446         [BZ #17717]
26447         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26448         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26449         (if_indextoname): Rename to __if_indextoname and define as weak
26450         alias of __if_indextoname.  Use libc_hidden_weak.
26451         (if_freenameindex): Rename to __if_freenameindex and define as
26452         weak alias of __if_freenameindex.
26453         (if_nameindex): Rename to __if_nameindex and define as weak alias
26454         of __if_nameindex.
26455         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26456         __if_nametoindex and define as weak alias of __if_nametoindex.
26457         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         (if_indextoname): Rename to __if_indextoname and define as weak
26463         alias of __if_indextoname.  Use libc_hidden_weak.
26464         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26465         __if_nametoindex and define as weak alias of __if_nametoindex.
26466         Use libc_hidden_weak.
26467         (if_freenameindex): Rename to __if_freenameindex and define as
26468         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26469         (if_nameindex_netlink): Use __if_freenameindex instead of
26470         if_freenameindex.
26471         (if_nameindex): Rename to __if_nameindex and define as weak alias
26472         of __if_nameindex.  Use libc_hidden_weak.
26473         (if_indextoname): Rename to __if_indextoname and define as weak
26474         alias of __if_indextoname.  Use libc_hidden_weak.
26475         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26476         libc_hidden_proto.
26477         [!_ISOMAC] (__if_freenameindex): Likewise.
26478         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26479         if_nametoindex.
26480         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26481         variable.
26482         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26483         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26484         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26485         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26486         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26487         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26488         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26490         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26491         Remove variable.
26492         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26493         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26495 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26497         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26498         subscript above bounds'
26500         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26501         bounds.
26503 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26505         * libio/tst-fopenloc.c: Use test-skeleton.c.
26507         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26508         (entry): Rename to ITEM.
26509         (do_test, comp): Adjust.
26511         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26513 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26515         * string/tester.c: Include <libc-internal.h>.
26516         (test_memset): Ignore -Wmemset-transposed-args.
26518 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26520         * misc/tst-mntent2.c (do_test): Fix warning.
26522 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26524         * elf/tst-unique4lib.cc(a): Mark as used.
26526 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26528         [BZ #17630]
26529         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26530         names.
26532 2014-12-16  Allan McRae  <allan@archlinux.org>
26534         * stdio-common/Makefile (tests): Re-add bug26.
26536 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26538         [BZ #17657]
26539         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26540         static array.
26542 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26544         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26545         (__lll_lock_wait): Likewise.
26546         (__lll_timedlock_wait): Likewise.
26547         (__lll_timedwait_tid): Likewise.
26548         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26549         (__lll_robust_timedlock_wait): Likewise.
26550         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26551         (lll_cond_trylock): Likewise.
26552         (__lll_lock): Likewise.
26553         (__lll_robust_lock): Likewise.
26554         (__lll_cond_lock): Likewise.
26555         (lll_robust_cond_lock): Likewise.
26556         (__lll_timedlock): Likewise.
26557         (__lll_robust_timedlock): Likewise.
26558         (__lll_unlock): Likewise.
26559         (__lll_robust_unlock): Likewise.
26560         (lll_wait_tid): Likewise.
26561         (lll_timedwait_tid): Likewise.
26563 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26565         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26567 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26569         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26571 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26573         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26574         * stdio-common/tst-sprintf.c: Likewise.
26576 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26578         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26580 2014-12-15  Jeff Law  <law@redhat.com>
26582         [BZ #16617]
26583         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26584         on the heap.  (CVE-2012-3406)
26585         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26586         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26587         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26589 2014-12-15  Will Newton  <will.newton@linaro.org>
26591         * manual/install.texi: Bump required version of texinfo
26592         to 4.7 from 4.5.
26593         * INSTALL: Regenerated.
26594         * configure.ac: Check for makeinfo version 4.7 and above.
26595         * configure: Regenerated.
26597 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26599         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26600         PREFIX, string constant to insert between directory and name.
26601         * sysdeps/posix/shm_open.c: Update caller.
26602         * sysdeps/posix/shm_unlink.c: Likewise.
26603         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26604         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26605         (SEM_SHM_PREFIX): New macro.
26606         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26607         [$(have-thread-library) = no].
26608         * nptl/Makefile (libpthread-routines): Add shm-directory.
26609         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26610         * sysdeps/nptl/shm-directory.h: New file.
26611         * sysdeps/posix/shm-directory.c
26612         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26613         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26614         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26615         INTERNAL_SYSCALL.
26616         (__where_is_shmfs): Function removed.
26617         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26618         Variables removed.
26619         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26620         Use SHM_GET_NAME.
26621         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26623         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26624         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26625         unconditional for use inside libpthread.
26626         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26628 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26630         * nptl/pthread_getaffinity.c: New file.
26631         * nptl/pthread_setaffinity.c: New file.
26632         * nptl/pthread_getname.c: New file.
26633         * nptl/pthread_setname.c: New file.
26635         * nptl/pthread_create.c (START_THREAD_DEFN)
26636         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26638 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26639             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26641         * resolv/res_send.c (send_vc): Disable warning resplen may
26642         be used uninitialized.
26644 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26646         * nptl/tst-mutex6.c
26647         (ATTR_NULL): New define checks ATTR against NULL.
26648         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26649         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26651 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26653         [BZ #17581]
26654         * malloc/hooks.c
26655         (mem2mem_check): Revert my previous change.
26656         (malloc_check_get_size): Revert my previous change.
26657         (mem2chunk_check): Revert my previous change.
26659 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26661         * sysdeps/posix/shm-directory.c: New file.
26662         * sysdeps/posix/shm-directory.h: New file.
26663         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26664         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26665         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26666         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26667         Transmute EPERM to EACCES.
26668         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26669         from ...
26670         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26671         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26673 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26675         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26676         pointer and cast to uintptr_t.
26677         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26678         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26679         Add cast to avoid warning.
26680         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26682 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26684         * nptl/semaphore.h: Move to ...
26685         * sysdeps/pthread/semaphore.h: ... here.
26686         * Makefile (installed-headers): Change nptl/semaphore.h to
26687         sysdeps/pthread/semaphore.h.
26689 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26691         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26692         generated error format strings.
26694         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26695         -Wformat-extra-args warnings for scanf formats.
26696         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26697         test of zero-length format (duh).
26698         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26699         corner-case scanf format test.
26700         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26701         generated fprintf format string.
26702         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26703         corner-case sprintf format tests.
26704         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26705         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26706         -Wformat-extra-args warnings throughout.
26707         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26708         (CFLAGS-scanf4.c): Likewise.
26709         (CFLAGS-scanf7.c): Likewise.
26710         (CFLAGS-tst-sprintf.c): Likewise.
26711         (CFLAGS-tst-printf.c): Likewise.
26712         (CFLAGS-tst-printfsz.c): Likewise.
26714 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26716         * include/cpio.h: New file.
26717         * include/fmtmsg.h: Likewise.
26719         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26720         corresponding format argument to size_t.
26721         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26722         arguments.
26723         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26724         corresponding format argument to size_t.
26725         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26726         arguments.
26727         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26728         corresponding format argument to size_t.
26729         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26730         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26731         (CFLAGS-tst-mbswcs2.c): Likewise.
26732         (CFLAGS-tst-mbswcs3.c): Likewise.
26733         (CFLAGS-tst-mbswcs4.c): Likewise.
26734         (CFLAGS-tst-mbswcs5.c): Likewise.
26735         (CFLAGS-tst-trans.c): Likewise.
26737 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26739         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26740         rather than assuming they won't contain any '%'s.
26742 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26744         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26745         inhibit_loop_to_libcall to avoid recursive calls.
26746         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26747         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26749 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26751         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26752         prototype.
26754 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26756         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26757         integer value instead of boolean.
26759 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26761         * malloc/malloc.c: Fix powerof2 check.
26763 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26765         * locale/programs/locfile.h (maybe_swap_uint32):
26766         Remove inline and add unused attribute.
26768 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26770         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26771         Truncating assembler expression to a .long expression.
26773 2014-12-11  Andreas Schwab  <schwab@suse.de>
26775         * elf/rtld.c (struct map_args): Constify str member.
26776         (do_preload): Constify fname argument.
26778 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26780         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26781         constants definition.
26783 2014-12-11  Andreas Schwab  <schwab@suse.de>
26785         [BZ #16657]
26786         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26787         FORCE_ELISION instead of DO_ELISION.
26788         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26789         Remove.
26790         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26791         Likewise.
26793         * iconvdata/gconv-modules: Remove duplicate entry.
26795 2014-12-11  Will Newton  <will.newton@linaro.org>
26797         Merge gettext 0.19.3 into intl/.
26799         This involves a number of cosmetic changes to comments
26800         and ANSI function definitions and prototypes throughout
26801         all the files. The gettext copyright header is used but
26802         with the date ranges taken from the glibc copy.
26804         * NEWS: Add gettext merge to 2.21.
26805         * intl/bindtextdom.c: Switch to gettext copyright.
26806         Use ANSI definitions and prototypes.
26807         Use gl_* locking primitives rather than __libc_* ones.
26808         Use __builtin_expect rather than __glibc_likely/unlikely.
26809         * intl/dcgettext.c: Switch to gettext copyright.
26810         Use ANSI definitions and prototypes.
26811         * intl/dcigettext.c: Switch to gettext copyright.
26812         Use ANSI definitions and prototypes.
26813         (INTDIV0_RAISES_SIGFPE): New define.
26814         Use gl_* locking primitives rather than __libc_* ones.
26815         Include eval-plural.h instead of plural-eval.c.
26816         Use __builtin_expect rather than __glibc_likely/unlikely.
26817         * intl/dcngettext.c: Switch to gettext copyright.
26818         Use ANSI definitions and prototypes.
26819         * intl/dgettext.c: Likewise.
26820         * intl/dngettext.c: Likewise.
26821         * intl/plural-eval.c: Renamed to...
26822         * intl/eval-plural.h: ...this.
26823         * intl/explodename.c: Switch to gettext copyright.
26824         Use ANSI definitions and prototypes.
26825         (_nl_explode_name): Use strchr instead of __rawmemchr.
26826         * intl/finddomain.c: Switch to gettext copyright.
26827         Use ANSI definitions and prototypes.
26828         Use gl_* locking primitives rather than __libc_* ones.
26829         (_nl_find_domain): Use malloc rather than alloca for
26830         allocation of temporary locale name.
26831         * intl/gettext.c: Switch to gettext copyright.
26832         Use ANSI definitions and prototypes.
26833         * intl/gettextP.h: Switch to gettext copyright.
26834         Use ANSI definitions and prototypes.
26835         Use gl_* locking primitives rather than __libc_* ones.
26836         * intl/gmo.h: Switch to gettext copyright.
26837         (struct sysdep_string): Move struct segment_pair outside of
26838         struct definition.
26839         * intl/hash-string.c: Use ANSI definitions and prototypes.
26840         * intl/hash-string.h: Switch to gettext copyright.
26841         Use ANSI definitions and prototypes.
26842         * intl/l10nflist.c: Switch to gettext copyright.
26843         Use ANSI definitions and prototypes.
26844         (_nl_normalize_codeset): Avoid integer overflow.
26845         * intl/loadinfo.h: Switch to gettext copyright.
26846         Use ANSI definitions and prototypes.
26847         (LIBINTL_DLL_EXPORTED): New define.
26848         (PATH_SEPARATOR): New define.
26849         * intl/loadmsgcat.c: Switch to gettext copyright.
26850         * intl/localealias.c: Switch to gettext copyright.
26851         Use ANSI definitions and prototypes.
26852         (_nl_expand_alias): Use PATH_SEPARATOR.
26853         * intl/ngettext.c: Switch to gettext copyright.
26854         Use ANSI definitions and prototypes.
26855         * intl/plural-exp.c: Likewise.
26856         * intl/plural-exp.h: Switch to gettext copyright.
26857         Use ANSI definitions and prototypes.
26858         (struct expression): Move definition of enum operator outside
26859         of struct definition.
26860         * intl/plural.c: Regenerate.
26861         * intl/plural.y: Switch to gettext copyright.
26862         Use ANSI definitions and prototypes.
26863         Port to bison 3.0.
26864         * intl/textdomain.c: Switch to gettext copyright.
26865         Use ANSI definitions and prototypes.
26866         Use gl_* locking primitives rather than __libc_* ones.
26868 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26870         * debug/warning-nop.c: Add used atrribute.
26872 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26874         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26876         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26877         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26878         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26880 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26881             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26883         [BZ #17634]
26884         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26885         Undefine after defining function.  Define as weak alias of
26886         __wcschr.  Use libc_hidden_weak.
26887         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26888         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26889         (libc_hidden_def): Also define __GI___wcschr alias.
26890         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26891         __wcschr and define as weak alias of __wcschr.
26892         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26893         __wcschr.
26894         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26895         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26896         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26897         libc_hidden_weak.  Do not use libc_hidden_def.
26898         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26899         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26900         __GI___wcschr alias.
26901         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26902         [IS_IN (libc)] (wcschr): Define as macro expanding to
26903         __redirect_wcschr.
26904         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26905         [IS_IN (libc)] (__wcschr_power6): Likewise.
26906         [IS_IN (libc)] (__wcschr_power7): Likewise.
26907         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26908         instead of wcschr.
26909         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26910         __libc_wcschr.
26911         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26912         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26913         __wcschr and define as weak alias of __wcschr.  Use
26914         libc_hidden_builtin_def.
26915         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26916         as weak alias of __wcschr.  Use libc_hidden_weak.
26917         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26918         wcschr.
26919         * time/era.c (_nl_init_era_entries): Likewise.
26920         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26921         variable.
26922         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26923         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26925 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26927         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26928         format for long int variable.
26930 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26932         [BZ #10672]
26933         * manual/search.texi: (Array Sort Function): Remove claim how to make
26934         qsort stable.
26936 2014-12-10  Andreas Schwab  <schwab@suse.de>
26938         [BZ #12847]
26939         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26940         user-controlled locks.
26942 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26944         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26945         register.
26947 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26949         * configure.ac (--disable-werror): New configure option.
26950         (enable_werror): New AC_SUBST.
26951         * configure: Regenerated.
26952         * config.make.in (enable-werror): New variable.
26953         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26954         -Wno-error=undef.
26955         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26956         * manual/install.texi (Configuring and compiling): Document
26957         --disable-werror.
26958         * INSTALL: Regenerated.
26959         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26960         (CFLAGS-tst-chk2.c): Likewise.
26961         (CFLAGS-tst-chk3.c): Likewise.
26962         (CFLAGS-tst-chk4.cc): Likewise.
26963         (CFLAGS-tst-chk5.cc): Likewise.
26964         (CFLAGS-tst-chk6.cc): Likewise.
26965         (CFLAGS-tst-lfschk1.c): Likewise.
26966         (CFLAGS-tst-lfschk2.c): Likewise.
26967         (CFLAGS-tst-lfschk3.c): Likewise.
26968         (CFLAGS-tst-lfschk4.cc): Likewise.
26969         (CFLAGS-tst-lfschk5.cc): Likewise.
26970         (CFLAGS-tst-lfschk6.cc): Likewise.
26972         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26973         (main): Disable -Wdeprecated-declarations around calls to
26974         register_printf_function.
26976         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26977         (do_test): Disable -Wdiv-by-zero around some calls to
26978         fwrite_unlocked and fread_unlocked.
26980         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26981         (DIAG_POP_NEEDS_COMMENT): Likewise.
26982         (_DIAG_STR1): Likewise.
26983         (_DIAG_STR): Likewise.
26984         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26985         * stdio-common/bug21.c: Include <libc-internal.h>.
26986         (do_test): Disable -Wformat around call to sscanf.
26987         * stdio-common/scanf14.c: Include <libc-internal.h>.
26988         (main): Disable -Wformat around some calls to scanf functions.
26990 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26992         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26994 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26996         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26997         stack variable alignment.
26999 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
27001         [BZ #17682]
27002         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27003         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27004         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27005         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27006         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27007         __getrlimit instead of getrlimit.
27008         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27009         __gettimeofday instead of gettimeofday.
27010         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27011         Likewise.
27012         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27013         Likewise.
27014         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27015         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27016         Remove variable.
27017         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27018         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27020 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27022         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27023         for wide-character tests.
27025 2014-12-04  Roland McGrath  <roland@hack.frob.com>
27027         * io/openat64.c: #include <libc-internal.h>
27028         (__openat64): Prototypify.  Use ignore_value on MODE.
27029         * io/openat.c: Likewise.
27030         * misc/reboot.c: #include <libc-internal.h>
27031         (reboot): Prototypify.  Use ignore_value on HOWTO.
27032         * misc/ptrace.c: #include <libc-internal.h>
27033         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
27035 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
27037         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27038         XPG4, UNIX98 and XOPEN2K.
27039         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27040         Remove variable.
27041         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27043 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27045         * libio/fileops.c: Use ISO C style for function definitions.
27046         * libio/iofopen.c: Likewise.
27047         * libio/wfileops.c: Likewise.
27049         [BZ #17653]
27050         * libio/fileops.c (_IO_new_file_underflow): Unset cached
27051         offset on EOF.
27052         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27053         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27054         (fgets_func): Function pointer to fgets and fgetws.
27055         (do_ftell_test): Add test to verify ftell value after read
27056         EOF.
27057         (do_test): Set fgets_func.
27059         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27060         O_TRUNC flag for w and w+ modes.
27061         (do_rewind_test): Likewise.
27062         (do_ftell_test): Likewise.
27063         (do_write_test): Likewise.
27065         [BZ #17647]
27066         * libio/fileops.c (do_ftell): Seek only when there are
27067         unflushed writes.
27068         * libio/wfileops.c (do_ftell_wide): Likewise.
27069         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27070         test case.
27071         (do_one_test): Call it.
27073 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
27075         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27076         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27077         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27078         Remove variable.
27079         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27080         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27081         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27083 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27085         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27086         Remove variable.
27087         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27089         [BZ #17668]
27090         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27091         as weak alias of __getifaddrs.  Use libc_hidden_weak.
27092         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27093         __freeifaddrs.  Use libc_hidden_weak.
27094         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27095         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
27096         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27097         __freeifaddrs.  Use libc_hidden_weak.
27098         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27099         __getifaddrs and define as weak alias of __getifaddrs.  Use
27100         libc_hidden_weak.
27101         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27102         __freeifaddrs.  Use libc_hidden_weak.
27103         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27104         Remove variable.
27105         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27106         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27108 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27110         [BZ #17601]
27111         * sysdeps/mips/start.S (__start): Use indirect jump to call
27112         __libc_start_main.
27114 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27116         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27118         * nptl/tst-mutex1.c: Include <stdbool.h>.
27119         [!ATTR] (ATTR_NULL): New macro.
27120         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27121         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27122         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27124         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27125         to char *.
27127         [BZ #17665]
27128         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27129         Change conditional to [__USE_MISC].
27131         [BZ #17664]
27132         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27133         fgets_unlocked.
27134         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27135         __fgets_unlocked.
27136         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27137         fgets_unlocked.
27138         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27139         Remove variable.
27140         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27141         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27142         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27143         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27144         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27145         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27146         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27147         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27148         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27150         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27152 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27154         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27155         Remove strpbrk objects.
27156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27157         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27158         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27159         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27160         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27161         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27163         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27164         Remove strcspn objects.
27165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27166         (__libc_ifunc_impl_list): Remove strcspn implementation.
27167         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27168         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27169         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27170         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27172         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27173         Remove strspn objetcs.
27174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27175         (__libc_ifunc_impl_list): Remove strspn implementation.
27176         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27177         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27178         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27179         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27181 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27183         [BZ #17581]
27184         * malloc/hooks.c
27185         (mem2mem_check): Add a terminator to the chain of checking blocks.
27186         (malloc_check_get_size): Use it here.
27187         (mem2chunk_check): Ditto.
27189 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27191         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27192         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27194 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27196         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27198         * nptl/nptl-init.c: Include libc-internal.h.
27199         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27201         * elf/ldconfig.c (search_dir): Expand comment.
27203 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27205         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27206         variable.
27207         (linknamespace-symlist-stdlibs-tests): Likewise.
27208         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27209         instead of $(objpfx)symlist-stdlibs.
27210         (linknamespace-libs-isoc): New variable.
27211         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27212         (linknamespace-libs-ISO): New variable.
27213         (linknamespace-libs-ISO99): Likewise.
27214         (linknamespace-libs-ISO11): Likewise.
27215         (linknamespace-libs-XPG3): Likewise.
27216         (linknamespace-libs-XPG4): Likewise.
27217         (linknamespace-libs-POSIX): Likewise.
27218         (linknamespace-libs-UNIX98): Likewise.
27219         (linknamespace-libs-XOPEN2K): Likewise.
27220         (linknamespace-libs-POSIX2008): Likewise.
27221         (linknamespace-libs-XOPEN2K8): Likewise.
27222         ($(objpfx)symlist-stdlibs): Replace by
27223         $(linknamespace-symlist-stdlibs-tests).  Use
27224         $(linknamespace-libs-$*) as set of libraries.
27225         ($(linknamespace-header-tests)): Update dependencies.  Use
27226         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27227         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27228         * conform/linknamespace.pl: Remove comment about considering
27229         definitions of symbols from irrelevant libraries.
27231 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27233         [BZ #13862]
27234         * elf/dl-tls.c: Include <atomic.h>.
27235         (oom): Remove #ifdef SHARED/#endif.
27236         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27237         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27238         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27239         big enough.
27240         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27241         * nptl/Makefile (tests): Add tst-stack4.
27242         (modules-names): Add tst-stack4mod.
27243         ($(objpfx)tst-stack4): New.
27244         (tst-stack4mod.sos): Likewise.
27245         ($(objpfx)tst-stack4.out): Likewise.
27246         ($(tst-stack4mod.sos)): Likewise.
27247         (clean): Likewise.
27248         * nptl/tst-stack4.c: New file.
27249         * nptl/tst-stack4mod.c: Likewise.
27251 2014-11-27  J. Brown  <jb999@gmx.de>
27253         * sysdeps/x86/bits/string.h: Add recent CPUs.
27255 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27257         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27258         sigblock.
27260         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27261         feof.
27263         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27264         variable.
27266 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27268         * nscd/connections.c: Include libc-internal.h because of macro
27269         usage ignore_value.
27271 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27273         * string/bits/string3.h (__warn_memset_zero_len): Don't
27274         declare for gcc newer than 5.0.
27275         (memset): Don't test for zero-length __LEN for gcc newer than
27276         5.0.
27278 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27280         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27281         size_t for %zu format.
27283         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27284         difference, not %ju.
27286 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27288         * include/libc-internal.h (ignore_value): New macro.
27289         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27290         with ignore_value.
27292         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27293         definition.
27295         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27296         pthread_cleanup_push to void *.
27298         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27299         Undefine.
27301         [BZ #16619]
27302         [BZ #16740]
27303         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27304         instead of 1L << 52.
27306         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27307         * libio/bug-rewind2.c (do_test): Likewise.
27309         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27310         * debug/test-strcpy_chk-ifunc.c: Likewise.
27311         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27312         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27313         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27314         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27315         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27316         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27317         * Rules [$(multi-arch) = no] (tests): Do not filter out
27318         $(tests-ifunc).
27319         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27320         * debug/Makefile (tests-ifunc): Remove variable.
27321         (tests): Do not add $(tests-ifunc).
27322         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27323         (tests): Do not add $(tests-ifunc).
27324         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27325         [TEST_IFUNC]: Remove conditionals.
27326         * string/test-string.h (TEST_IFUNC): Remove macro.
27327         [TEST_IFUNC]: Remove conditionals.
27329         * string/test-strchr.c [!WIDE] (L): New macro.
27330         [WIDE] (L): Likewise.
27331         (check1): Use CHAR instead of char.  Use L on string and character
27332         constants.
27334 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27336         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27337         tests.
27338         * sysdeps/powerpc/bits/atomic.h
27339         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27340         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27341         (atomic_exchange_and_add_acq): Likewise.
27342         (atomic_exchange_and_add_rel): Likewise.
27343         * sysdeps/powerpc/powerpc32/bits/atomic.h
27344         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27345         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27346         * sysdeps/powerpc/powerpc64/bits/atomic.h
27347         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27348         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27350 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27352         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27353         Change synchronization of __sched_fifo_min_prio and
27354         __sched_fifo_max_prio.
27355         * nptl/pthread_mutexattr_getprioceiling.c
27356         (pthread_mutexattr_getprioceiling): Likewise.
27357         * nptl/pthread_mutexattr_setprioceiling.c
27358         (pthread_mutexattr_setprioceiling): Likewise.
27359         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27360         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27361         Likewise.
27363 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27365         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27366         void.
27368 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27370         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27371         third argument const.
27373 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27375         fnmatch: work around GCC compiler warning bug with uninit var
27376         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27377         This works around a bug with x86-64 GCC 4.9.2 and earlier
27378         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27379         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27380         used uninitialized in this function [-Wmaybe-uninitialized]".
27382 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27384         * posix/bug-regex31.c (main): Return RES not 0.
27386 2014-11-25  Anton Blanchard <anton@samba.org>
27388         * sysdeps/powerpc/bits/atomic.h
27389         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27391 2014-11-24  Sterling Augustine  <saugustine@google.com>
27393         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27395 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27397         [BZ #17608]
27398         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27400 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27402         [BZ #17633]
27403         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27404         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27405         variable.
27406         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27407         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27409 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27411         * string/strncpy.c (strncpy): Improve performance by using memset.
27413 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27415         * string/strcpy.c (strcpy):
27416         Improve performance by using strlen and memcpy.
27418 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27420         * string/strcoll_l.c (get_next_seq): __always_inline.
27421         * string/strcoll_l.c (do_compare): __always_inline.
27423 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27425         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27426         defined.
27427         * include/mqueue.h: Likewise.
27428         * include/stdlib.h: Likewise.
27430         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27431         (get_null_defines): Adjust.
27432         * sunrpc/Makefile: Adjust comment.
27433         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27434         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27435         (CFLAGS-interp.c): Likewise.
27436         (CFLAGS-ldconfig.c): Likewise.
27437         (CPPFLAGS-.os): Likewise.
27438         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27439         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27440         * extra-modules.mk (extra-modules.mk): Likewise.
27441         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27442         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27443         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27444         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27445         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27446         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27447         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27448         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27449         * iconvdata/Makefile (CPPFLAGS): Likewise.
27450         (cpp-srcs-left): Add libof for all iconvdata routines.
27451         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27452         * include/assert.h: Likewise.
27453         * include/ctype.h: Likewise.
27454         * include/errno.h: Likewise.
27455         * include/libc-symbols.h: Likewise.
27456         * include/math.h: Likewise.
27457         * include/netdb.h: Likewise.
27458         * include/resolv.h: Likewise.
27459         * include/stdio.h: Likewise.
27460         * include/stdlib.h: Likewise.
27461         * include/string.h: Likewise.
27462         * include/sys/stat.h: Likewise.
27463         * include/wctype.h: Likewise.
27464         * intl/l10nflist.c: Likewise.
27465         * libidn/idn-stub.c: Likewise.
27466         * libio/libioP.h: Likewise.
27467         * nptl/libc_multiple_threads.c: Likewise.
27468         * nptl/pthreadP.h: Likewise.
27469         * posix/regex_internal.h: Likewise.
27470         * resolv/res_hconf.c: Likewise.
27471         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27472         * sysdeps/arm/memmove.S: Likewise.
27473         * sysdeps/arm/sysdep.h: Likewise.
27474         * sysdeps/generic/_itoa.h: Likewise.
27475         * sysdeps/generic/symbol-hacks.h: Likewise.
27476         * sysdeps/gnu/errlist.awk: Likewise.
27477         * sysdeps/gnu/errlist.c: Likewise.
27478         * sysdeps/i386/i586/memcpy.S: Likewise.
27479         * sysdeps/i386/i586/memset.S: Likewise.
27480         * sysdeps/i386/i686/memcpy.S: Likewise.
27481         * sysdeps/i386/i686/memmove.S: Likewise.
27482         * sysdeps/i386/i686/mempcpy.S: Likewise.
27483         * sysdeps/i386/i686/memset.S: Likewise.
27484         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27485         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27486         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27487         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27488         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27489         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27490         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27491         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27492         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27493         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27494         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27495         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27496         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27497         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27498         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27499         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27500         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27501         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27502         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27503         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27504         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27505         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27506         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27507         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27508         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27509         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27510         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27511         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27512         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27513         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27514         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27515         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27516         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27517         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27518         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27519         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27520         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27521         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27522         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27523         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27524         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27525         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27526         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27527         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27528         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27529         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27530         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27531         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27532         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27533         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27534         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27535         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27536         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27537         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27538         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27539         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27540         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27541         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27542         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27543         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27544         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27545         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27546         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27547         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27548         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27549         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27550         * sysdeps/posix/closedir.c: Likewise.
27551         * sysdeps/posix/opendir.c: Likewise.
27552         * sysdeps/posix/readdir.c: Likewise.
27553         * sysdeps/posix/rewinddir.c: Likewise.
27554         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27555         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27556         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27557         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27558         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27559         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27560         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27561         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27562         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27563         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27564         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27565         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27566         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27567         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27568         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27569         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27570         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27571         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27572         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27573         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27574         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27575         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27576         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27577         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27578         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27579         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27580         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27581         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27582         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27583         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27584         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27585         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27586         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27587         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27588         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27589         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27590         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27591         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27592         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27593         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27594         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27595         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27596         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27597         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27598         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27599         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27600         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27601         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27602         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27603         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27604         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27605         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27606         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27607         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27608         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27609         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27610         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27611         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27612         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27613         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27614         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27615         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27616         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27617         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27618         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27619         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27620         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27621         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27622         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27623         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27624         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27625         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27626         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27627         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27628         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27629         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27630         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27631         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27632         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27633         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27634         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27635         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27636         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27637         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27638         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27639         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27640         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27641         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27642         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27643         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27644         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27645         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27646         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27647         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27648         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27649         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27650         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27651         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27652         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27653         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27654         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27655         * sysdeps/unix/alpha/sysdep.S: Likewise.
27656         * sysdeps/unix/alpha/sysdep.h: Likewise.
27657         * sysdeps/unix/make-syscalls.sh: Likewise.
27658         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27659         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27660         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27661         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27662         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27663         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27664         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27665         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27666         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27667         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27668         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27669         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27670         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27671         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27672         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27673         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27674         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27675         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27676         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27677         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27678         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27679         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27680         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27681         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27682         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27683         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27684         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27687         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27688         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27689         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27690         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27691         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27692         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27693         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27694         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27695         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27696         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27697         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27698         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27699         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27700         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27701         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27702         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27703         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27704         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27705         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27706         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27707         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27708         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27709         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27710         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27711         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27712         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27713         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27714         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27715         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27716         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27717         * sysdeps/x86_64/memcpy.S: Likewise.
27718         * sysdeps/x86_64/memmove.c: Likewise.
27719         * sysdeps/x86_64/memset.S: Likewise.
27720         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27721         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27722         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27723         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27724         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27725         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27726         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27727         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27728         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27729         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27730         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27731         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27732         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27733         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27734         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27735         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27736         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27737         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27738         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27739         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27740         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27741         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27742         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27743         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27744         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27745         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27746         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27747         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27748         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27749         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27750         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27751         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27752         * sysdeps/x86_64/strcmp.S: Likewise.
27754         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27756         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27757         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27758         * elf/rtld-Rules: Likewise.
27759         * elf/setup-vdso.h: Likewise.
27760         * include/assert.h: Likewise.
27761         * include/bits/stdlib-float.h: Likewise.
27762         * include/errno.h: Likewise.
27763         * include/sys/stat.h: Likewise.
27764         * include/unistd.h: Likewise.
27765         * sysdeps/aarch64/setjmp.S: Likewise.
27766         * sysdeps/alpha/setjmp.S: Likewise.
27767         * sysdeps/arm/__longjmp.S: Likewise.
27768         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27769         * sysdeps/arm/setjmp.S: Likewise.
27770         * sysdeps/arm/sysdep.h: Likewise.
27771         * sysdeps/generic/_itoa.h: Likewise.
27772         * sysdeps/generic/dl-sysdep.h: Likewise.
27773         * sysdeps/generic/ldsodefs.h: Likewise.
27774         * sysdeps/i386/dl-tls.h: Likewise.
27775         * sysdeps/i386/setjmp.S: Likewise.
27776         * sysdeps/m68k/setjmp.c: Likewise.
27777         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27778         * sysdeps/mach/hurd/opendir.c: Likewise.
27779         * sysdeps/posix/getcwd.c: Likewise.
27780         * sysdeps/posix/opendir.c: Likewise.
27781         * sysdeps/posix/profil.c: Likewise.
27782         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27783         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27784         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27785         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27786         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27787         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27788         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27789         * sysdeps/s390/dl-tls.h: Likewise.
27790         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27791         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27792         * sysdeps/sh/sh3/setjmp.S: Likewise.
27793         * sysdeps/sh/sh4/setjmp.S: Likewise.
27794         * sysdeps/unix/alpha/sysdep.h: Likewise.
27795         * sysdeps/unix/arm/sysdep.S: Likewise.
27796         * sysdeps/unix/i386/sysdep.S: Likewise.
27797         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27798         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27799         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27800         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27801         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27802         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27803         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27804         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27805         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27806         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27807         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27808         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27809         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27812         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27813         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27814         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27815         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27816         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27817         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27818         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27819         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27820         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27821         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27822         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27823         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27824         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27825         * sysdeps/x86_64/setjmp.S: Likewise.
27827         * include/math.h: Use IS_IN instead of IS_IN_libm.
27828         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27829         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27830         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27831         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27832         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27833         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27834         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27835         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27836         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27837         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27838         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27839         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27840         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27841         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27842         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27843         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27844         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27845         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27846         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27847         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27848         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27849         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27850         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27851         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27852         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27853         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27854         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27855         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27856         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27857         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27858         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27859         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27860         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27862         Likewise.
27863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27864         Likewise.
27865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27866         Likewise.
27867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27868         Likewise.
27869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27870         Likewise.
27871         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27872         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27873         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27874         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27875         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27876         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27882         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27883         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27884         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27885         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27886         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27887         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27888         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27889         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27890         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27891         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27892         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27893         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27894         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27895         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27897         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27899         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27900         * nptl/pthreadP.h: Likewise.
27901         * nptl_db/structs.def: Likewise.
27902         * sysdeps/arm/sysdep.h: Likewise.
27903         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27904         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27905         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27906         * sysdeps/unix/alpha/sysdep.h: Likewise.
27907         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27908         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27909         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27910         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27911         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27912         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27913         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27914         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27915         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27916         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27917         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27918         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27919         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27920         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27923         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27924         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27925         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27926         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27927         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27928         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27929         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27930         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27931         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27932         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27934         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27935         * nptl/pthreadP.h: Likewise.
27936         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27937         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27938         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27939         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27940         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27941         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27942         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27943         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27944         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27945         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27946         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27947         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27949         Likewise.
27950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27951         Likewise.
27952         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27953         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27954         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27955         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27956         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27957         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27958         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27959         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27961         * dlfcn/dladdr.c: Use IS_IN.
27962         * dlfcn/dladdr1.c: Likewise.
27963         * dlfcn/dlclose.c: Likewise.
27964         * dlfcn/dlerror.c: Likewise.
27965         * dlfcn/dlinfo.c: Likewise.
27966         * dlfcn/dlmopen.c: Likewise.
27967         * dlfcn/dlopen.c: Likewise.
27968         * dlfcn/dlsym.c: Likewise.
27969         * dlfcn/dlvsym.c: Likewise.
27971         * include/ifaddrs.h: Use IS_IN.
27972         * inet/check_pf.c: Likewise.
27973         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27974         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27976         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27977         IS_IN_ldconfig.
27978         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27979         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27981         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27982         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27983         IS_IN (libc).
27985         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27987         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27988         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27989         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27990         * include/libc-symbols.h (IS_IN_LIB): New macro.
27991         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27992         * include/netdb.h: Likewise.
27993         * include/stap-probe.h: Remove all uses of IN_LIB.
27995         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27996         instead of IN_MODULE.
27997         * include/libc-symbols.h (IN_MODULE): Define using
27998         MODULE_NAME.
27999         (PASTE_NAME, PASTE_NAME1): New macros.
28000         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28001         of IN_LIB.
28002         (STAP_PROBE_ASM): Likewise.
28004 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28006         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28007         __mach_init in dlopened libc.
28009 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
28011         * sysdeps/arm/preconfigure.ac: Delete EABI check.
28012         * sysdeps/arm/preconfigure: Regenerate.
28014 2014-11-21  Roland McGrath  <roland@hack.frob.com>
28016         * nptl/pthread_create.c (__pthread_create_2_1): Set
28017         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28018         when copying values from IATTR into PD.
28020 2014-11-21  Will Newton  <will.newton@linaro.org>
28021             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
28023         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28024         Refactor inline-asm.  Also add comment.
28026         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28027         ElfW macro instead of hardcoded Elf64 types.
28028         (la_aarch64_gnu_pltenter): Likewise.
28029         * sysdeps/aarch64/dl-machine.h
28030         (elf_machine_runtime_setup): Use ElfW(Addr).
28032         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28033         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28034         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28035         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28036         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28037         (R_AARCH64_TLS_DTPMOD64): Rename to ..
28038         (R_AARCH64_TLS_DTPMOD): This.
28039         (R_AARCH64_TLS_DTPREL64): Rename to ...
28040         (R_AARCH64_TLS_DTPREL): This.
28041         (R_AARCH64_TLS_TPREL64): Rename to ...
28042         (R_AARCH64_TLS_TPREL): This.
28043         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28044         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28045         R_AARCH64_TLS_TPREL64.
28046         (elf_machine_rela): Likewise.
28048 2014-11-21  Torvald Riegel  <triegel@redhat.com>
28050         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28051         by setting it to 0.  64b atomics are not supported currently.
28053 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28055         [BZ #16469]
28056         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28057         search domain names.
28059 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28061         [BZ #16469]
28062         * NEWS: Update.
28063         * resolv/res_query.c (__libc_res_nquerydomain): Retain
28064         trailing dot.
28065         * posix/tst-getaddrinfo5.c: New.
28066         * posix/Makefile (tests): Add it.
28068 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28070         [BZ #14498]
28071         * NEWS: Fixed.
28072         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28073         after parsing line but before break_if_match.
28074         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28075         if there is a protocol mismatch.
28077 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28079         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28080         because the potential race is on the user-supplied stream.
28082 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28084         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28085         string literal if not passed a buffer.
28086         * manual/job.texi (ctermid): Update reasoning, note deviation
28087         from posix, suggest mtasurace when not passed a buffer, for
28088         future non-preliminary safety notes.
28090 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28092         * manual/users.texi (cuserid): Fix MT-Safety note for the case
28093         of not passing it a buffer.
28094         Reported by Peng Haitao.
28096 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28098         * manual/Makefile ($(objpfx)stamp-summary): Require
28099         check-safety.sh to pass.
28100         * manual/check-safety.sh: Wish for verification that every
28101         @deftypefn and @deftypefun is followed by a @safety remark.
28103 2014-11-20  Roland McGrath  <roland@hack.frob.com>
28105         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28107         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28108         PTHREAD_CANCEL_ASYNCHRONOUS.
28109         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28110         send SIGCANCEL.
28112         * nptl/default-sched.h: New file.
28113         * sysdeps/unix/sysv/linux/default-sched.h: New file.
28114         * nptl/pthread_create.c: Include it.
28115         (__pthread_create_2_1): Use collect_default_sched instead of making
28116         Linux syscalls here directly.
28118 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28120         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28121         __pthread_once): Use C11 atomics.
28123 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28125         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28127 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28129         * include/atomic.h (__atomic_link_error, __atomic_check_size,
28130         atomic_thread_fence_acquire, atomic_thread_fence_release,
28131         atomic_thread_fence_seq_cst, atomic_load_relaxed,
28132         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28133         atomic_compare_exchange_weak_relaxed,
28134         atomic_compare_exchange_weak_acquire,
28135         atomic_compare_exchange_weak_release,
28136         atomic_exchange_acquire, atomic_exchange_release,
28137         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28138         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28139         atomic_fetch_and_acquire,
28140         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28142 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28144         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28145         USE_ATOMIC_COMPILER_BUILTINS): Define.
28146         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28147         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28148         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28149         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28150         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28151         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28152         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28153         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28154         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28155         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28156         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28157         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28158         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28159         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28160         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28161         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28162         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28163         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28164         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28165         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28166         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28167         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28168         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28169         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28170         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28171         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28172         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28173         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28174         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28175         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28176         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28177         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28178         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28179         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28180         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28181         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28182         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28183         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28184         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28185         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28187 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28189         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28190         the sched_priority value here.  It was already checked when the user
28191         called pthread_attr_setschedparam.
28193         * nptl/tst-bad-schedattr.c: New file.
28194         * nptl/Makefile (tests): Add it.
28196 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28197             Florian Weimer  <fweimer@redhat.com>
28198             Joseph Myers  <joseph@codesourcery.com>
28199             Adam Conrad  <adconrad@0c3.net>
28200             Andreas Schwab  <schwab@suse.de>
28201             Brooks  <bmoses@google.com>
28203         [BZ #17625]
28204         * wordexp-test.c (__dso_handle): Add prototype.
28205         (__register_atfork): Likewise.
28206         (__app_register_atfork): New function.
28207         (registered_forks): New global.
28208         (register_fork): New function.
28209         (test_case): Add 3 new tests for WRDE_CMDSUB.
28210         (main): Call __app_register_atfork.
28211         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28212         fork count is non-zero fail the test.
28213         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28214         is set.
28215         (parse_dollars): Remove check for WRDE_NOCMD.
28216         (parse_dquote): Likewise.
28218 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28220         * Makeconfig (built-modules): List non-library modules to be
28221         built.
28222         (module-cppflags): Include libc-modules.h for
28223         everything except shlib-versions.v.i.
28224         (CPPFLAGS): Use it.
28225         (before-compile): Add libc-modules.h.
28226         ($(common-objpfx)libc-modules.h,
28227         $(common-objpfx)libc-modules.stmp): New targets.
28228         (common-generated): Add libc-modules.h and libc-modules.stmp.
28229         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28230         * include/libc-symbols.h: Don't include libc-modules.h.
28231         * include/libc-modules.h: Remove file.
28232         * scripts/gen-libc-modules.awk: New script to generate
28233         libc-modules.h.
28234         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28235         Depend on libc-modules.stmp.
28237         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28239         * Makeconfig (in-module): Get value of libof set for the
28240         translation unit.
28241         (CPPFLAGS): Use $(in-module).
28242         * Makerules: Don't suffix routine names for nonlib.
28243         * include/libc-modules.h: New file.
28244         * include/libc-symbols.h: Include libc-modules.h
28245         (IS_IN): New macro to replace IS_IN_* macros.
28246         * elf/Makefile: Set libof-* for each routine.
28247         * elf/rtld-Rules: Likewise.
28248         * extra-modules.mk: Likewise.
28249         * iconv/Makefile: Likewise.
28250         * iconvdata/Makefile: Likewise.
28251         * locale/Makefile: Likewise.
28252         * malloc/Makefile: Likewise.
28253         * nss/Makefile: Likewise.
28254         * sysdeps/gnu/Makefile: Likewise.
28255         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28256         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28257         * sysdeps/s390/s390-64/Makefile: Likewise.
28258         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28259         CPPFLAGS for nscd instead of nonlib.
28261 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28263         * nptl/createthread.c: New file.
28265         * nptl/createthread.c: Moved ...
28266         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28268         * nptl/createthread.c: Add proper top-line comment.
28269         (do_clone): Folded into ...
28270         (create_thread): ... here.  Take new arguments STOPPED_START and
28271         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28272         increment __nptl_threads, do event-reporting logic, do
28273         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28274         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28275         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28276         just send SIGCANCEL.
28277         * nptl/pthread_create.c: Forward-declare create_thread before
28278         including createthread.c.
28279         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28280         declaration, and new macro START_THREAD_SELF to replace argument.
28281         Remove return statement.
28282         (report_thread_creation): New function.
28283         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28284         synchronization logic, and __nptl_nthreads increment here, around
28285         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28286         PD->parent_cancelhandling here, before create_thread.  When
28287         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28288         __deallocate_stack, and ENOMEM translation here.
28290 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28292         [BZ #17616]
28293         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28294         (mptwo): Rename to __mptwo.
28295         (__inv): Use __mptwo instead of mptwo.
28296         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28297         (mptwo): Rename to __mptwo.
28298         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28299         of mpone and __mptwo instead of mptwo.
28300         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28301         instead of mpone.
28302         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28303         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28304         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28305         of mpone and __mptwo instead of mptwo.
28306         (__mpranred): Use __mpone instead of mpone.
28307         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28308         variable.
28309         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28310         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28311         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28312         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28313         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28314         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28315         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28316         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28317         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28318         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28319         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28320         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28321         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28322         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28323         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28324         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28325         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28326         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28327         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28329 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28331         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28332         replace BSD Handler xref with BSD Signal Handling.
28334 2014-11-17  Richard Henderson  <rth@redhat.com>
28336         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28337         (_FP_PACK_RAW_2): Remove.
28338         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28339         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28340         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28341         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28342         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28343         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28344         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28345         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28346         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28347         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28348         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28349         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28350         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28351         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28352         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28353         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28355 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28357         * signal/signal.h [__USE_MISC]
28358         (struct sigvec): Remove type.
28359         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28360         (sigvec): Remove declaration.
28361         * sysdeps/posix/sigvec.c: Moved ...
28362         * signal/sigvec.c: ... here, replacing old file.
28363         (struct sigvec): New type, copied from old signal.h definition.
28364         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28365         (__sigvec): Convert definition to prototype.
28366         (sigvec): Replace weak_alias with compat_symbol.
28367         * signal/Versions (libc: GLIBC_2.21): New version set.
28368         * include/signal.h: Remove __sigvec declaration.
28369         * sysdeps/unix/bsd/sigvec.c: Remove file.
28370         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28371         * manual/signal.texi (BSD Handler): Remove subsection.
28372         Move siginterrupt up to ...
28373         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28374         (Blocking in BSD): Fold subsection into its parent.
28375         * NEWS: Mention sigvec removal.
28377 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28379         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28380         (DLA_FMS): Make definition conditional only on [__FMA4__].
28381         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28382         definition.
28384         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28385         Make definition conditional only on [PROF].
28386         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28387         definition.
28388         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28389         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28391         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28392         !__GNUC__].
28393         * include/signal.h (__sigpause): Move declaration above call to
28394         libc_hidden_proto.
28395         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28396         variable.
28397         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28398         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28400 2014-11-14  David S. Miller  <davem@davemloft.net>
28402         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28403         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28405 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28407         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28408         * configure: Regenerated.
28409         * manual/install.texi (Tools for Compilation): Document a
28410         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28411         compiler verified to work.
28412         * INSTALL: Regenerated.
28414         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28415         redeclare with asm name.
28416         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28417         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28418         including <string.h>.
28419         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28420         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28421         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28422         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28423         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28424         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28425         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28427 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28429         * stdlib/strtol.c (__strtol): Use prototype definition.
28431         [BZ #17594]
28432         * stdlib/strtol.c (SYM__): New macro.
28433         (SYM__1): Likewise.
28434         (__strtol): Likewise.
28435         (strtol): Rename to __strtol and define as weak alias of
28436         __strtol.  Use libc_hidden_weak.
28438 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28440         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28441         Use numbered labels in inline assembly.
28443 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28445         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28446         Add setjmp LIBC_PROBE.
28447         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28448         Likewise.
28449         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28450         Add longjmp, longjmp_target LIBC_PROBE.
28451         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28452         Likewise.
28454 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28456         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28457         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28458         to get rid of unused variable warning.
28460 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28462         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28463         Check for unwind_backtrace ==  NULL only in SHARED case.
28464         (__backchain_backtrace): Compile only in SHARED case.
28465         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28466         Likewise.
28467         (__backchain_backtrace): Declare as static.
28469 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28471         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28472         (__libc_multiple_threads_ptr): Variable moved ...
28473         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28475 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28477         * conform/GlibcConform.pm: New file.
28478         * conform/conformtest.pl: Use GlibcConform module.
28479         * conform/linknamespace.pl: New file.
28480         * conform/list-header-symbols.pl: Likewise.
28481         * conform/Makefile (linknamespace-symlists-base): New variable.
28482         (linknamespace-symlists-tests): Likewise.
28483         (linknamespace-header-base): Likewise.
28484         (linknamespace-header-tests): Likewise.
28485         (tests-special): Add new tests.
28486         ($(linknamespace-symlists-tests)): New rule.
28487         (linknamespace-libs): New variable.
28488         ($(objpfx)symlist-stdlibs): New rule.
28489         ($(linknamespace-header-tests)): Likewise.
28490         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28491         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28492         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28493         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28494         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28495         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28496         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28497         (test-xfail-ISO/math.h/linknamespace): Likewise.
28498         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28499         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28500         (test-xfail-ISO/time.h/linknamespace): Likewise.
28501         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28502         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28503         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28504         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28505         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28506         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28507         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28508         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28509         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28510         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28511         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28512         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28513         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28514         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28515         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28516         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28517         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28518         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28519         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28520         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28521         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28522         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28523         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28524         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28525         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28526         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28527         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28528         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28529         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28530         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28531         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28532         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28533         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28534         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28535         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28536         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28537         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28538         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28539         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28540         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28541         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28542         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28543         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28544         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28545         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28546         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28547         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28548         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28549         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28550         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28551         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28552         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28553         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28554         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28555         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28556         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28557         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28558         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28559         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28560         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28561         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28562         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28563         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28564         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28565         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28566         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28567         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28568         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28569         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28570         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28571         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28572         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28573         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28574         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28575         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28576         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28577         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28578         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28579         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28580         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28581         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28582         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28583         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28584         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28585         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28586         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28587         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28588         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28589         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28590         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28591         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28592         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28593         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28594         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28595         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28596         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28597         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28598         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28599         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28600         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28601         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28602         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28603         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28604         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28605         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28606         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28607         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28608         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28609         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28610         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28611         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28612         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28613         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28614         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28615         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28616         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28617         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28618         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28619         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28620         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28621         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28622         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28623         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28624         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28625         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28626         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28627         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28628         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28629         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28630         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28631         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28632         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28633         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28634         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28635         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28636         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28637         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28638         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28639         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28640         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28641         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28642         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28643         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28644         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28645         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28646         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28647         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28648         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28649         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28650         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28652         [BZ #17589]
28653         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28654         of fgets_unlocked.
28656         [BZ #17585]
28657         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28658         (memmem): Rename to __memmem and define as weak alias of
28659         __memmem.  Use libc_hidden_weak.
28660         (__memmem): Use libc_hidden_def.
28661         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28662         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28663         memmem.
28665         [BZ #17582]
28666         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28667         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28668         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28669         and define as weak alias of __fgets_unlocked.  Use
28670         libc_hidden_weak.
28671         (__fgets_unlocked): Use libc_hidden_def.
28672         * include/stdio.h (__fgets_unlocked): Declare.  Use
28673         libc_hidden_proto.
28674         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28675         __fgets_unlocked instead of fgets_unlocked.
28676         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28677         (GET_NPROCS_CONF_PARSER): Likewise.
28678         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28679         (GET_NPROCS_CONF_PARSER): Likewise.
28681         [BZ #17574]
28682         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28683         weak alias of __wmemset.  Use libc_hidden_weak.
28684         (__wmemset): Use libc_hidden_def.
28685         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28686         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28687         of wmemset.
28689         [BZ #17573]
28690         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28691         with asm name __mempcpy.
28692         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28694         [BZ #17572]
28695         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28696         and define as weak alias of __rawmemchr.
28697         (__rawmemchr): Do not define as strong alias of rawmemchr.
28699         [BZ #17571]
28700         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28701         alias of __qsort_r.
28702         (qsort): Call __qsort_r instead of qsort_r.
28703         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28704         (__qsort_r): Declare.  Call libc_hidden_proto.
28705         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28706         instead of qsort_r.
28707         * nscd/gai.c (__qsort_r): Define to qsort_r.
28708         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28709         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28710         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28712         [BZ #17570]
28713         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28714         define as weak alias of __malloc_info.
28716         [BZ #17584]
28717         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28718         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28719         (__rewinddir): Use libc_hidden_def.
28720         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28721         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28722         (__rewinddir): Use libc_hidden_def.
28723         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28724         weak alias of __rewinddir.  Don't use libc_hidden_def.
28725         (__rewinddir): Use libc_hidden_def.
28726         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28727         (__rewinddir): Use libc_hidden_proto.
28728         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28729         rewinddir.
28730         (__getcwd): Use __rewinddir instead of rewinddir.
28732         [BZ #17583]
28733         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28734         alias of __fileno.  Use libc_hidden_weak.
28735         (__fileno): Use libc_hidden_def.
28736         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28737         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28738         alias of __ftello.
28739         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28740         __ftello.
28741         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28742         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28743         libc_hidden_def.
28744         (fread_unlocked): Don't use libc_hidden_ver.
28745         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28746         and define as weak alias of __fread_unlocked.  Don't use
28747         libc_hidden_def.
28748         (__fread_unlocked): Use libc_hidden_def.
28749         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28750         (ftello): Don't use libc_hidden_proto.
28751         (__ftello): Declare.  Use libc_hidden_proto.
28752         (fread_unlocked): Don't use libc_hidden_proto.
28753         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28754         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28755         and __ftello instead of fileno, fread_unlocked and ftello.
28757 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28759         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28760         GOT12.
28761         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28762         Likewise.
28763         (_dl_start_user): Likewise.
28764         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28766 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28767             Siddhesh Poyarekar  <siddhesh@redhat.com>
28769         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28770         Move argv and envp down instead of moving argc up.
28771         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28773 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28775         [BZ #17506]
28776         * test-skeleton.c (main): Return successful if one of
28777         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28778         * string/tst-strcoll-overflow.c: Define expected status.
28780 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28782         [BZ #17475]
28783         * locale/iso-639.def: Define Bhili and Tulu language codes.
28785 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28787         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28789 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28791         [BZ #17555]
28792         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28794 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28796         * configure.ac: Updated check of minimal required version to
28797         2.22.
28798         * manual/install.texi (Tools for Compilation): Updated version
28799         number.
28800         * configure: Regenerated.
28801         * INSTALL: Likewise.
28803 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28805         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28806         __tls_get_addr.
28808 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28810         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28811         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28812         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28813         libc_hidden_weak.
28814         (waitpid): Define as alias of __waitpid.
28815         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28816         __waitpid.
28817         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28818         libc_hidden_weak.
28819         (waitpid): Define as alias of __waitpid.
28820         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28821         __libc_waitpid alias.
28822         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28823         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28824         Likewise.
28825         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28826         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28827         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28828         alias.
28829         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28830         __waitpid.
28831         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28832         libc_hidden_weak.
28833         (waitpid): Define as alias of __waitpid.
28835 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28837         * manual/llio.texi: Add comment that write safety has been
28838         fixed in Linux.
28840         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28841         (localplt-build-dso): Add elf/ld.so.
28842         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28843         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28844         and free for ld.so.
28845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28846         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28848         Likewise.
28849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28850         Likewise.
28851         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28852         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28853         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28854         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28855         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28856         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28857         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28858         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28859         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28860         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28861         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28863 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28865         [BZ #14132]
28866         * include/libc-symbols.h (INTUSE): Remove macro.
28867         (INTDEF): Likewise.
28868         (INTVARDEF): Likewise.
28869         (_INTVARDEF): Likewise.
28870         (INTDEF2): Likewise.
28871         (INTVARDEF2): Likewise.
28872         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28873         rtld_hidden_def instead of INTVARDEF.
28874         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28875         (_dl_starting_up_internal): Remove declaration.
28876         (_dl_starting_up): Use rtld_hidden_proto.
28877         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28878         declaration.
28879         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28880         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28881         _dl_starting_up.
28882         * elf/dl-writev.h (_dl_writev): Likewise.
28883         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28884         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28885         _dl_starting_up_internal.
28887 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28889         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28890         test-skeleton.c.
28892 2014-11-05  Will Newton  <will.newton@linaro.org>
28894         * benchtests/Makefile: (bench-malloc): Add malloc thread
28895         scalability benchmark.
28896         * benchtests/bench-malloc-threads.c: New file.
28898 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28900         * sysdeps/aarch64/strchrnul.S: New file.
28902 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28904         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28905         definition.
28906         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28907         Likwise.
28908         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28909         Likewise.
28910         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28911         Likewise.
28912         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28913         Likewise.
28914         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28915         Likewise.
28917 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28919         * catgets/test-gencat.c: Use test-skeleton.c.
28920         * catgets/tst-catgets.c: Likewise.
28921         * csu/tst-empty.c: Likewise.
28922         * elf/tst-audit2.c: Likewise.
28923         * elf/tst-global1.c: Likewise.
28924         * elf/tst-pathopt.c: Likewise.
28925         * elf/tst-piemod1.c: Likewise.
28926         * elf/tst-tls10.c: Likewise.
28927         * elf/tst-tls11.c: Likewise.
28928         * elf/tst-tls12.c: Likewise.
28929         * gnulib/tst-gcc.c: Likewise.
28930         * iconvdata/tst-e2big.c: Likewise.
28931         * iconvdata/tst-loading.c: Likewise.
28932         * iconv/tst-iconv1.c: Likewise.
28933         * iconv/tst-iconv2.c: Likewise.
28934         * inet/test-inet6_opt.c: Likewise.
28935         * inet/tst-gethnm.c: Likewise.
28936         * inet/tst-network.c: Likewise.
28937         * inet/tst-ntoa.c: Likewise.
28938         * intl/tst-codeset.c: Likewise.
28939         * intl/tst-gettext2.c: Likewise.
28940         * intl/tst-gettext3.c: Likewise.
28941         * intl/tst-ngettext.c: Likewise.
28942         * intl/tst-translit.c: Likewise.
28943         * io/test-stat.c: Likewise.
28944         * libio/test-fmemopen.c: Likewise.
28945         * libio/tst-freopen.c: Likewise.
28946         * libio/tst-sscanf.c: Likewise.
28947         * libio/tst-ungetwc1.c: Likewise.
28948         * libio/tst-ungetwc2.c: Likewise.
28949         * libio/tst-widetext.c: Likewise.
28950         * localedata/tst-ctype.c: Likewise.
28951         * localedata/tst-digits.c: Likewise.
28952         * localedata/tst-leaks.c: Likewise.
28953         * localedata/tst-mbswcs1.c: Likewise.
28954         * localedata/tst-mbswcs2.c: Likewise.
28955         * localedata/tst-mbswcs3.c: Likewise.
28956         * localedata/tst-mbswcs4.c: Likewise.
28957         * localedata/tst-mbswcs5.c: Likewise.
28958         * localedata/tst-setlocale.c: Likewise.
28959         * localedata/tst-trans.c: Likewise.
28960         * localedata/tst-wctype.c: Likewise.
28961         * localedata/tst-xlocale1.c: Likewise.
28962         * login/tst-grantpt.c: Likewise.
28963         * malloc/tst-calloc.c: Likewise.
28964         * malloc/tst-malloc.c: Likewise.
28965         * malloc/tst-mallocstate.c: Likewise.
28966         * malloc/tst-mcheck.c: Likewise.
28967         * malloc/tst-mtrace.c: Likewise.
28968         * malloc/tst-obstack.c: Likewise.
28969         * math/atest-exp2.c: Likewise.
28970         * math/atest-exp.c: Likewise.
28971         * math/atest-sincos.c: Likewise.
28972         * math/test-matherr.c: Likewise.
28973         * math/test-misc.c: Likewise.
28974         * math/test-powl.c: Likewise.
28975         * math/tst-definitions.c: Likewise.
28976         * misc/tst-dirname.c: Likewise.
28977         * misc/tst-efgcvt.c: Likewise.
28978         * misc/tst-fdset.c: Likewise.
28979         * misc/tst-hsearch.c: Likewise.
28980         * misc/tst-mntent2.c: Likewise.
28981         * nptl/tst-sem7.c: Likewise.
28982         * nptl/tst-sem8.c: Likewise.
28983         * nptl/tst-sem9.c: Likewise.
28984         * nss/test-netdb.c: Likewise.
28985         * posix/tst-fnmatch.c: Likewise.
28986         * posix/tst-getlogin.c: Likewise.
28987         * posix/tst-gnuglob.c: Likewise.
28988         * posix/tst-mmap.c: Likewise.
28989         * pwd/tst-getpw.c: Likewise.
28990         * resolv/tst-inet_ntop.c: Likewise.
28991         * rt/tst-timer.c: Likewise.
28992         * stdio-common/test-fseek.c: Likewise.
28993         * stdio-common/test-popen.c: Likewise.
28994         * stdio-common/test-vfprintf.c: Likewise.
28995         * stdio-common/tst-cookie.c: Likewise.
28996         * stdio-common/tst-fileno.c: Likewise.
28997         * stdio-common/tst-gets.c: Likewise.
28998         * stdio-common/tst-obprintf.c: Likewise.
28999         * stdio-common/tst-perror.c: Likewise.
29000         * stdio-common/tst-sprintf2.c: Likewise.
29001         * stdio-common/tst-sprintf3.c: Likewise.
29002         * stdio-common/tst-sprintf.c: Likewise.
29003         * stdio-common/tst-swprintf.c: Likewise.
29004         * stdio-common/tst-tmpnam.c: Likewise.
29005         * stdio-common/tst-unbputc.c: Likewise.
29006         * stdio-common/tst-wc-printf.c: Likewise.
29007         * stdlib/tst-environ.c: Likewise.
29008         * stdlib/tst-fmtmsg.c: Likewise.
29009         * stdlib/tst-limits.c: Likewise.
29010         * stdlib/tst-rand48-2.c: Likewise.
29011         * stdlib/tst-rand48.c: Likewise.
29012         * stdlib/tst-random2.c: Likewise.
29013         * stdlib/tst-random.c: Likewise.
29014         * stdlib/tst-strtol.c: Likewise.
29015         * stdlib/tst-strtoll.c: Likewise.
29016         * stdlib/tst-tls-atexit.c: Likewise.
29017         * stdlib/tst-xpg-basename.c: Likewise.
29018         * string/test-ffs.c: Likewise.
29019         * string/tst-bswap.c: Likewise.
29020         * string/tst-inlcall.c: Likewise.
29021         * string/tst-strtok.c: Likewise.
29022         * string/tst-strxfrm.c: Likewise.
29023         * sysdeps/x86_64/tst-audit10.c: Likewise.
29024         * sysdeps/x86_64/tst-audit3.c: Likewise.
29025         * sysdeps/x86_64/tst-audit4.c: Likewise.
29026         * sysdeps/x86_64/tst-audit5.c: Likewise.
29027         * time/tst-ftime_l.c: Likewise.
29028         * time/tst-getdate.c: Likewise.
29029         * time/tst-mktime3.c: Likewise.
29030         * time/tst-mktime.c: Likewise.
29031         * time/tst-posixtz.c: Likewise.
29032         * time/tst-strptime2.c: Likewise.
29033         * time/tst-strptime3.c: Likewise.
29034         * wcsmbs/tst-btowc.c: Likewise.
29035         * wcsmbs/tst-mbrtowc.c: Likewise.
29036         * wcsmbs/tst-mbsrtowcs.c: Likewise.
29037         * wcsmbs/tst-wchar-h.c: Likewise.
29038         * wcsmbs/tst-wcpncpy.c: Likewise.
29039         * wcsmbs/tst-wcrtomb.c: Likewise.
29040         * wcsmbs/tst-wcsnlen.c: Likewise.
29041         * wcsmbs/tst-wcstof.c: Likewise.
29043 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
29045         [BZ #14132]
29046         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29047         INTDEF.
29048         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29049         declaration.
29050         (_dl_mcount): Use rtld_hidden_proto.
29051         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29052         _dl_mcount.
29053         * elf/rtld.c (_rtld_global_ro): Likewise.
29055         [BZ #14132]
29056         * elf/dl-init.c (_dl_init): Don't use INTDEF.
29057         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29058         of _dl_init_internal.
29059         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29060         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29061         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29062         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29063         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29064         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29065         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29066         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29067         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29068         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29069         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29070         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29071         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29072         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29073         * sysdeps/tile/dl-start.S (_start): Likewise.
29074         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29075         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29077         [BZ #14132]
29078         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29079         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29080         (rtld_progname): Make macro definition unconditional.
29081         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29082         INTDEF.
29083         (dlmopen_doit): Do not use INTUSE with _dl_argv.
29084         (dl_main): Likewise.
29085         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29086         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29087         instead of _dl_argv_internal.
29088         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29089         __GI__dl_argv instead of INTUSE(_dl_argv).
29090         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29091         __GI__dl_argv instead of _dl_argv_internal.
29093         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29094         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29095         macro.
29096         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29097         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29098         New macro.
29099         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29100         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29101         macro.
29102         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29103         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29105 2014-11-04  Andreas Schwab  <schwab@suse.de>
29107         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29109 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29111         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29112         mtvsrd instruction in binary form.
29114 2014-11-03  Andreas Schwab  <schwab@suse.de>
29116         [BZ #17522]
29117         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29118         for less than MB_LEN_MAX use a local buffer of that size.
29119         * libio/tst-fputws.c: New file.
29120         * libio/Makefile (tests): Add tst-fputws.
29122 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
29124         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29125         the size of the fpu_fr.fpu_dregs[] array.
29127 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
29129         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29130         (__nanosleep): Do not define as alias.
29131         (nanosleep): Define as alias of __nanosleep.
29132         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29133         __libc_nanosleep name.
29135 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29137         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29138         install.texi in comment.
29140 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29142         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29143         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29144         ... add here and use lwsync or sync ...
29145         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29146         ... and add here using lwsync.
29148 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29150         * elf/dl-machine-reject-phdr.h: New file.
29151         * elf/dl-load.c: #include that.
29152         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29153         if that returned true.
29155 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29157         [BZ #17496]
29158         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29159         gen-as-const-headers chunk.  Add a big scare comment after the last
29160         safe place to touch before-compile.
29162 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29164         * manual/install.texi (Tools for Compilation): Update autoconf
29165         version requirements.
29166         * INSTALL: Regenerated.
29168         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29169         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29170         (__libc_pselect): Likewise.
29172         [BZ #14138]
29173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29178 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29180         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29181         correct barrier instruction.
29182         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29183         Likewise.
29184         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29185         Likewise.
29187 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29189         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29190         after defining inlines.  Instead, just use parens to defeat macro
29191         expansion of __isctype in its declaration.
29193 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29195         * include/sys/uio.h (__libc_readv): Remove declaration.
29196         (__libc_writev): Likewise.
29197         * misc/readv.c (__libc_readv): Rename to __readv.
29198         (__readv): Do not define as alias.
29199         (readv): Define as alias of __readv.
29200         * misc/writev.c (__libc_writev): Rename to __writev.
29201         (__writev): Do not define as alias.
29202         (writev): Define as alias of __writev.
29203         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29204         (__readv): Do not define as alias.
29205         (readv): Define unconditionally as alias of __readv.
29206         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29207         (__writev): Do not define as alias.
29208         (writev): Define unconditionally as alias of __writev.
29209         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29210         name.
29211         (writev): Do not define __libc_writev name.
29213 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29215         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29216         (convert_charseq): New function, broken out of ...
29217         (use_from_charmap): ... here.  Call it.
29218         (use_to_charmap): Use convert_charseq and free instead of duplicating
29219         its code with a variable-length stack struct.
29221 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29223         * include/fcntl.h (__libc_creat): Remove declaration.
29224         * io/creat.c (__libc_creat): Rename to creat.
29225         (creat): Do not define as alias.
29226         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29227         of creat instead of __libc_creat.
29228         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29229         to creat.
29230         (creat): Do not define as alias.
29231         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29232         __libc_creat.
29233         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29234         __libc_creat name.
29235         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29236         Likewise.
29238 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29240         * manual/llio.texi: Add comments discussing why write() may be
29241         considered MT-unsafe on Linux.
29243 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29245         * dl-load.c (local_strdup): Remove.
29246         (expand_dynamic_string_token): Use __strdup.
29247         (decompose_rpath): Likewise.
29248         (_dl_map_object): Likewise.
29250 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29252         [BZ #14132]
29253         * sysdeps/generic/unwind-dw2-fde.c
29254         (__register_frame_info_bases_internal): Do not declare.
29255         (__register_frame_info_table_bases_internal): Likewise.
29256         (__deregister_frame_info_bases_internal): Likewise.
29257         (__register_frame_info_bases): Declare and use hidden_proto before
29258         definition.  Use hidden_def instead of INTDEF.
29259         (__register_frame_info_table_bases): Likewise.
29260         (__deregister_frame_info_bases): Likewise.
29261         (__register_frame_info): Do not use INTUSE.
29262         (__register_frame): Likewise.
29263         (__register_frame_info_table): Likewise.
29264         (__register_frame_table): Likewise.
29265         (__deregister_frame_info): Likewise.
29266         (__deregister_frame): Likewise.
29268 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29270         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29271         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29272         not undefine.
29273         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29274         Likewise.
29275         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29276         Likewise.
29278 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29280         [BZ #14138]
29281         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29282         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29283         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29284         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29285         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29286         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29287         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29288         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29289         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29290         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29291         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29292         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29293         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29294         syscall.
29295         (setfsuid): Likewise.
29296         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29297         (setfsuid): Likewise.
29298         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29299         (setfsuid): Likewise.
29300         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29301         Likewise.
29302         (setfsuid): Likewise.
29303         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29304         (setfsuid): Likewise.
29305         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29306         Likewise.
29307         (setfsuid): Likewise.
29309 2014-10-27  Andreas Schwab  <schwab@suse.de>
29311         [BZ #17501]
29312         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29313         check for Slow_SSE4_2 feature bit.
29314         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29315         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29316         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29317         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29319 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29321         * configure.ac: Validate compiler version with a empirical test of
29322         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29323         $CC -v output.
29324         * configure: Regenerated.
29326         * inet/htons.c (htons): Prototypify.
29327         * inet/htonl.c (htonl): Likewise.
29329 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29331         * string/strncat.c (strncat): Improve performance by using strlen.
29333 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29335         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29337 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29339         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29340         Call libc_fetestexcept_aarch64.
29342 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29344         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29345         Call libc_feholdexcept_aarch64.
29347 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29349         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29350         Call get_rounding_mode.
29352 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29354         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29355         Simplify logic.
29357 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29359         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29360         Simplify logic.
29362 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29364         [BZ #14138]
29365         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29366         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29367         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29368         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29369         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29370         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29371         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29372         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29373         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29374         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29375         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29376         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29377         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29378         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29379         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29380         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29381         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29382         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29383         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29384         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29385         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29386         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29387         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29388         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29389         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29390         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29391         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29392         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29393         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29394         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29395         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29396         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29397         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29398         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29399         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29400         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29401         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29402         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29403         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29404         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29405         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29406         syscall.
29407         (geteuid): Likewise.
29408         (getgid): Likewise.
29409         (getuid): Likewise.
29410         (getresgid): Likewise.
29411         (getresuid): Likewise.
29412         (getgroups): Likewise.
29413         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29414         (geteuid): Likewise.
29415         (getgid): Likewise.
29416         (getuid): Likewise.
29417         (getresgid): Likewise.
29418         (getresuid): Likewise.
29419         (getgroups): Likewise.
29420         * sysdeps/unix/sysv/linux/m68k/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/s390/s390-32/syscalls.list (getegid):
29428         Likewise.
29429         (geteuid): Likewise.
29430         (getgid): Likewise.
29431         (getuid): Likewise.
29432         (getresgid): Likewise.
29433         (getresuid): Likewise.
29434         (getgroups): Likewise.
29435         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29436         (geteuid): Likewise.
29437         (getgid): Likewise.
29438         (getuid): Likewise.
29439         (getresgid): Likewise.
29440         (getresuid): Likewise.
29441         (getgroups): Likewise.
29442         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29443         Likewise.
29444         (geteuid): Likewise.
29445         (getgid): Likewise.
29446         (getuid): Likewise.
29447         (getgroups): Likewise.
29449         [BZ #14138]
29450         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29451         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29452         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29453         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29454         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29455         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29456         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29457         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29458         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29459         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29460         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29461         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29462         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29463         __chown.
29464         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29465         (lchown): Likewise.
29466         (fchown): Likewise.
29467         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29468         Likewise.
29469         (lchown): Likewise.
29470         (fchown): Likewise.
29471         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29472         (lchown): Likewise.
29473         (fchown): Likewise.
29474         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29475         Likewise.
29476         (lchown): Likewise.
29477         (fchown): Likewise.
29479 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29481         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29482         Simplify logic.
29484 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29486         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29487         Cleanup logic.
29489 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29491         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29492         Remove unused include.
29494 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29496         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29497         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29498         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29499         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29501 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29502             Helge Deller <deller@gmx.de>
29504         [BZ #17508]
29505         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29506         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29507         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29509 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29511         [BZ #14132]
29512         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29513         Remove macro definition.
29514         (__ashrdi3_v_glibc20): Likewise.
29515         (__lshrdi3_v_glibc20): Likewise.
29516         (__cmpdi2_v_glibc20): Likewise.
29517         (__ucmpdi2_v_glibc20): Likewise.
29518         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29519         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29520         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29521         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29522         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29523         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29525 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29527         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29528         old GNU extension [0] syntax.
29529         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29530         alloca rather than an array member with variable length.
29531         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29532         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29533         (parse_opt): ... here.  Likewise use alloca there.
29534         Validate the -i argument before checking for rootness.
29535         (send_shutdown): New function, broken out of ...
29536         (parse_opt): ... here.
29538 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29540         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29541         macro to get at the _rt_local_ro field.
29542         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29543         ([PIC] case) or _dl_hwcap ([!PIC] case).
29544         * sysdeps/arm/setjmp.S: Likewise.
29546         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29547         * sysdeps/arm/configure.ac: New check to define it.
29548         * sysdeps/arm/configure: Regenerated.
29549         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29550         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29551         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29552         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29553         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29554         Use move/movt pair instead of a load.
29555         (LDST_GLOBAL): Macro removed.
29556         (LDR_GLOBAL): New macro replaces it.
29557         (LDR_HIDDEN): New macro.
29558         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29559         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29561         * setjmp/tst-setjmp-static.c: New file.
29562         * setjmp/Makefile (tests): Add it.
29563         (tests-static): New variable.
29565 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29567         [BZ #17485]
29568         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29570 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29572         [BZ #14132]
29573         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29575 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29577         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29579 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29581         * io/fts.c (dirent_not_directory): New function.
29582         (fts_build): Call it.
29584 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29586         * nptl/version.c (__nptl_main): Use normal __write rather than
29587         INTERNAL_SYSCALL.
29588         (banner): Update copyright years.
29590         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29591         gettimeofday.
29592         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29593         * nptl/pthread_cond_timedwait.c: Likewise.
29594         * nptl/pthread_mutex_timedlock.c: Likewise.
29595         * nptl/sem_timedwait.c: Likewise.
29597         * sysdeps/nptl/bits/libc-lock.h
29598         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29599         (__libc_lock_init_recursive): Return void, not 0.
29600         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29601         (__libc_rwlock_init): Likewise.
29602         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29604 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29606         [BZ #15215]
29607         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29608         (__pthread_once_slow): ... here.
29609         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29610         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29612 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29614         [BZ #15215]
29615         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29616         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29617         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29618         * nptl/pthread_once.c (__pthread_once): Likewise.
29619         Update comments.
29621 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29623         [BZ #14138]
29624         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29625         name.
29626         (writev): Use __libc_writev as strong name.
29627         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29628         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29630 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29632         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29634         * sysdeps/i386/nptl/tls.h
29635         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29636         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29637         New macros.
29638         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29639         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29640         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29641         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29642         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29643         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29645         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29646         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29647         on [__NR_futex].
29648         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29649         broken out of ...
29650         (__pthread_mutex_init): ... here.  Call it.
29651         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29652         Conditionalize PI cases on [__NR_futex].
29653         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29654         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29655         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29657         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29658         conditional on [SIGSETXID].
29659         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29660         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29661         is defined.  Likewise for SIGSETXID.
29662         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29663         Conditionalize definitions on [SIGSETXID].
29664         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29665         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29666         unblocking on [SIGCANCEL].
29668         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29669         [__NR_set_robust_list].
29671 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29673         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29674         (do_compare): Likewise.
29676 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29678         [BZ #15884]
29679         * string/strcoll_l.c: Don't include stdio.h.
29680         (coll_seq): Remove members idxarr and rulearr.
29681         (get_next_seq_cached): Remove function.
29682         (get_next_seq): Likewise.
29683         (get_next_seq_nocache): Rename to get_next_seq.
29684         (do_compare): Remove function.
29685         (do_compare_nocache): Rename to do_compare.
29686         (STRCOLL): Remove weight and rules cache.
29688 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29690         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29691         * sysdeps/arm/sfp-machine.h: ... to here.
29692         * sysdeps/arm/Implies: Remove arm/soft-fp.
29694 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29696         * conform/data/sys/utsname.h-data (*_t): Allow.
29697         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29698         [POSIX] (WEXITED): Do not expect constant.
29699         [POSIX] (WSTOPPED): Likewise.
29700         [POSIX] (WNOHANG): Likewise.
29701         [POSIX] (WNOWAIT): Likewise.
29702         [POSIX] (siginfo_t): Do not expect type or elements.
29703         [POSIX] (pid_t): Do not expect type.
29704         [POSIX] (signal.h): Do not allow header.
29705         [POSIX] (sys/resource.h): Likewise.
29706         [POSIX] (si_*): Do not allow pattern.
29707         [POSIX] (W*): Likewise.
29708         [POSIX] (P_*): Likewise.
29709         [POSIX] (BUS_*): Likewise.
29710         [POSIX] (CLD_*): Likewise.
29711         [POSIX] (FPE_*): Likewise.
29712         [POSIX] (ILL_*): Likewise.
29713         [POSIX] (POLL_*): Likewise.
29714         [POSIX] (SEGV_*): Likewise.
29715         [POSIX] (SI_*): Likewise.
29716         [POSIX] (TRAP_*): Likewise.
29717         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29718         variable.
29720 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29722         [BZ #12926]
29723         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29724         infinite loop when __recvmsg returns 0.
29726 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29728         * CANCEL-FCT-WAIVE: Remove file.
29729         * CANCEL-FILE-WAIVE: Likewise.
29731         [BZ #14132]
29732         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29733         instead of INTVARDEF.
29734         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29735         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29736         rtld_hidden_data_def instead of INTVARDEF.
29737         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29738         * elf/dl-deps.c (expand_dst): Likewise.
29739         * elf/dl-load.c (_dl_dst_count): Likewise.
29740         (_dl_dst_substitute): Likewise.
29741         (decompose_rpath): Likewise.
29742         (_dl_init_paths): Likewise.
29743         (open_path): Likewise.
29744         (_dl_map_object): Likewise.
29745         * elf/rtld.c (dl_main): Likewise.
29746         (process_dl_audit): Likewise.
29747         (process_envvars): Likewise.
29748         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29749         Remove declaration.
29750         (__libc_enable_secure): Use rtld_hidden_proto.
29752 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29754         * elf/dl-load.c
29755         (add_path): New function broken out of _dl_rtld_di_serinfo.
29756         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29758 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29760         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29761         parentheses around macro arguments.
29762         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29763         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29764         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29765         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29766         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29767         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29768         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29769         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29770         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29771         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29772         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29773         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29774         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29775         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29776         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29777         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29778         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29779         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29780         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29781         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29782         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29783         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29784         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29785         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29786         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29787         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29788         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29789         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29790         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29791         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29792         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29793         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29794         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29795         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29796         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29797         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29798         Likewise.
29799         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29800         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29801         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29802         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29803         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29804         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29805         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29806         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29807         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29808         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29809         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29810         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29811         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29812         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29813         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29814         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29815         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29816         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29817         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29818         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29819         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29820         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29821         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29822         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29823         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29824         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29825         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29826         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29827         (_FP_FRAC_SRS_1): Likewise.
29828         (_FP_FRAC_CLZ_1): Likewise.
29829         (_FP_MUL_MEAT_1_imm): Likewise.
29830         (_FP_MUL_MEAT_1_wide): Likewise.
29831         (_FP_MUL_MEAT_1_hard): Likewise.
29832         (_FP_SQRT_MEAT_1): Likewise.
29833         (_FP_FRAC_ASSEMBLE_1): Likewise.
29834         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29835         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29836         (__FP_CLZ_2): Likewise.
29837         (_FP_MUL_MEAT_2_wide): Likewise.
29838         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29839         (_FP_MUL_MEAT_2_gmp): Likewise.
29840         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29841         (_FP_SQRT_MEAT_2): Likewise.
29842         (_FP_FRAC_ASSEMBLE_2): Likewise.
29843         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29844         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29845         (_FP_FRAC_CLZ_4): Likewise.
29846         (_FP_MUL_MEAT_4_wide): Likewise.
29847         (_FP_MUL_MEAT_4_gmp): Likewise.
29848         (_FP_SQRT_MEAT_4): Likewise.
29849         (_FP_FRAC_ASSEMBLE_4): Likewise.
29850         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29851         * soft-fp/op-common.h (_FP_CMP): Likewise.
29852         (_FP_CMP_EQ): Likewise.
29853         (_FP_CMP_UNORD): Likewise.
29854         (_FP_TO_INT): Likewise.
29855         (_FP_FROM_INT): Likewise.
29856         [!__FP_CLZ] (__FP_CLZ): Likewise.
29857         (_FP_DIV_HELP_imm): Likewise.
29858         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29859         Likewise.
29860         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29861         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29862         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29863         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29864         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29865         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29866         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29867         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29868         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29869         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29870         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29871         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29872         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29873         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29874         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29875         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29876         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29877         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29878         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29879         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29880         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29881         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29882         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29883         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29884         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29885         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29886         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29887         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29888         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29889         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29890         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29891         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29892         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29893         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29894         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29895         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29896         (FP_UNPACK_RAW_SP): Likewise.
29897         (FP_PACK_RAW_S): Likewise.
29898         (FP_PACK_RAW_SP): Likewise.
29899         (FP_UNPACK_S): Likewise.
29900         (FP_UNPACK_SP): Likewise.
29901         (FP_UNPACK_SEMIRAW_S): Likewise.
29902         (FP_UNPACK_SEMIRAW_SP): Likewise.
29903         (FP_PACK_S): Likewise.
29904         (FP_PACK_SP): Likewise.
29905         (FP_PACK_SEMIRAW_S): Likewise.
29906         (FP_PACK_SEMIRAW_SP): Likewise.
29907         (_FP_SQRT_MEAT_S): Likewise.
29908         (FP_CMP_S): Likewise.
29909         (FP_CMP_EQ_S): Likewise.
29910         (FP_CMP_UNORD_S): Likewise.
29911         (FP_TO_INT_S): Likewise.
29912         (FP_FROM_INT_S): Likewise.
29914         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29916         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29917         (FP_EX_INVALID_IMZ): Likewise.
29918         (FP_EX_INVALID_IMZ_FMA): Likewise.
29919         (FP_EX_INVALID_ISI): Likewise.
29920         (FP_EX_INVALID_ZDZ): Likewise.
29921         (FP_EX_INVALID_IDI): Likewise.
29922         (FP_EX_INVALID_SQRT): Likewise.
29923         (FP_EX_INVALID_CVI): Likewise.
29924         (FP_EX_INVALID_VC): Likewise.
29925         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29926         "invalid" exceptions.
29927         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29928         (_FP_ADD_INTERNAL): Likewise.
29929         (_FP_MUL): Likewise.
29930         (_FP_FMA): Likewise.
29931         (_FP_DIV): Likewise.
29932         (_FP_CMP_CHECK_NAN): Likewise.
29933         (_FP_SQRT): Likewise.
29934         (_FP_TO_INT): Likewise.
29935         (FP_EXTEND): Likewise.
29937 2014-10-09  Allan McRae  <allan@archlinux.org>
29939         * po/fr.po: Update French translation from translation project.
29941 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29943         [BZ #14132]
29944         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29945         of INTDEF.
29946         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29947         (__cxa_atexit): Use libc_hidden_proto.
29948         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29950         [BZ #14132]
29951         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29952         declaration.
29953         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29954         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29955         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29956         [!_ISOMAC] (__iswctype_internal): Likewise.
29957         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29958         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29959         alias.
29960         (fcntl): Remove __fcntl_internal alias.
29961         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29962         __connect_internal alias.
29963         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29964         Likewise.
29966         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29967         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29968         FP_DENORM_ZERO.
29969         (_FP_CHECK_FLUSH_ZERO): New macro.
29970         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29971         (_FP_CMP): Likewise.
29972         (_FP_CMP_EQ): Likewise.
29973         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29974         FP_DENORM_ZERO.
29975         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29976         (FP_TRUNC): Likewise.
29978         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29979         treated as invalid conversion, not as normal exponent.
29981         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29982         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29983         (_FP_CMP_EQ): Likewise.
29984         (_FP_CMP_UNORD): Likewise.
29985         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29986         (FP_CMP_EQ_D): Likewise.
29987         (FP_CMP_UNORD_D): Likewise.
29988         * soft-fp/extended.h (FP_CMP_E): Likewise.
29989         (FP_CMP_EQ_E): Likewise.
29990         (FP_CMP_UNORD_E): Likewise.
29991         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29992         (FP_CMP_EQ_Q): Likewise.
29993         (FP_CMP_UNORD_Q): Likewise.
29994         * soft-fp/single.h (FP_CMP_S): Likewise.
29995         (FP_CMP_EQ_S): Likewise.
29996         (FP_CMP_UNORD_S): Likewise.
29997         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29998         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29999         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30000         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30001         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30002         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30003         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30004         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30005         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30006         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30007         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30008         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30009         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30010         to FP_CMP_Q.
30011         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30012         FP_CMP_Q.
30013         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30014         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30015         FP_CMP_EQ_Q.
30016         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30017         FP_CMP_Q.
30018         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30019         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30020         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30021         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30022         FP_CMP_EQ_Q.
30023         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30024         FP_CMP_Q.
30025         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30026         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30027         FP_CMP_EQ_Q.
30028         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30029         FP_CMP_Q.
30030         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30031         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30032         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30033         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30034         FP_CMP_EQ_Q.
30036         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30037         a subnormal result, set the underflow exception if trapping on
30038         underflow is enabled.
30039         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30040         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30041         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30042         redefine to 0.
30043         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30044         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30045         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30046         * soft-fp/extendxftf2.c (__extendxftf2): Use
30047         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30049         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30050         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30051         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30052         FP_HANDLE_EXCEPTIONS.
30053         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30054         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30055         FP_HANDLE_EXCEPTIONS.
30056         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30057         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30058         FP_HANDLE_EXCEPTIONS.
30059         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30060         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30061         FP_HANDLE_EXCEPTIONS.
30063 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
30065         [BZ #14132]
30066         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30067         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30068         use INTUSE.
30069         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30070         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30071         Remove alias.
30072         (__adjtimex): Define using libc_hidden_ver.
30073         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30074         Remove declaration.
30075         (ntp_gettime): Call __adjtimex directly.
30076         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30077         Remove declaration.
30078         (ntp_gettimex): Call __adjtimex directly.
30079         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30080         __adjtimex_internal alias.
30082 2014-10-08  Roland McGrath  <roland@hack.frob.com>
30084         [BZ #17460]
30085         * nscd/nscd.c (more_help): Rewrite list of tables collection
30086         using xstrdup and asprintf.
30088         * nscd/nscd_conf.c: Remove local xstrdup declaration.
30090 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30091             Roland McGrath  <roland@hack.frob.com>
30093         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30094         (do_lookup_unique): ... local function 'enter' here; update callers.
30096 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
30098         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30099         compat_symbol calls on [SHARED].
30100         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30101         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30102         Remove.
30103         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30104         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30105         (oldsetrlimit): Remove.
30106         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30108         (lchown): New syscall entry.
30109         (oldsetrlimit): Remove.
30110         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30111         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30112         (oldsetrlimit): Remove.
30113         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30115         [BZ #14138]
30116         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30117         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30118         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30119         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30120         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30121         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30122         (fchown): Likewise.
30123         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30124         (fchown): Likewise.
30125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30126         Likewise.
30128 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30130         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30131         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30132         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30133         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30134         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30135         Likewise.
30136         (__old_sem_post): Likewise.
30138 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
30140         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30141         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30142         HAVE_CLOCK_GETTIME_VSYSCALL macros.
30143         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30144         Use INLINE_VSYSCALL macro.
30145         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30146         __vdso_clock_gettime.
30147         * sysdeps/unix/sysv/linux/tile/init-first.c
30148         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30149         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30150         __vdso_clock_gettime.
30152         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30153         to set up frame more cleanly.
30155         * sysdeps/tile/memcmp.c: New file.
30157         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30159         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30160         * sysdeps/tile/tilegx/strcasestr.c: New file.
30161         * sysdeps/tile/tilegx/strnlen.c: New file.
30162         * sysdeps/tile/tilegx/strstr.c: New file.
30164         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30166 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30168         * nptl/tst-setuid3.c: Write errors to stdout.
30170 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30172         * elf/dl-deps.c
30173         (preload): New functions broken out of _dl_map_object_deps.
30174         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30176 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30178         [BZ #14138]
30179         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30180         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30182 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30184         * sysdeps/mips/strcmp.S: New.
30186 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30188         [BZ #14138]
30189         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30190         (linkat): Likewise.
30191         (mkdirat): Likewise.
30192         (readlinkat): Likewise.
30193         (renameat): Likewise.
30194         (symlinkat): Likewise.
30195         (unlinkat): Likewise.
30196         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30197         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30198         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30199         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30200         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30201         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30202         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30204 2014-09-30  Will Newton  <will.newton@linaro.org>
30206         * math/math.h: Define long double math functions if
30207         _LIBC_TEST is defined.
30208         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30210         * localedata/Makefile: Move assignment to tests-special
30211         into an ifdef testing run-built-tests.
30212         * timezone/Makefile: Likewise.
30214 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30216         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30217         with $(BASH) not $(SHELL).
30219 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30220             Matthew LeGendre  <legendre1@llnl.gov>
30222         [BZ #17411]
30223         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30224         l_reloc_result.
30226 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30228         * stdio-common/printf_fp.c
30229         (hack_digit): New function, broken out of ...
30230         (__printf_fp): ... local function here.  Update call sites.
30231         hack_digit now takes an additional parameter that is a pointer
30232         to a struct of the referenced locals.  Those locals moved inside
30233         the struct and references updated.
30235 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30237         * aclocal.m4: Require autoconf 2.69.
30238         * configure: Regenerated.
30239         * sysdeps/aarch64/configure: Likewise.
30240         * sysdeps/alpha/configure: Likewise.
30241         * sysdeps/arm/armv7/configure: Likewise.
30242         * sysdeps/arm/configure: Likewise.
30243         * sysdeps/ia64/configure: Likewise.
30244         * sysdeps/mach/configure: Likewise.
30245         * sysdeps/mips/configure: Likewise.
30246         * sysdeps/s390/configure: Likewise.
30247         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30250         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30251         file.
30252         * sysdeps/ia64/configure.ac: Likewise.
30254 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30257         specify symbol version for ld.so.  Do not include entry for
30258         libpthread.
30259         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30260         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30261         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30263         [BZ #14171]
30264         * Makeconfig [$(build-shared) = yes]
30265         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30266         makefiles.
30267         [$(build-shared) = yes && $(soversions.mk-done) = t]
30268         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30269         [$(build-shared) = yes && $(soversions.mk-done) = t]
30270         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30271         to Makerules.
30272         [$(build-shared) = yes && $(soversions.mk-done) = t]
30273         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30274         here.
30275         [$(build-shared) = yes && $(soversions.mk-done) = t]
30276         (common-generated): Don't append gnu/lib-names.h and
30277         gnu/lib-names.stmp here.
30278         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30279         (lib-names-h-abi): New variable.
30280         [$(build-shared) = yes && $(soversions.mk-done) = t]
30281         (lib-names-stmp-abi): Likewise.
30282         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30283         abi-variants] (before-compile): Append
30284         $(common-objpfx)$(lib-names-h-abi).
30285         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30286         abi-variants] (common-generated): Append gnu/lib-names.h.
30287         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30288         abi-variants] (install-others-nosubdir): Depend on
30289         $(inst_includedir)/$(lib-names-h-abi).
30290         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30291         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30292         [$(build-shared) = yes && $(soversions.mk-done) = t]
30293         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30294         [$(build-shared) = yes && $(soversions.mk-done) = t]
30295         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30296         [$(build-shared) = yes && $(soversions.mk-done) = t]
30297         (common-generated): Append $(lib-names-h-abi) and
30298         $(lib-names-stmp-abi).
30299         * scripts/lib-names.awk: Do not handle multi being set.
30300         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30301         Remove variable.
30302         (abi-lp64_be-ld-soname): Likewise.
30303         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30304         Likewise.
30305         (abi-hard-ld-soname): Likewise.
30306         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30307         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30308         Remove variable.
30309         (abi-o32_hard-ld-soname): Likewise.
30310         (abi-o32_soft_2008-ld-soname): Likewise.
30311         (abi-o32_hard_2008-ld-soname): Likewise.
30312         (abi-n32_soft-ld-soname): Likewise.
30313         (abi-n32_hard-ld-soname): Likewise.
30314         (abi-n32_soft_2008-ld-soname): Likewise.
30315         (abi-n32_hard_2008-ld-soname): Likewise.
30316         (abi-n64_soft-ld-soname): Likewise.
30317         (abi-n64_hard-ld-soname): Likewise.
30318         (abi-n64_soft_2008-ld-soname): Likewise.
30319         (abi-n64_hard_2008-ld-soname): Likewise.
30320         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30321         Likewise.
30322         (abi-64-v2-ld-soname): Likewise.
30323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30324         ld.so entries.
30325         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30326         variable.
30327         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30328         entry.
30329         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30330         variable.
30331         (abi-64-ld-soname): Likewise.
30332         (abi-x32-ld-soname): Likewise.
30333         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30334         entry.
30335         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30337 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30339         [BZ #14138]
30340         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30341         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30342         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30343         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30344         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30345         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30346         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30347         syscall entry for GLIBC_2.2 symbol version.
30348         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30349         Likewise.
30350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30351         (setrlimit): Likewise.
30352         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30353         Likewise.
30355 2014-09-23  Will Newton  <will.newton@linaro.org>
30357         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30358         _LINUX_ARM_SYSDEP_H include guard too.
30359         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30360         define.
30362 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30364         * sysdeps/unix/sysv/linux/eventfd.c:
30365         Make first argument unsigned.
30366         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30367         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30369 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30371         [BZ #16852]
30372         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30373         * socket/sys/socket.h: Likewise.
30374         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30376 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30378         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30380 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30382         * time/tst-ftime.c: New test.
30383         * time/Makefile (tests): Add tst-ftime.
30385 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30387         * soft-fp/extended.h: Fix comment formatting.
30388         * soft-fp/op-1.h: Likewise.
30389         * soft-fp/op-2.h: Likewise.
30390         * soft-fp/op-4.h: Likewise.
30391         * soft-fp/op-8.h: Likewise.
30392         * soft-fp/op-common.h: Likewise.
30393         * soft-fp/soft-fp.h: Likewise.
30395         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30397 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30399         [BZ #6652]
30400         * Makeconfig (soversions-default-setname): Remove variable.
30401         ($(common-objpfx)soversions.i): Don't pass default_setname to
30402         soversions.awk.
30403         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30404         oldest_abi to abi-versions.awk.
30405         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30406         * config.make.in (oldest-abi): Remove variable.
30407         * configure.ac (--enable-oldest-abi): Remove configure option.
30408         * configure: Regenerated.
30409         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30410         text.
30411         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30412         * scripts/soversions.awk: Do not handle default_setname variable.
30413         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30414         variable.
30415         * sysdeps/mach/hurd/configure: Regenerated.
30416         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30417         variable.
30418         * sysdeps/unix/sysv/linux/configure: Regenerated.
30420 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30422         * elf/Makefile (CFLAGS-interp.c): Remove.
30423         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30424         path string.
30425         * elf/interp.c: Include generated runtime-linker.h
30427         * Makerules (lib%.so): Don't include $(+interp) in
30428         prerequisites.
30429         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30430         * dlfcn/eval.c: Remove file.
30432         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30433         macros.
30435         [BZ #17266]
30436         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30437         4.2 and newer.
30439         [BZ #17370]
30440         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30442 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30443             Jakub Jelinek  <jakub@redhat.com>
30445         [BZ #17266]
30446         * libio/stdio.h: Check definition of __fortify_function
30447         instead of __extern_always_inline to include bits/stdio2.h.
30448         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30449         check if __extern_always_inline is defined.
30450         [__USE_MISC || __USE_XOPEN]: Likewise.
30451         [__USE_ISOC99] Likewise.
30452         * misc/sys/cdefs.h (__fortify_function): Define only if
30453         __extern_always_inline is defined.
30454         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30455         __extern_always_inline and __extern_inline only for g++-4.3
30456         and newer or a compatible gcc.
30458 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30460         [BZ #17371]
30461         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30462         last change to handle zero prefix length.
30464 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30466         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30467         _SC_REGEX_VERSION.
30469         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30470         _POSIX_RAW_SOCKETS.
30472 2014-09-13  Allan McRae  <allan@archlinux.org>
30474         * po/ru.po: Update Russian translation from translation project.
30476 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30478         * locale/programs/locale.c (show_locale_vars): Inline local function
30479         into its sole call site.  Clean up some style nits.
30480         (print_item): New function, broken out of ...
30481         (show_info): ... local function here.  Clean up style nits.
30483         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30484         out of ...
30485         (set_class_defaults): ... local function set_default here.
30486         Define set_default as a macro locally to pass constant parameters.
30487         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30488         rather than a shared local.
30490         * stdlib/rpmatch.c (try): New function, broken out of ...
30491         (rpmatch): ... local function here.  Also, prototypify definition.
30493 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30495         * scripts/soversions.awk: Do not handle configuration names.
30496         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30497         vendor and os variables to soversions.awk.
30498         * configure.ac: Do not modify gnu-* host_os.
30499         * configure: Regenerated
30500         * shlib-versions: Remove first column with configuration names.
30501         * nptl/shlib-versions: Likewise.
30502         * nptl_db/shlib-versions: Likewise.
30503         * sysdeps/hppa/shlib-versions: Likewise.
30504         * sysdeps/m68k/shlib-versions: Likewise.
30505         * sysdeps/mach/hurd/shlib-versions: Likewise.
30506         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30507         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30508         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30509         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30510         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30511         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30512         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30513         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30515         Likewise.
30516         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30517         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30518         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30519         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30520         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30521         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30522         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30523         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30526         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30528         Regenerated.
30529         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30531         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30533         * shlib-versions: Remove OS-specific entries.  Moved to files in
30534         sysdeps.
30535         * sysdeps/mach/hurd/shlib-versions: New file.
30536         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30538         * nptl/shlib-versions: Remove architecture-specific entries.
30539         Moved to files in sysdeps.
30540         * shlib-versions: Likewise.
30541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30542         file.
30543         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30544         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30545         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30546         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30548         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30549         (UDP_NO_CHECK6_RX): Likewise.
30551 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30553         * sysdeps/posix/sysconf.c (__sysconf): Spell
30554         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30556 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30558         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30559         loading.
30560         * iconv/Versions (__gconv_transliterate): Export for use from
30561         gconv modules.
30562         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30563         (struct __gconv_trans_data, __gconv_trans_fct,
30564         __gconv_trans_context_fct, __gconv_trans_query_fct,
30565         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30566         definitions.
30567         (struct __gconv_step_data): Remove __trans member.
30568         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30569         longer hidden.  Remove unused trans_data argument.
30570         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30571         (__gconv_translit_find): Remove declaration.
30572         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30573         prototype.
30574         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30575         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30576         trans_data argument.  Add hidden definition.
30577         (__gconv_translit_find): Remove.
30578         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30579         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30580         * iconv/skeleton.c: Remove transliteration initialization.
30581         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30582         __gconv_step_data initialization.
30583         * libio/iofwide.c (__libio_translit_): Remove.
30584         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30585         * wcsmbs/btowc.c (__btowc): Likewise.
30586         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30587         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30588         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30589         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30590         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30591         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30592         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30593         * wcsmbs/wctob.c (wctob): Likewise.
30595 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30597         [BZ #16194]
30598         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30599         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30600         register usage.
30601         * sysdeps/x86/Makefile: Adjust.
30603 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30604             Roland McGrath  <roland@hack.frob.com>
30606         * locale/weight.h: Add include guard.
30607         (findidx): Make static rather than auto; take new parameters
30608         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30609         * locale/weightwc.h: Likewise.
30610         * posix/fnmatch_loop.c
30611         (FCT): Change type of EXTRA from int32_t to wint_t.
30612         Don't include either header inside the function.
30613         Call FINDIDX rather than findidx, and pass new arguments.
30614         #undef FINDIDX at the end of the file.
30615         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30616         FINDIDX before including fnmatch_loop.c for the non-wide version.
30617         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30618         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30619         for the wide version.
30620         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30621         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30622         Pass new arguments to findidx.
30623         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30624         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30625         Don't #include it inside the function.  Pass new arguments to findidx.
30626         * posix/regex_internal.h
30627         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30628         (re_string_elem_size_at): Don't #include it inside the function.
30629         Pass new arguments to findidx.
30630         * string/strcoll_l.c: #include WEIGHT_H at top level.
30631         (get_next_seq): Don't #include it inside the function.
30632         Pass new arguments to findidx.
30633         (get_next_seq_nocache): Likewise.
30634         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30635         (STRXFRM): Don't #include it inside the function.
30636         Pass new arguments to findidx.
30638 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30640         [BZ #17344]
30641         * malloc/malloc.c (unlink): Turn asserts into a call to
30642         malloc_printerr.
30644 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30646         [BZ #17370]
30647         * libio/wfileops (do_ftell_wide): Free OUT.
30649 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30651         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30653 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30655         [BZ #17363]
30656         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30657         group if the current group is empty.
30659 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30661         * benchtests/bench-memset.c (test_main): Add more test from size
30662         from 32 to 512 bytes.
30663         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30664         Add POWER8 memset object.
30665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30666         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30667         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30668         implementation.
30669         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30670         Likewise.
30671         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30672         multiarch POWER8 memset optimization.
30673         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30674         POWER8 memset optimization.
30676         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30677         Remove bzero multiarch objects.
30678         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30679         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30680         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30681         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30682         Remove define.
30683         [__bzero]: Redefine to specific name.
30684         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30685         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30686         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30687         define.
30688         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30689         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30691 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30693         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30694         warnings into errors.
30696         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30697         __cxa_thread_atexit_impl prototype.
30699 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30701         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30702         Fix capitalization of error message.
30704 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30706         * sysdeps/mips/preconfigure: Modify ABI tests.
30708 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30710         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30712 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30713             Carlos O'Donell  <carlos@systemhalted.org>
30715         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30716         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30717         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30718         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30719         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30720         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30721         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30722         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30723         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30724         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30725         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30726         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30727         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30728         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30729         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30730         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30731         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30732         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30733         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30734         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30735         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30736         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30737         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30738         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30739         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30740         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30741         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30742         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30743         Deconditionalize the code that was previously under [RESET_PID].
30744         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30745         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30746         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30747         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30748         include sysdep.h.
30750 2014-09-08  Allan McRae  <allan@archlinux.org>
30752         * version.h (RELEASE): Set to "development".
30753         (VERSION): Set to "2.20.90"
30755 2014-09-07  Allan McRae  <allan@archlinux.org
30757         * version.h (RELEASE): Set to "stable".
30758         (VERSION): Set to "2.20"
30759         * include/features.h (__GLIBC_MINOR__): Set to 20.
30761         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30762         Liebler.
30764         * po/ko.po: Update Korean translation from translation project.
30766 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30768         [BZ #17354]
30769         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30770         macro for handling signed relocations.
30772 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30774         [BZ #17325]
30775         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30776         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30777         assert.
30778         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30779         * iconvdata/ibm935.c (BODY): Likewise.
30780         * iconvdata/ibm937.c (BODY): Likewise.
30781         * iconvdata/ibm939.c (BODY): Likewise.
30782         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30783         assert.
30784         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30785         script.
30786         * iconvdata/run-iconv-test.sh: New test loop for checking for
30787         decoder crashers.
30789 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30791         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30792         libm_hidden_ver.
30794 2014-09-01  Allan McRae  <allan@archlinux.org>
30796         * po/eo.po: Update Esperanto translation from translation project.
30798         * po/ca.po: Update Catalan translation from translation project.
30800 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30802         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30803         __proc_dostop call.
30805 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30807         [BZ #17319]
30808         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30809         to call set_thread_area instead of hand written asm.
30810         (__NR_set_thread_area): Removed define.
30811         (TLS_FLAG_WRITABLE): Likewise.
30812         (__ASSUME_SET_THREAD_AREA): Remove check.
30813         (TLS_EBX_ARG): Remove define.
30814         (TLS_LOAD_EBX): Likewise.
30816 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30818         Simplify atomicity of socket creation in bind.
30820         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30821         looking up the name after linking the file.
30823 2014-08-27  Allan McRae  <allan@archlinux.org>
30825         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30827 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30829         [BZ #17187]
30830         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30831         trans_compare, open_translit, __gconv_translit_find):
30832         Remove module loading code.
30834 2014-08-26  Allan McRae  <allan@archlinux.org>
30836         * po/vi.po: Update Vietnamese translation from translation project.
30838         * po/uk.po: Update Ukrainian translation from translation project.
30840         * po/fr.po: Update French translation from translation project.
30842         * po/ru.po: Update Russian translation from translation project.
30844         * po/pl.po: Update Polish translation from translation project.
30846         * po/cs.po: Update Czech translation from translation project.
30848         * po/de.po: Update German translation from translation project.
30850         * po/bg.po: Update Bulgarian translation from translation project.
30852         * po/sv.po: Update Sweedish translation from translation project.
30854         * po/nl.po: Update Dutch translation from translation project.
30856         * po/es.po: Update Spanish translation from translation project.
30858 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30860         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30862         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30863         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30864         (CPPFLAGS-iconvconfig): Likewise.
30865         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30867         * include/libc-symbols.h: Remove unnecessary check for
30868         NOT_IN_libc.
30869         * nptl/pthreadP.h: Likewise.
30870         * sysdeps/aarch64/setjmp.S: Likewise.
30871         * sysdeps/alpha/setjmp.S: Likewise.
30872         * sysdeps/arm/sysdep.h: Likewise.
30873         * sysdeps/i386/setjmp.S: Likewise.
30874         * sysdeps/m68k/setjmp.c: Likewise.
30875         * sysdeps/posix/getcwd.c: Likewise.
30876         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30877         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30878         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30879         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30880         * sysdeps/sh/sh3/setjmp.S: Likewise.
30881         * sysdeps/sh/sh4/setjmp.S: Likewise.
30882         * sysdeps/unix/alpha/sysdep.h: Likewise.
30883         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30884         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30885         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30886         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30889         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30890         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30891         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30892         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30893         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30894         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30895         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30896         * sysdeps/x86_64/setjmp.S: Likewise.
30898 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30900         [BZ #17263]
30901         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30902         <stdint.h>.
30903         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30904         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30906 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30908         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30910         [BZ #17262]
30911         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30912         and __x86_64__ when disabling x87 inline functions.
30914 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30916         [BZ #17259]
30917         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30918         asm statement with __cpuid_count.
30920 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30922         * configure.ac: Change __ehdr_start code to dereference the struct.
30923         Run readelf on the output to look for relocations.
30924         * configure: Regenerated.
30926 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30928         [BZ #17261]
30929         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30930         value to 0.
30931         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30933 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30935         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30937 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30939         [BZ #16892]
30940         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30941         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30943 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30945         * malloc/malloc.c: Fix typo in comment.
30947 2014-08-09  Allan McRae  <allan@archlinux.org>
30949         * Regenerate libc.po.
30951 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30953         * intl/tst-gettext2.sh: Check every lang file for creation.
30955 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30957         * sysdeps/aarch64/fpu/math_private.h
30958         (libc_feholdsetround_noex_aarch64_ctx): New function.
30960 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30962         * sysdeps/arm/armv6/strcpy.S (strcpy):
30963         Fix performance issue in misaligned cases.
30965 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30967         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30968         Move definition from termios.h.
30969         (struct termio): Likewise.
30970         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30971         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30972         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30973         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30974         Likewise.
30975         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30976         Move definition to ioctl-types.h
30977         (struct termio): Likewise.
30978         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30979         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30980         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30981         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30982         Likewise.
30984 2014-08-05  Richard Henderson  <rth@redhat.com>
30986         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30987         exceptions.
30988         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30989         Add fraiseexcpt.
30990         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30991         Use __feraiseexcept.
30992         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30993         Protect libm symbols with IS_IN_libm.
30995         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30997 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30999         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31001 2014-08-04  Will Newton  <will.newton@linaro.org>
31003         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31004         file.
31006 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
31008         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31009         variants for each function.
31011 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31013         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31014         appended ...
31015         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31016         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31017         appended ...
31018         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31019         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31020         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31021         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31022         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31023         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31024         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31025         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31026         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31027         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31028         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31029         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31030         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31031         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31032         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31033         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31034         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31035         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31036         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31037         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31038         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31039         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31040         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31041         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31042         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31043         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31044         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31045         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31046         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31047         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31048         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31049         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31050         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31051         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31052         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31053         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31054         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31055         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31056         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31057         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31058         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31059         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31060         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31061         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31062         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31063         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31064         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31065         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31066         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31067         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31068         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31069         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31070         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31071         Update #include.
31072         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31073         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31075 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31077         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31078         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31079         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31080         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31081         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31082         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31084 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31086         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31087         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31088         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31089         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31091 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31093         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31094         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31095         (__libc_vfork): Define function under this name.
31096         (__vfork): Define as an alias.
31097         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31098         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31100 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31102         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31103         that was previously under [RESET_PID].
31104         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31106 2014-08-04  Andreas Schwab  <schwab@suse.de>
31108         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31110 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
31112         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31113         (main): Likewise.
31115 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31117         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31119 2014-08-01  Richard Henderon  <rth@redhat.com>
31121         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31122         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31123         typo in exact zero test.
31124         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31125         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31126         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31128 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31130         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31131         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31132         * sysdeps/arm/sysdep.h: ... here.
31133         [!__ASSEMBLER__]: Include <stdint.h>.
31135 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31137         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31138         (HAVE_WCTYPE_H): Likewise.
31139         (HAVE_ISWCTYPE): Likewise.
31140         (ENABLE_NLS): Likewise.
31141         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31142         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31144         * posix/regex_internal.c: Check if DEBUG is defined and is
31145         set.
31147         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31148         (HAVE_MBSRTOWCS): Likewise.
31149         * posix/fnmatch.c: Include string.h unconditionally.
31151 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31153         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31154         reversal.
31156 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31158         * sysdeps/generic/safe-fatal.h: New file.
31159         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31160         * nptl/forward.c: Include it.
31161         (__pthread_unwind): Use __safe_fatal as default action, rather
31162         than a bogus use of INTERNAL_SYSCALL that could never work.
31164         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31165         * configure.ac (libc_cv_builtin_trap): New test.
31166         * configure: Regenerated.
31167         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31168         (ABORT_INSTRUCTION): Define using __builtin_trap.
31170         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31171         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31172         * sysdeps/nptl/nptl-signals.h: New file.
31173         * nptl/pthreadP.h: Include <nptl-signals.h>.
31175 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31177         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31178         (ONE_DIRECTION): Define.
31179         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31180         (ONE_DIRECTION): Define.
31181         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31182         (ONE_DIRECTION): Define.
31184 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31186         * sysdeps/s390/Makefile: Delete file.
31187         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31188         * sysdeps/s390/__longjmp.c: Delete file.
31189         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31190         Remove fields __flags and __reserved.
31191         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31192         and add versioning.
31193         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31194         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31195         * sysdeps/s390/rtld-setjmp.S: Likewise.
31196         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31197         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31198         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31199         * sysdeps/s390/s390-32/setjmp.S: ... here.
31200         Add versioning.
31201         (__sigsetjmp): Remove setting __flags field.
31202         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31203         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31204         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31205         * sysdeps/s390/s390-64/setjmp.S: ... here.
31206         Add versioning.
31207         (__sigsetjmp): Remove setting __flags field.
31208         * sysdeps/s390/setjmp.S: Delete file.
31209         * sysdeps/s390/sigjmp.c: Likewise.
31210         * sysdeps/s390/v1-longjmp.c: Likewise.
31211         * sysdeps/s390/v1-setjmp.h: Likewise.
31212         * sysdeps/s390/v1-sigjmp.c: Likewise.
31213         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31214         Remove v1-longjmp_chk.
31215         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31216         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31217         Include debug/longjmp_chk.c and add versioning.
31218         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31219         Include nptl/pt-longjmp.c and add versioning.
31220         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31221         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31222         Include __longjmp.c.
31223         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31224         Move to ...
31225         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31226         (__getcontext): Remove setting __flags field.
31227         Add versioning.
31228         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31229         Don't restore upper high grps.
31230         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31231         Likewise.
31232         (__swapcontext): Remove setting uc_flags field.
31233         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31234         Delete file.
31235         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31236         Include __longjmp.c.
31237         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31238         Move to ...
31239         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31240         (__getcontext): Remove setting __flags field.
31241         Add versioning.
31242         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31243         (__swapcontext): Remove setting uc_flags field.
31244         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31245         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31246         Remove fields uc_high_gprs and __reserved.
31247         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31248         New file with reverted content.
31249         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31250         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31251         Regenerated.
31252         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31253         Regenerated.
31255 2014-07-31  Andreas Schwab  <schwab@suse.de>
31257         * config.h.in (HAVE_IFUNC): Define to 0.
31258         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31259         definedness.
31261 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31264         memmove-avx-unaligned, memcpy-avx-unaligned and
31265         mempcpy-avx-unaligned.
31266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31267         Add tests for AVX memcpy functions.
31268         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31269         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31270         memcpy_chk.
31271         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31272         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31273         memmove_chk.
31274         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31275         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31276         mempcpy_chk.
31277         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31278         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31279         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31281 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31283         [BZ #17213]
31284         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31285         powerpc64le.
31287 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31289         [BZ #16839]
31290         * manual/llio.texi: Add section about open file description locks.
31291         * manual/examples/ofdlocks.c: Example of open file description
31292         lock usage.
31293         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31294         F_OFD_SETLK, and F_OFD_SETLKW.
31296 2014-07-23  Allan McRae  <allan@archlinux.org>
31298         * po/es.po: Update Spanish translation from translation project.
31300 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31302         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31304 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31306         [BZ #17078]
31307         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31308         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31309         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31311 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31313         [BZ #17088]
31314         * math/fesetenv.c (__fesetenv)
31315         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31316         * math/feupdateenv.c (__feupdateenv)
31317         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31319         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31320         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31321         (__ASSUME_SOCKETCALL): Do not define.
31323         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31324         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31325         (__ASSUME_SOCKETCALL): Do not define.
31326         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31327         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31328         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31329         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31330         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31331         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31332         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31333         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31335         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31336         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31337         (__ASSUME_SOCKETCALL): Do not define.
31338         (__ASSUME_IPC64): Define unconditionally.
31339         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31340         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31341         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31342         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31343         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31344         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31345         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31346         Likewise.
31348         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31349         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31350         (__ASSUME_SOCKETCALL): Do not define.
31351         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31352         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31353         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31354         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31355         (__ASSUME_REQUEUE_PI): Define unconditionally.
31356         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31357         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31358         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31359         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31360         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31361         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31363         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31364         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31365         (__ASSUME_SOCKETCALL): Do not define.
31366         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31367         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31368         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31369         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31370         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31371         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31373         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31374         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31375         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31376         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31377         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31378         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31379         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31380         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31381         (__ASSUME_GETCPU_SYSCALL): Likewise.
31383         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31384         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31385         cases for individual architectures.
31386         * sysdeps/gnu/configure: Regenerated.
31387         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31388         LIBC_SLIBDIR_RTLDDIR.
31389         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31390         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31391         LIBC_SLIBDIR_RTLDDIR.
31392         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31394         LIBC_SLIBDIR_RTLDDIR.
31395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31396         Regenerated.
31397         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31398         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31399         file.
31400         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31401         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31402         file.
31403         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31404         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31405         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31406         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31408         * sysdeps/aarch64/shlib-versions: Move to ...
31409         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31410         * sysdeps/alpha/shlib-versions: Move to ...
31411         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31412         * sysdeps/arm/shlib-versions: Move to ...
31413         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31414         * sysdeps/hppa/shlib-versions: Move all contents except for
31415         libgcc_s entry to ...
31416         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31417         entry from ...
31418         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31419         * sysdeps/ia64/shlib-versions: Move to ...
31420         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31421         entry from ...
31422         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31423         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31424         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31425         * sysdeps/microblaze/shlib-versions: Move to ...
31426         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31427         * sysdeps/mips/shlib-versions: Move to ...
31428         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31429         entry from ...
31430         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31431         * sysdeps/tile/shlib-versions: Move to ...
31432         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31433         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31434         from ...
31435         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31436         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31437         entry from ...
31438         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31440 2014-07-17  Will Newton  <will.newton@linaro.org>
31442         * sysdeps/arm/bits/atomic.h
31443         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31444         (__arch_compare_and_exchange_bool_16_int): Likewise.
31445         (__arch_compare_and_exchange_bool_64_int): Likewise.
31447         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31448         into an #else block.
31450 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31452         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31453         just Linux configurations.  Test empirically that the compiler sets
31454         __ARM_EABI__, rather than using the tuple to decide.
31455         * sysdeps/arm/preconfigure: Regenerated.
31456         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31457         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31458         contents appended ...
31459         * sysdeps/arm/configure.ac: ... here.
31460         * sysdeps/arm/configure: Regenerated.
31462 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31464         * nptl/pthread_kill.c: New file.
31465         * nptl/pthread_sigmask.c: New file.
31466         * nptl/pthread_sigqueue.c: New file.
31468         * sysdeps/nptl/lowlevellock.h: New file.
31469         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31470         * sysdeps/nptl/lowlevellock-futex.h: New file.
31472         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31473         Remove dead declarations.
31475 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31477         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31478         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31479         config-cflags-avx2.
31480         * sysdeps/x86_64/configure.ac: Likewise.
31481         * sysdeps/i386/configure: Regenerated.
31482         * sysdeps/x86_64/configure: Likewise.
31483         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31484         memset-avx2 only if config-cflags-avx2 is yes.
31485         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31486         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31487         defined.
31488         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31489         only if HAVE_AVX2_SUPPORT is defined.
31490         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31492 2014-07-14  Alan Modra  <amodra@gmail.com>
31494         [BZ #17153]
31495         * elf/elf.h (DT_PPC64_NUM): Correct value.
31496         * NEWS: Add to fixed bug list.
31498 2014-07-13  Jim Meyering  <meyering@fb.com>
31500         [BZ 17150]
31501         regex: don't deref NULL upon heap allocation failure
31502         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31503         failure in one more place.
31504         To trigger the segfault, configure grep -with-included-regex,
31505         build it, and run these commands:
31506         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31508 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31510         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31512 2014-07-11  Richard Henderson  <rth@redhat.com>
31514         * sysdeps/aarch64/libm-test-ulps: Update.
31516 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31518         [BZ #17135]
31519         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31520         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31521         (__nptl_setxid): Initialize error member.  Call
31522         __nptl_setxid_error.
31523         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31524         * nptl/descr.h (struct xid_command): Add error member.
31525         * nptl/tst-setuid3.c: New file.
31526         * nptl/Makefile (tests): Add it.
31528 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31530         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31531         New define.
31532         (__lll_trylock): Use __lll_base_trylock.
31533         (__lll_cond_trylock): Likewise.
31535 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31537         * nptl/pthread_create.c (start_thread): Use atomic_or and
31538         lll_futex_wake directly rather than lll_robust_dead.
31539         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31540         (lll_robust_dead): Macro removed.
31541         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31542         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31543         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31544         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31545         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31546         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31547         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31548         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31549         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31550         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31551         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31552         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31553         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31554         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31555         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31557         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31558         Use atomic_compare_and_exchange_val_acq directly rather than
31559         lll_robust_trylock.
31560         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31561         (__lll_robust_trylock, lll_robust_trylock): Removed.
31562         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31563         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31564         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31565         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31566         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31567         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31568         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31569         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31570         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31571         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31572         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31573         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31574         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31575         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31577 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31579         * manual/locale.texi (Locale Names): New section documenting
31580         locale name syntax.  Adjust menu and node chaining accordingly.
31581         (Choosing Locale): Reference Locale Names, Locale Categories.
31582         Mention setting LC_ALL=C.  Reflect that name syntax is now
31583         documented.
31584         (Locale Categories): New section title.  Reference Locale Names.
31585         LC_ALL is an environment variable, but not a category.
31586         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31587         description, now in Locale Name.  Reference that section.  Locale
31588         name syntax is now documented.
31590 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31592         [BZ #17137]
31593         * locale/findlocale.c (name_present, valid_locale_name): New
31594         functions.
31595         (_nl_find_locale): Use the loc_name variable to store name
31596         candidates.  Call name_present and valid_locale_name to check and
31597         validate locale names.  Return an error if the locale is invalid.
31599 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31601         * locale/setlocale.c (setlocale): Use strdup for allocating
31602         composite name copy.
31604 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31606         Sync up with gnulib.
31607         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31608         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31609         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31610         and _GL_ARG_NONNULL.
31611         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31612         [!_LIBC]: Include code for Windows and Cygwin.
31613         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31614         Include prototype for int strerror_r.
31615         [!_LIBC] (is_open): New function.
31616         (flush_stdout): New function.
31617         (print_errno_message): Use it.
31618         (error): Likewise.
31619         (error_at_line): Likewise.
31620         (error_tail) Add function attribute macros.  Use
31621         __builtin_expect.
31623         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31625         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31627         * io/ftw.c: Include sys/param.h unconditionally.
31629         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31631         [BZ #17125]
31632         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31633         libc_freeres_ptr.
31634         (freecache): New function to free CACHE on exit.
31636         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31637         initialization.
31639 2014-07-09  David S. Miller  <davem@davemloft.net>
31641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31643         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31644         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31645         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31646         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31647         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31648         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31649         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31650         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31651         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31652         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31653         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31654         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31655         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31657 2014-07-09  Andreas Schwab  <schwab@suse.de>
31659         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31660         output.
31661         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31662         (do_test): Likewise.
31664         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31666 2014-07-09  Will Newton  <will.newton@linaro.org>
31668         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31669         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31670         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31671         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31672         * sysdeps/hppa/start.S (_start): Likewise.
31674 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31676         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31678         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31679         defined.
31681 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31683         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31684         after checking that it is non-NULL.
31686         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31688 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31690         * sysdeps/powerpc/memmove.c: Remove file.
31691         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31692         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31693         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31694         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31695         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31696         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31697         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31698         string memmove instead of removed powerpc one.
31700         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31701         [weak_alias]: Fix compiler warning due trailing data.
31702         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31703         [weak_alias]: Likewise.
31704         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31705         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31707         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31708         (__libc_ifunc_impl_list): Add memmove functions.
31710 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31712         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31713         Remove code.
31714         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31715         Likewise.
31716         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31717         Likewise.
31718         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31719         Likewise.
31720         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31721         Likewise.
31722         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31723         Likewise.
31724         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31725         Likewise.
31726         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31727         Likewise.
31728         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31729         Likewise.
31730         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31731         Likewise.
31732         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31733         Likewise.
31734         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31735         Likewise.
31736         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31737         Likewise.
31738         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31739         Likewise.
31740         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31741         Likewise.
31742         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31743         Likewise.
31744         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31745         Likewise.
31747 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31749         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31750         to avoid alignment traps in non-cacheable memory.
31751         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31753         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31754         multiarch objects.
31755         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31756         file: multiarch power7 memmove.
31757         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31758         multiarch default memmove.
31759         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31760         multiarch memove for powerpc32/power4.
31762         * string/bcopy.c: Use full path to include memmove.c.
31763         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31764         multiarch objects.
31765         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31766         bcopy for powerpc64.
31767         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31768         bcopy for powerpc64.
31769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31770         and memmove implementations.
31771         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31772         optimized multiarch memmove for POWER7/powerpc64.
31773         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31774         default multiarch memmove for powerpc64.
31775         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31776         multiarch for powerpc64.
31777         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31778         for POWER7/powerpc64.
31779         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31780         memmove for POWER7/powerpc64.
31782         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31783         glibc default one.
31785         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31786         __ELF_NATIVE_CLASS equal to 64.
31788 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31790         * sysdeps/nptl/lowlevellock.h: File removed.
31792         * NEWS: NPTL is no longer an add-on!
31793         * nptl/internaltypes.h: Moved ...
31794         * sysdeps/nptl/internaltypes.h: ... here.
31795         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31796         * sysdeps/nptl/fork.c: Likewise.
31797         * sysdeps/nptl/gai_misc.h: Likewise.
31798         * sysdeps/nptl/librt-cancellation.c: Likewise.
31799         * sysdeps/nptl/jmp-unwind.c: Likewise.
31800         * sysdeps/nptl/setxid.h: Likewise.
31801         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31802         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31803         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31804         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31805         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31806         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31807         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31808         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31809         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31810         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31811         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31812         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31813         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31814         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31815         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31816         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31817         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31818         * nptl/Makeconfig: Moved ...
31819         * sysdeps/nptl/Makeconfig: ... here.
31820         * nptl/configure: File removed.
31821         * nptl/ANNOUNCE: File removed.
31822         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31823         * sysdeps/unix/sysv/linux/configure: Regenerated.
31825         * nptl/Makefile (routines): Add libc_pthread_init,
31826         libc_multiple_threads, register-atfork and unregister-atfork.
31827         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31828         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31829         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31830         pthread-pi-defines.sym, structsem.sym.
31831         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31832         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31833         [$(subdir) = nptl] (tests): Add tst-setgetname.
31834         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31835         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31836         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31837         [!LIBC_SIGACTION]: Remove aliases.
31838         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31839         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31840         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31841         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31842         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31843         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31844         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31845         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31846         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31847         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31848         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31849         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31850         __libc_allocate_rtsig_private.
31851         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31852         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31853         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31854         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31855         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31856         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31857         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31858         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31859         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31860         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31861         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31862         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31863         * nptl/internaltypes.h: ... here.
31864         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31865         * sysdeps/nptl/jmp-unwind.c: ... here.
31866         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31867         * nptl/libc-lowlevellock.c: ... here.
31868         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31869         * nptl/libc_multiple_threads.c: ... here.
31870         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31871         * nptl/libc_pthread_init.c: ... here.
31872         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31873         * nptl/lowlevelbarrier.sym: ... here.
31874         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31875         * nptl/lowlevelcond.sym: ... here.
31876         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31877         * nptl/lowlevellock.c: ... here.
31878         * nptl/lowlevellock.h: Moved ...
31879         * sysdeps/nptl/lowlevellock.h: ... here.
31880         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31881         * nptl/lowlevelrobustlock.c: ... here.
31882         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31883         * nptl/lowlevelrobustlock.sym: ... here.
31884         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31885         * nptl/lowlevelrwlock.sym: ... here.
31886         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31887         * nptl/pt-fork.c: ... here.
31888         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31889         * nptl/pthread-pi-defines.sym: ... here.
31890         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31891         * nptl/pthread_attr_getaffinity.c: ... here.
31892         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31893         * nptl/pthread_attr_setaffinity.c: ... here.
31894         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31895         * nptl/pthread_mutex_cond_lock.c: ... here.
31896         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31897         Update #include.
31898         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31899         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31900         * nptl/pthread_once.c: ... here, replacing old file.
31901         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31902         * nptl/pthread_yield.c: ... here.
31903         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31904         * nptl/register-atfork.c: ... here.
31905         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31906         * nptl/sem_post.c: ... here.
31907         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31908         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31909         * nptl/sem_timedwait.c: ... here.
31910         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31911         * nptl/sem_trywait.c: ... here.
31912         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31913         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31914         * nptl/sem_wait.c: ... here.
31915         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31916         * nptl/structsem.sym: ... here.
31917         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31918         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31919         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31920         * nptl/unregister-atfork.c: ... here.
31921         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31922         * nptl/unwindbuf.sym: ... here.
31923         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31924         * sysdeps/nptl/fork.c: ... here.
31925         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31926         * sysdeps/nptl/fork.h: ... here.
31927         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31928         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31929         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31930         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31931         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31932         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31933         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31934         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31935         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31936         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31937         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31938         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31939         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31940         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31941         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31942         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31943         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31944         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31945         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31946         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31947         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31948         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31949         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31950         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31951         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31952         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31953         * sysdeps/unix/sysv/linux/raise.c: ... here.
31954         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31955         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31956         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31957         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31958         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31959         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31960         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31961         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31962         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31963         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31964         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31965         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31966         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31967         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31968         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31970 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31972         * sysdeps/generic/memcopy.h: Add comment for
31973         MEMCPY_OK_FOR_FWD_MEMMOVE.
31975 2014-07-04  Will Newton  <will.newton@linaro.org>
31977         * string/memchr.c: Merge from gnulib.
31978         [_LIBC]: Remove conditionals.
31979         (__ptr_t): Remove define.
31980         (LONG_MAX_32_BITS): Likewise.
31981         (LONG_MAX): Likewise.
31982         (MEMCHR): Use ANSI prototype and optimize algorithm.
31984         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31986 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31988         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31989         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31991         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31992         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31993         in a bare environment with no <stdlib.h> installed.
31994         * sysdeps/nptl/configure: Regenerated.
31996         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31998         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31999         AC_EGREP_CPP for kernel header checks, so they only succeed if
32000         including <linux/version.h> actually works right.
32001         * sysdeps/unix/sysv/linux/configure: Regenerated.
32003         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32004         value so it's not diagnosed as unused.
32006         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32007         thing) with "ifeq ($(subdir),rt)".
32009 2014-07-03  Richard Henderson  <rth@redhat.com>
32011         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32012         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32013         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32015         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32016         (math_force_eval): New.
32018         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32019         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32021         * sysdeps/alpha/fpu/s_round.c: Remove file.
32022         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32024         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32025         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32026         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32027         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32028         (_dl_start, print_statistics): Likewise.
32029         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32030         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32032         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32033         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32034         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32035         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32036         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32037         (HP_SMALL_TIMING_AVAIL): Define.
32038         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32039         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32040         (HP_SMALL_TIMING_AVAIL): Define.
32041         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32042         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32044         * sysdeps/aarch64/hp-timing.h: New file.
32046         * sysdeps/generic/hp-timing.h: Remove dead comment.
32047         * sysdeps/generic/hp-timing-common.h: New file.
32048         * sysdeps/alpha/hp-timing.h: Include it.
32049         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32050         * sysdeps/i386/i686/hp-timing.h: Likewise.
32051         * sysdeps/ia64/hp-timing.h: Likewise.
32052         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32053         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32054         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32055         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32056         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32057         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32058         (hp_timing_t): New.
32060         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32061         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32062         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32063         * elf/rtld.c (_dl_start_final): Likewise.
32064         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32065         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32066         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32067         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32068         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32069         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32070         (HP_TIMING_DIFF_INIT): Remove.
32071         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32072         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32073         (HP_TIMING_DIFF_INIT): Remove.
32074         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32075         * sysdeps/i386/i686/hp-timing.c: Remove file.
32076         * sysdeps/x86_64/hp-timing.c: Remove file.
32077         * sysdeps/ia64/hp-timing.c: Remove file.
32078         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32079         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32080         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32081         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32083         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32084         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32085         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32086         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32087         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32088         (HP_TIMING_ACCUM): Remove.
32089         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32090         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32091         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32093         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32094         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32095         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32096         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32097         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32098         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32099         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32100         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32102         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32104 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
32106         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32108 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32110         Sync up with gettext.
32111         * intl/loadmsgcat.c: Define O_BINARY if not defined.
32112         [_MSC_VER]: Include malloc.h
32113         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32114         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32115         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
32116         TEMP_FAILURE_RETRY.  Cast return of alloca.
32117         [!_LIBC] Call gl_rwlock_init.
32118         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32120 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32122         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32123         before checking its value.
32125 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32127         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32129         * debug/memcpy_chk.c: Don't include pagecopy.h.
32130         * debug/mempcpy_chk.c: Likewise.
32131         * string/memcpy.c: Likewise.
32132         * string/memmove.c: Likewise.
32133         * sysdeps/powerpc/memmove.c: Likewise.
32134         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32135         definition of PAGE_COPY_FWD_MAYBE here...
32136         * sysdeps/generic/pagecopy.h: ... from here.
32137         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32139 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32140             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32142         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32144         optimizations.
32145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32146         (__libc_ifunc_impl_list): Likewise.
32147         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32148         multiarch strcat for PPC64.
32149         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32150         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32152 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32154         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32156 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32158         * intl/loadmsgcat.c: Remove declaration of
32159         get_sysdep_segment_value.
32160         (get_sysdep_segment_value): Use ISO C style.
32161         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32162         semicolon.  Fix typo and formatting in comment.
32163         (_nl_unload_domain): Use ISO C style.
32165         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32167 2014-07-02  Will Newton  <will.newton@linaro.org>
32169         * malloc/obstack.c: Merge from gnulib master.
32170         [HAVE_CONFIG_H]: Remove conditional code.
32171         [!_LIBC]: Include config.h.
32172         [!ELIDE_CODE]: Don't include inttypes.h, include
32173         stdint.h unconditionally.
32174         (print_and_abort): Mark as _Noreturn.
32175         (_obstack_allocated_p): Mark as __attribute_pure__.
32176         (obstack_free): Rename to __obstack_free.
32177         [!__attribute__]: Remove conditional code.
32178         * malloc/obstack.h: Merge from gnulib master.
32179         [__cplusplus]: Move conditional down.
32180         [!__attribute_pure__]: Define __attribute_pure__ here
32181         if it is not already defined.
32182         (_obstack_memory_used): Mark as __attribute_pure__.
32183         [!__obstack_free]: Define as obstack_free.
32184         [__GNUC__]: Remove check for ancient NeXT gcc.
32186 2014-07-02  Will Newton  <will.newton@linaro.org>
32187             Paul Eggert  <eggert@cs.ucla.edu>
32189         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32191 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32193         * resolv/gethnamaddr.c: Add comment warning that the file is
32194         not maintained.
32196 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32198         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32199         entries.
32201         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32202         entry for aio_cancel and aio_cancel64.
32203         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32204         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32205         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32206         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32207         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32208         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32209         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32210         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32211         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32212         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32213         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32214         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32215         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32217 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32219         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32220         * nptl/pthread_mutex_lock.c: Likewise.
32221         * nptl/pthread_mutex_timedlock.c: Likewise.
32222         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32224 2014-07-01  Richard henderson  <rth@redhat.com>
32226         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32227         (__isnan, __isnanl): Remove.
32228         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32230         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32232 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32234         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32236 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32238         * resolv/nss_dns/dns-host.c (getanswer_r)
32239         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32241 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32243         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32244         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32245         undefine.
32246         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32247         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32249 2014-07-01  Roland McGrath <roland@hack.frob.com>
32251         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32252         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32254         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32255         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32257         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32258         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32259         ... here.
32260         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32261         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32263         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32264         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32265         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32266         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32268         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32269         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32270         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32271         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32272         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32273         Moved ...
32274         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32275         ... here.
32276         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32277         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32278         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32279         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32280         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32281         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32282         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32283         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32284         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32285         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32286         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32287         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32288         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32289         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32290         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32291         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32292         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32293         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32294         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32295         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32296         ... here.
32297         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32298         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32299         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32300         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32301         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32302         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32303         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32304         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32306 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32308         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32309         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32310         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32311         Add sysdep.
32313 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32317 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32319         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32320         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32322         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32324         * sysdeps/arm/libm-test-ulps: Regenerated.
32326 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32327             Roland McGrath <roland@hack.frob.com>
32329         * test-skeleton.c (signal_handler): Kill the whole process group
32330         before killing the child individually.
32331         (main): Report any failure on `setpgid'.
32333 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32335         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32336         from _TLS_H to _ARM_NPTL_TLS_H.
32337         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32338         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32340 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32342         [BZ #16539]
32343         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32344         (__expm1l): Return argument unchanged when small but not
32345         subnormal.
32347         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32348         include macro name.
32349         (_FP_UNPACK_RAW_1_P): Likewise.
32350         (_FP_PACK_RAW_1): Likewise.
32351         (_FP_PACK_RAW_1_P): Likewise.
32352         (_FP_MUL_MEAT_1_wide): Likewise.
32353         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32354         (_FP_MUL_MEAT_1_hard): Likewise.
32355         (_FP_DIV_MEAT_1_imm): Likewise.
32356         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32357         (_FP_DIV_MEAT_1_udiv): Likewise.
32358         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32359         (_FP_UNPACK_RAW_2): Likewise.
32360         (_FP_UNPACK_RAW_2_P): Likewise.
32361         (_FP_PACK_RAW_2): Likewise.
32362         (_FP_PACK_RAW_2_P): Likewise.
32363         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32364         (_FP_MUL_MEAT_2_wide): Likewise.
32365         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32366         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32367         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32368         (_FP_MUL_MEAT_2_gmp): Likewise.
32369         (_FP_DIV_MEAT_2_udiv): Likewise.
32370         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32371         (_FP_FRAC_SRL_4): Likewise.
32372         (_FP_FRAC_SRST_4): Likewise.
32373         (_FP_FRAC_SRS_4): Likewise.
32374         (_FP_UNPACK_RAW_4): Likewise.
32375         (_FP_UNPACK_RAW_4_P): Likewise.
32376         (_FP_PACK_RAW_4): Likewise.
32377         (_FP_PACK_RAW_4_P): Likewise.
32378         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32379         (_FP_MUL_MEAT_4_wide): Likewise.
32380         (_FP_MUL_MEAT_4_gmp): Likewise.
32381         (umul_ppppmnnn): Likewise.
32382         (_FP_DIV_MEAT_4_udiv): Likewise.
32383         (__FP_FRAC_ADD_4): Likewise.
32384         (__FP_FRAC_SUB_3): Likewise.
32385         (__FP_FRAC_SUB_4): Likewise.
32386         (__FP_FRAC_DEC_3): Likewise.
32387         (__FP_FRAC_DEC_4): Likewise.
32388         (__FP_FRAC_ADDI_4): Likewise.
32389         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32390         (_FP_FRAC_SRL_8): Likewise.
32391         (_FP_FRAC_SRS_8): Likewise.
32393         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32394         include macro name.
32395         (FP_UNPACK_RAW_EP): Likewise.
32396         (FP_PACK_RAW_E): Likewise.
32397         (FP_PACK_RAW_EP): Likewise.
32398         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32399         (_FP_ISSIGNAN): Likewise.
32400         (_FP_ADD_INTERNAL): Likewise.
32401         (_FP_FMA): Likewise.
32402         (_FP_CMP): Likewise.
32403         (_FP_SQRT): Likewise.
32404         (_FP_TO_INT): Likewise.
32405         (_FP_FROM_INT): Likewise.
32406         (FP_EXTEND): Likewise.
32407         (_FP_DIV_MEAT_N_loop): Likewise.
32409 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32411         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32412         throughout.
32414 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32416         [BZ #17097]
32417         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32418         result with correct sign in case of exponents that produce
32419         overflow except for X very close to 1.
32421 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32423         mktime: merge #if/#ifdef usage from glibc
32424         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32425         as that works with both Glibc's and Gnulib's style.
32426         See thread starting at Siddhesh Poyarekar's bug report at:
32427         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32429 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32431         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32432         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32433         * sysdeps/tile/tilegx/memmove.c: Remove file.
32435 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32437         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32438         abi-name definition.
32439         * scripts/soversions.awk: Do not handle or generate ABI lines.
32440         * shlib-versions: Remove ABI entries.
32441         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32442         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32444 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32446         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32447         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32448         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32449         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32450         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32451         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32452         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32453         Moved ...
32454         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32455         ... here.
32456         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32457         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32458         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32459         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32460         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32461         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32463         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32464         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32465         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32466         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32467         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32468         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32469         Moved ...
32470         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32471         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32472         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32473         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32474         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32475         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32476         Moved ...
32477         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32478         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32479         Moved ...
32480         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32481         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32482         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32484         Moved ...
32485         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32486         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32487         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32488         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32489         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32490         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32491         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32492         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32493         Moved ...
32494         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32495         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32496         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32497         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32498         Moved ...
32499         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32500         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32501         Moved ...
32502         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32503         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32504         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32505         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32506         Moved ...
32507         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32508         ... here.
32509         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32510         Identical file removed.
32511         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32512         Moved ...
32513         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32514         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32515         Identical file removed.
32516         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32517         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32518         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32519         Moved ...
32520         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32522         Identical file removed.
32523         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32524         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32525         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32526         Identical file removed.
32527         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32528         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32529         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32530         Identical file removed.
32531         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32532         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32533         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32534         Identical file removed.
32535         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32536         Moved ...
32537         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32538         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32539         Identical file removed.
32540         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32541         Moved ...
32542         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32543         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32544         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32545         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32546         Identical file removed.
32547         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32548         Moved ...
32549         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32550         ... here.
32551         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32552         Identical file removed.
32553         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32554         Moved ...
32555         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32556         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32557         Identical file removed.
32558         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32559         Moved ...
32560         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32561         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32562         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32563         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32564         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32565         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32566         Moved ...
32567         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32568         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32569         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32571         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32572         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32573         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32574         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32575         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32577 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32579         [BZ #17092]
32580         * nscd/nscd.c (monitor_child): Return exit status of child
32581         instead of return value from wait syscall.
32583 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32585         * configure.ac (libc_commonpagesize): Remove variable.
32586         (libc_relro_required): Likewise.
32587         (libc_cv_z_relro): Remove configure test.
32588         * configure: Regenerated.
32589         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32590         variable.
32591         (libc_relro_required): Likewise.
32592         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32593         (libc_relro_required): Likewise.
32594         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32595         (libc_relro_required): Likewise.
32596         * sysdeps/arm/preconfigure: Regenerated.
32597         * sysdeps/ia64/preconfigure: Remove file.
32598         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32599         variable.
32600         (libc_relro_required): Likewise.
32602         [BZ #16561]
32603         [BZ #16562]
32604         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32605         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32606         recompute overflowing results in original rounding mode.
32607         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32608         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32609         recompute overflowing results in original rounding mode.
32610         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32611         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32612         recompute overflowing results in original rounding mode.
32613         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32614         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32615         recompute overflowing results in original rounding mode.
32616         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32617         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32618         recompute overflowing results in original rounding mode.
32619         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32620         (libc_feholdsetround_ctx): New macro.
32621         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32622         * sysdeps/i386/fpu/libm-test-ulps: Update.
32623         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32625 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32627         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32628         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32629         corresponding .cpsetup call.
32631 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32633         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32634         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32635         * sysdeps/arm/Makefile [$(subdir) = csu]
32636         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32637         (static-only-routines): Add aeabi_read_tp here.
32638         (shared-only-routines): Add libc-aeabi_read_tp here.
32639         (CFLAGS-libc-start.c): Add -fexceptions here.
32640         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32641         (sysdep_routines, static-only-routines, shared-only-routines):
32642         Don't add to these here.
32643         (CFLAGS-libc-start.c): Likewise.
32645         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32646         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32647         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32648         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32649         * sysdeps/arm/Makefile [$(subdir) = rt]
32650         (librt-sysdep_routines, librt-shared-only-routines):
32651         Append rt-aeabi_unwind_cpp_pr1 here.
32652         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32653         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32654         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32655         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32656         Append nptl-aeabi_unwind_cpp_pr1 here.
32657         (tests): Filter out tst-cleanupx4 here.
32658         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32659         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32660         Don't do those here.
32662 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32664         * scripts/list-sources.sh: Do not handle ports specially.
32666 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32668         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32669         * sysdeps/arm/feupdateenv.c: Likewise.
32671         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32673 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32675         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32676         trailing whitespace removed.
32677         * scripts/config.guess: Update to version 2014-03-23.
32678         * scripts/config.sub: Update to version 2014-05-01
32679         * scripts/install-sh: Update to version 2013-12-25.23.
32680         * scripts/move-if-change: Update from gnulib.
32682 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32684         * debug/memmove_chk.c: Remove pagecopy.h include.
32686 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32688         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32689         identical to gnulib mktime.
32691 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32693         * configure.ac: Do not test for machine being rs6000.  Do not test
32694         for powerpc*-*soft.
32695         * configure: Regenerated.
32697         [BZ #11505]
32698         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32699         test.
32700         * configure: Regenerated.
32701         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32702         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32703         Remove configure test.
32704         * sysdeps/arm/configure: Regenerated.
32705         * sysdeps/nptl/configure.ac: Do not check
32706         libc_cv_asm_cfi_directives.
32707         * sysdeps/nptl/configure: Regenerated.
32708         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32709         * sysdeps/x86_64/nptl/configure: Remove generated file.
32710         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32711         unconditional.
32712         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32714 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32716         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32717         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32718         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32719         it is defined.
32721         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32722         instead of whether it is defined.
32723         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32724         * sysdeps/hppa/dl-machine.h: Likewise.
32725         * sysdeps/ia64/dl-machine.h: Likewise.
32726         * sysdeps/m68k/dl-machine.h: Likewise.
32727         * sysdeps/microblaze/dl-machine.h: Likewise.
32728         * sysdeps/mips/dl-machine.: Likewise.
32729         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32730         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32731         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32732         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32733         * sysdeps/sh/dl-machine.h: Likewise.
32734         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32735         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32736         * sysdeps/tile/dl-machine.h: Likewise.
32737         * sysdeps/x86_64/dl-machine.h: Likewise.
32739         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32740         code.
32741         (verify_persistent_db): Likewise.
32743 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32746         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32748         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32750         Moved ...
32751         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32752         ... here.
32753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32754         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32756         Identical file removed.
32757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32758         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32760         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32762         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32764         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32766         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32768         Moved ...
32769         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32771         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32773         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32775         Moved ...
32776         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32778         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32780         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32782         Identical file removed.
32783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32784         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32786         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32788         Moved ...
32789         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32790         ... here.
32791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32792         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32794         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32796         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32798         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32800         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32802         Moved ...
32803         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32805         Moved ...
32806         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32808         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32810         Moved ...
32811         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32813         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32815         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32816         folded into ...
32817         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32818         * sysdeps/unix/sysv/linux/s390/Versions
32819         (libpthread: GLIBC_2.19): New version set.
32820         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32821         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32822         (librt: GLIBC_2.3.3): New version set.
32823         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32824         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32825         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32826         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32827         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32828         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32829         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32830         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32831         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32832         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32833         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32834         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32835         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32836         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32837         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32838         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32839         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32840         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32841         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32842         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32843         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32844         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32845         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32846         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32847         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32848         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32849         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32850         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32851         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32852         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32853         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32854         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32855         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32856         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32857         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32858         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32859         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32860         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32861         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32862         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32863         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32864         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32865         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32866         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32867         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32869         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32870         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32871         (__libc_vfork): Define the function under this name.
32872         [!NOT_IN_libc] (__vfork): Make this an alias.
32873         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32874         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32875         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32876         (__libc_vfork): Define the function under this name.
32877         [!NOT_IN_libc] (__vfork): Make this an alias.
32878         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32879         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32880         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32881         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32882         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32883         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32885         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32886         code that was previously under [RESET_PID].
32887         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32888         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32889         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32891         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32892         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32893         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32894         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32895         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32896         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32897         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32898         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32899         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32900         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32901         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32902         Moved ...
32903         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32904         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32905         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32906         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32907         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32908         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32909         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32910         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32911         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32912         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32913         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32914         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32915         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32916         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32917         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32918         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32919         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32920         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32921         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32922         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32923         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32924         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32925         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32926         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32927         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32928         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32929         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32930         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32931         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32933 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32935         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32936         that was previously under [RESET_PID].
32937         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32939 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32941         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32942         not undefine and redefine.
32943         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32944         [O_CLOEXEC]: Make code unconditional.
32945         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32946         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32947         <kernel-features.h>.
32948         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32949         conditional variable definition.
32950         (shm_open) [O_CLOEXEC]: Make code unconditional.
32951         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32952         code.
32954         * configure.ac (USE_REGPARMS): Don't define here.
32955         * configure: Regenerated.
32956         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32957         * sysdeps/i386/configure: Regenerated.
32959         * nptl/createthread.c: Don't include kernel-features.h.
32960         * nptl/pthread_cancel.c: Likewise.
32961         * nptl/pthread_condattr_setclock.c: Likewise.
32962         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32963         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32964         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32965         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32966         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32967         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32968         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32969         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32970         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32971         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32972         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32973         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32974         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32975         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32976         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32977         * nscd/gai.c: Likewise.
32978         * nss/nss_db/db-open.c: Likewise.
32979         * sysdeps/generic/ldsodefs.h: Likewise.
32980         * sysdeps/sh/nptl/tls.h: Likewise.
32981         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32982         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32983         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32984         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32985         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32986         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32987         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32988         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32989         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32990         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32991         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32992         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32993         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32994         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32995         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32996         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32997         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32998         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32999         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33000         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33001         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33002         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33003         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33004         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33005         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33006         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33007         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33008         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33009         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33010         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33011         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33012         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33013         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33014         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33015         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33016         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33017         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33018         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33019         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33020         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33021         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33022         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33023         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33024         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33025         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33026         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33027         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33028         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33029         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33030         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33031         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33032         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33033         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33034         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33035         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33036         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33037         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33038         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33061         * sysdeps/unix/sysv/linux/pread.c: Likewise.
33062         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33063         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33064         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33065         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33066         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33067         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33068         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33069         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33070         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33071         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33072         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33073         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33074         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33075         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33076         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33077         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33078         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33079         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33080         * sysdeps/unix/sysv/linux/system.c: Likewise.
33081         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33082         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33083         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33084         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33085         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33086         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33087         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33089         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33090         * configure: Regenerated.
33091         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33093         * configure.ac (base_machine): Do not set specially for particular
33094         machines here.
33095         * configure: Regenerated.
33096         * sysdeps/powerpc/preconfigure: Move machine and base_machine
33097         settings from configure.ac.
33098         * sysdeps/i386/preconfigure: New file.
33099         * sysdeps/s390/preconfigure: Likewise.
33100         * sysdeps/sh/preconfigure: Likewise.
33101         * sysdeps/sparc/preconfigure: Likewise.
33103 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33105         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33106         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33107         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33108         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33109         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33110         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33111         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33112         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33113         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33114         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33115         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33116         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33117         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33118         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33119         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33120         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33121         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33122         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33123         * sysdeps/sparc/sparc64/Makefile: ... appended here.
33125         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33126         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33127         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33128         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33129         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33130         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33131         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33132         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33133         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33134         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33135         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33136         * sysdeps/sparc/sparc32/sem_post.c: ... here.
33137         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33138         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33139         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33140         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33141         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33142         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33143         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33144         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33145         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33146         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33147         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33148         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33149         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33150         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33151         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33152         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33153         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33154         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33155         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33156         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33157         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33158         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33159         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33160         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33161         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33162         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33165         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33167         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33169         Moved ...
33170         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33171         ... here.
33172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33173         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33175         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33177         Moved ...
33178         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33180         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33182         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33184         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33186         Moved ...
33187         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33189         Moved ...
33190         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33192         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33194         Moved ...
33195         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33197         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33199         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33201         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33203         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33205         Moved ...
33206         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33207         ... here.
33208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33209         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33211         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33213         Moved ...
33214         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33216         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33218         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33220         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33222         Moved ...
33223         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33225         Moved ...
33226         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33228         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33230         Moved ...
33231         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33233         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33235         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33237 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33239         * timezone/checktab.awk: Update from tzcode 2014e.
33240         * timezone/private.h: Likewise.
33241         * timezone/tzfile.h: Likewise.
33242         * timezone/zdump.c: Likewise.
33243         * timezone/zic.c: Likewise.
33245         * sysdeps/unix/sysv/linux/kernel-features.h
33246         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33247         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33248         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33249         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33250         Remove conditional code.
33252 2014-06-25  Will Newton  <will.newton@linaro.org>
33254         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33255         (_dl_arm_cap_flags): Add HWCAP2 values.
33256         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33257         (_DL_HWCAP_COUNT): Increase to 37.
33258         (_DL_HWCAP_LAST): New define.
33259         (_DL_HWCAP2_LAST): New define.
33260         (_dl_procinfo): Add support for printing
33261         AT_HWCAP2 entries.
33262         (_dl_string_hwcap): Use _dl_hwcap_string.
33264 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33268 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33270         * README: Do not mention ports directory.
33272         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33273         Remove macro.
33274         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33275         <kernel-features.h>.
33276         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33277         conditional variable definition.
33278         (__futimes): Update comment.
33279         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33280         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33282         [BZ #16560]
33283         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33284         arguments close to 0.
33285         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33286         Likewise.
33287         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33288         Likewise.
33289         * math/auto-libm-test-in: Add more tests of exp10.
33290         * math/auto-libm-test-out: Regenerated.
33291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33293         * sysdeps/unix/sysv/linux/kernel-features.h
33294         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33295         * sysdeps/unix/sysv/linux/readv.c: Do not include
33296         <kernel-features.h>.
33297         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33298         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33299         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33300         unconditional.
33301         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33302         conditional code.
33303         * sysdeps/unix/sysv/linux/writev.c: Do not include
33304         <kernel-features.h>.
33305         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33306         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33307         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33308         unconditional.
33309         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33310         conditional code.
33312 2014-06-25  Will Newton  <will.newton@linaro.org>
33314         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33315         comment changes throughout the file.  Remove checks
33316         for HAVE_*_H definitions that are not required.
33317         (__gen_tempname): Call abort if an unknown kind value is
33318         passed.
33320 2014-06-25  Andreas Schwab  <schwab@suse.de>
33322         [BZ #17086]
33323         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33324         scalbln, scalblnf, scalblnl in libc.
33326 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33328         [BZ #17086]
33329         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33330         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33331         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33333 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33335         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33336         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33337         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33338         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33339         Update #include.
33340         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33341         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33342         Update #include.
33343         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33344         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33345         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33346         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33347         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33348         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33349         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33350         * sysdeps/x86/bits/semaphore.h: ... here.
33351         * sysdeps/x86/nptl/elide.h: Moved ...
33352         * sysdeps/x86/elide.h: ... here.
33353         * sysdeps/x86_64/nptl/Implies: File removed.
33354         * sysdeps/i386/nptl/Implies: File removed.
33356 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33358         [BZ #16539]
33359         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33360         return the argument for normal arguments with exponent below -64.
33361         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33362         Likewise.
33363         * math/auto-libm-test-in: Add another test of expm1.
33364         * math/auto-libm-test-out: Regenerated.
33366         [BZ #16287]
33367         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33368         calling __erfcl for arguments at least 16.
33369         * math/auto-libm-test-in: Add more tests of erf.
33370         * math/auto-libm-test-out: Regenerated.
33372         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33373         individual architectures.
33374         * sysdeps/unix/sysv/linux/configure: Regenerated.
33375         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33376         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33377         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33378         (ldd_rewrite_script): Define variable.
33379         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33381         file.
33382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33383         generated file.
33384         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33385         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33386         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33387         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33388         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33389         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33390         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33391         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33393 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33395         [BZ #17084]
33396         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33397         Rename member __data.d to __data.__elision_data.
33399 2014-06-24  Wilco  <wdijkstr@arm.com>
33401         * NEWS: Add 16918 to fixed bug list.
33403 2014-06-24  Wilco  <wdijkstr@arm.com>
33405         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33407 2014-06-24  Wilco  <wdijkstr@arm.com>
33409         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33410         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33411         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33412         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33413         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33414         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33415         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33416         Use _FPU_MASK_RM.
33418 2014-06-24  Wilco  <wdijkstr@arm.com>
33420         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33422 2014-06-24  Wilco  <wdijkstr@arm.com>
33424         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33425         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33426         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33427         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33429 2014-06-24  Wilco  <wdijkstr@arm.com>
33431         [BZ #16918]
33432         * sysdeps/arm/feupdateenv.c (feupdateenv):
33433         Rewrite to reduce FPSCR accesses and fix return value.
33435 2014-06-24  Wilco  <wdijkstr@arm.com>
33437         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33438         Optimize to avoid unnecessary FPSCR writes.
33439         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33440         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33441         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33442         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33444 2014-06-24  Wilco  <wdijkstr@arm.com>
33446         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33447         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33448         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33449         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33450         Call libc_fetestexcept_vfp.
33451         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33452         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33453         __SOFTFP__ ifdef so that they can be built for softfp.
33455 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33457         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33458         argument type signed char.
33460         * Makerules (check-abi): Dump diff of symlist if the test
33461         fails.
33463 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33465         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33466         using abort.
33468         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33469         Remove unused variable ST.
33471 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33473         [BZ #16354]
33474         [BZ #17061]
33475         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33476         small arguments before calling __expm1.
33477         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33478         small arguments before calling __expm1f.
33479         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33480         small arguments before calling __expm1l.
33481         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33482         Likewise.
33483         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33484         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33485         spurious underflow for some cosh tests.
33486         * math/auto-libm-test-out: Regenerated.
33487         * sysdeps/i386/fpu/libm-test-ulps: Update.
33489         [BZ #17050]
33490         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33491         (__ieee754_y1): Set errno if return value overflows.
33492         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33493         (__ieee754_y1f): Set errno if return value overflows.
33494         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33495         (__ieee754_y1l): Set errno if return value overflows.
33496         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33497         (__ieee754_y1l): Set errno if return value overflows.
33498         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33499         * math/auto-libm-test-out: Regenerated.
33501         * math/gen-auto-libm-tests.c: Document use of
33502         ignore-zero-inf-sign.
33503         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33504         (input_flags): Add ignore-zero-inf-sign.
33505         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33506         * math/gen-libm-test.pl (generate_testfile): Handle
33507         ignore-zero-inf-sign.
33508         * math/auto-libm-test-in: Mark some cpow tests with
33509         ignore-zero-inf-sign and some with xfail-rounding.
33510         * math/auto-libm-test-out: Regenerated.
33511         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33512         * sysdeps/i386/fpu/libm-test-ulps: Update.
33513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33515         [BZ #16315]
33516         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33517         overflowing or underflowing operations take place with sign of
33518         result.
33519         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33520         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33521         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33522         (__ieee754_pow): Recompute overflowing and underflowing results in
33523         original rounding mode.
33524         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33525         (__powl_helper): Allow negative argument X and scale negated value
33526         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33527         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33528         overflowing or underflowing operations take place with sign of
33529         result.
33530         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33531         Include <math.h>.
33532         * math/auto-libm-test-in: Add more tests of pow.
33533         * math/auto-libm-test-out: Regenerated.
33534         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33535         (pow_tonearest_test_data): Remove.
33536         (pow_test_tonearest): Likewise.
33537         (pow_towardzero_test_data): Likewise.
33538         (pow_test_towardzero): Likewise.
33539         (pow_downward_test_data): Likewise.
33540         (pow_test_downward): Likewise.
33541         (pow_upward_test_data): Likewise.
33542         (pow_test_upward): Likewise.
33543         (main): Don't call removed functions.
33544         * sysdeps/i386/fpu/libm-test-ulps: Update.
33545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33547 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33550         Moved ...
33551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33553         Moved ...
33554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33556         Moved ...
33557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33559         Moved ...
33560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33562         File removed.
33563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33564         File removed.
33565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33566         File removed.
33567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33568         File removed.
33569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33570         File removed.
33571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33572         File removed.
33573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33574         File removed.
33575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33576         File removed.
33577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33578         File removed.
33579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33580         File removed.
33581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33582         File removed.
33583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33584         File removed.
33585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33586         Moved ...
33587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33589         Moved ...
33590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33591         ... here.
33592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33593         Moved ...
33594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33596         Moved ...
33597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33599         Moved ...
33600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33602         Moved ...
33603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33605         Moved ...
33606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33608         Moved ...
33609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33611         Moved ...
33612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33615         ... here.
33616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33617         Moved ...
33618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33620         Moved ...
33621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33622         ... here.
33623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33624         Moved ...
33625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33626         ... here.
33627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33628         Moved ...
33629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33630         ... here.
33631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33632         Moved ...
33633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33635         Moved ...
33636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33640         Moved ...
33641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33642         ... here.
33643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33644         Moved ...
33645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33646         ... here.
33647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33648         Moved ...
33649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33651         Moved ...
33652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33654         Moved ...
33655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33657         Moved ...
33658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33660         Moved ...
33661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33662         ... here.
33663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33664         Moved ...
33665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33667         Moved ...
33668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33670         Moved ...
33671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33673         Moved ...
33674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33678         Moved ...
33679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33681         Moved ...
33682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33684         Moved ...
33685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33686         ... here.
33687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33688         Moved ...
33689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33690         ... here.
33691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33692         Moved ...
33693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33694         ... here.
33695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33696         Moved ...
33697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33699         Moved ...
33700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33702         Moved ...
33703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33705         Moved ...
33706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33707         ... here.
33708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33709         Moved ...
33710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33711         ... here.
33712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33713         Moved ...
33714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33715         ... here.
33716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33717         Moved ...
33718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33720         Moved ...
33721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33723 2014-06-23  Will Newton  <will.newton@linaro.org>
33724             Wilco  <wdijkstr@arm.com>
33726         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33727         implementation.  Include get-rounding-mode.h.
33728         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33729         [!libc_feholdsetround_noex_ctx]: Define
33730         libc_feholdsetround_noex_ctx.
33731         [!libc_feholdsetround_noexf_ctx]: Define
33732         libc_feholdsetround_noexf_ctx.
33733         [!libc_feholdsetround_noexl_ctx]: Define
33734         libc_feholdsetround_noexl_ctx.
33735         (libc_feholdsetround_ctx): New function.
33736         (libc_feresetround_ctx): New function.
33737         (libc_feholdsetround_noex_ctx): New function.
33738         (libc_feresetround_noex_ctx): New function.
33740 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33742         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33743         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33744         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33745         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33746         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33747         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33749         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33750         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33751         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33752         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33753         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33754         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33755         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33756         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33757         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33758         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33759         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33760         Moved ...
33761         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33762         ... here.
33763         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33764         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33765         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33766         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33767         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33768         Moved ...
33769         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33770         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33771         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33772         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33773         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33774         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33775         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33776         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33777         Moved ...
33778         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33779         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33780         Moved ...
33781         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33782         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33783         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33784         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33785         Moved ...
33786         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33787         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33788         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33789         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33790         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33791         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33792         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33793         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33794         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33795         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33796         Moved ...
33797         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33798         ... here.
33799         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33800         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33801         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33802         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33803         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33804         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33805         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33806         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33807         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33808         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33809         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33810         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33811         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33812         Moved ...
33813         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33814         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33815         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33816         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33817         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33818         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33819         Moved ...
33820         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33821         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33822         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33823         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33824         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33826         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33827         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33828         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33829         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33830         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33831         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33832         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33833         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33834         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33835         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33836         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33837         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33838         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33839         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33840         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33841         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33842         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33843         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33844         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33845         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33846         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33847         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33848         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33849         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33850         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33851         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33852         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33853         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33855 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33857         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33858         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33859         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33860         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33861         (IPV6_PMTUDISC_INTERFACE): Likewise.
33862         (IPV6_PMTUDISC_OMIT): Likewise.
33864 2014-06-23  Andreas Schwab  <schwab@suse.de>
33866         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33867         Remove unused errout label.
33869 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33871         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33872         macro: hardware supports Vector Crypto instructions.
33874 2014-06-23  Will Newton  <will.newton@linaro.org>
33876         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33877         rather than __builtin_expect.
33879         * elf/dl-lookup.c (undefined_msg): Remove variable.
33880         (_dl_lookup_symbol_x): Replace undefined_msg with string
33881         literal.
33883         * elf/dl-lookup.c (do_lookup_unique): New function.
33884         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33885         to a separate function.
33887 2014-06-23  Andreas Schwab  <schwab@suse.de>
33889         [BZ #17079]
33890         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33891         before reading the next line.
33893 2014-06-23  Will Newton  <will.newton@linaro.org>
33895         * test-skeleton.c (signal_handler): Use printf and %m
33896         rather than perror.  Use printf rather than fprintf to
33897         stderr.  Use puts rather than fputs to stderr.
33898         (main): Likewise.
33900 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33902         * nscd/nscd.c (thread_info_t): Remove typedef.
33903         (thread_info): Remove variable.
33905 2014-06-21  Allan McRae  <allan@archlinux.org>
33907         * NEWS: Mention CVE-2014-4043.
33909 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33911         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33912         * nptl/smp.h: ... here.
33914         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33916         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33917         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33918         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33919         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33921         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33922         * nptl/stack-aliasing.h: New file.
33923         * sysdeps/i386/i686/stack-aliasing.h: New file.
33924         * sysdeps/i386/i686/nptl/Makefile: File removed.
33925         * sysdeps/x86_64/stack-aliasing.h: New file.
33926         * sysdeps/x86_64/nptl/Makefile
33927         (CFLAGS-pthread_create.c): Variable removed.
33929         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33930         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33931         old file.
33932         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33933         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33934         old file.
33936 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33938         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33939         (__ASSUME_SIGFRAME_V2): Remove macro.
33940         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33941         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33942         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33943         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33944         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33945         Declare as function.  Remove conditional macro definitions.
33946         (__default_rt_sa_restorer): Likewise.
33947         (__default_sa_restorer_v1): Remove declaration.
33948         (__default_sa_restorer_v2): Likewise.
33949         (__default_rt_sa_restorer_v1): Likewise.
33950         (__default_rt_sa_restorer_v2): Likewise.
33951         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33952         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33953         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33955 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33957         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33958         (libpthread-routines): Add sysdep.
33959         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33960         * sysdeps/unix/sysv/linux/sparc/Versions
33961         (libpthread: GLIBC_2.3.3): New version set.
33962         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33963         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33964         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33965         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33966         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33967         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33968         Moved ...
33969         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33970         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33971         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33972         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33973         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33974         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33975         * sysdeps/sparc/nptl/sem_init.c: ... here.
33976         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33977         * sysdeps/sparc/nptl/sem_post.c: ... here.
33978         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33979         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33980         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33981         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33982         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33983         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33984         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33985         (libpthread-routines): Add cpu_relax.
33986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33987         File removed.
33988         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33989         (librt: GLIBC_2.3.3): New version set.
33990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33991         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33992         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33993         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33994         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33996         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33998         Moved ...
33999         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34000         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34001         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34002         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34003         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34005         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34007         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34009         Moved ...
34010         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34011         Update #include.
34012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34013         Moved ...
34014         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34015         Update #include.
34016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34017         Moved ...
34018         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34019         Update #include.
34020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34021         Moved ...
34022         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34023         Update #include.
34024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34025         Moved ...
34026         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34027         Update #include.
34028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34029         Moved ...
34030         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34031         Update #include.
34032         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34033         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34035         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34037         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34038         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34039         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34041         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34042         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34043         Moved ...
34044         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34046         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34048         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34050 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34052         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34053         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34054         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34055         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34056         * nscd/nscd.c: Likewise.
34057         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34058         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34059         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34060         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34062         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34063         <kernel-features.h>.
34064         (init_mq_netlink): Remove conditional have_sock_cloexec
34065         definitions.  Remove code conditional on have_sock_cloexec < 0.
34066         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34067         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34068         * sysdeps/unix/sysv/linux/opensock.c: Do not include
34069         <kernel-features.h>.
34070         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34071         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34073 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34075         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34076         Add tests for memset_chk and memset.
34078         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34079         with AVX2_Usable.
34081 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34083         [BZ #16046]
34084         * elf/tst-dl-iter-static.c: New file.
34085         * elf/Makefile (tests-static): Add tst-dl-iter-static.
34087         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34088         error.
34090 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34092         * sysdeps/unix/sysv/linux/kernel-features.h
34093         (__ASSUME_F_GETOWN_EX): Remove macro.
34094         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34095         <kernel-features.h>.
34096         (miss_F_GETOWN_EX): Remove variable or macro.
34097         (do_fcntl): Do not check miss_F_GETOWN_EX.
34098         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34100         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34101         Remove macro.
34102         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34103         [!__ASSUME_AT_RANDOM]: Remove conditional code.
34104         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34106         * sysdeps/unix/sysv/linux/kernel-features.h
34107         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34108         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34109         [ADJ_OFFSET_SS_READ]: Make code unconditional.
34110         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34112 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34114         [BZ #17075]
34115         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34116         Fix calculation of the symbol's value.
34117         * sysdeps/arm/tst-armtlsdescloc.c: New file.
34118         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34119         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34120         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34121         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34122         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34123         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34124         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34125         (modules-names): Add `tst-armtlsdescmod',
34126         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34127         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34128         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34129         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34130         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34131         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34132         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34133         ($(objpfx)tst-armtlsdescloc): New dependency.
34134         ($(objpfx)tst-armtlsdescextnow): Likewise.
34135         ($(objpfx)tst-armtlsdescextlazy): Likewise.
34136         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34137         TLS scheme support.
34138         * sysdeps/arm/configure: Regenerate.
34140 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34142         * include/fcntl.h (__atfct_seterrno): Remove prototype.
34143         (__atfct_seterrno_2): Likewise.
34144         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34145         <kernel-features.h>.
34146         (__ASSUME_ATFCTS): Do not undefine and redefine.
34147         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34148         (__have_atfcts): Remove conditional definition.
34149         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34150         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34151         unreachable if [__ASSUME_ATFCTS].
34152         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34153         not undefine and redefine.
34154         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34155         <kernel-features.h>.
34156         (faccessat) [__NR_faccessat]: Make code unconditional.
34157         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34158         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34159         <kernel-features.h>.
34160         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34161         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34162         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34163         <kernel-features.h>.
34164         (fchownat) [__NR_fchownat]: Make code unconditional.
34165         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34166         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34167         <kernel-features.h>.
34168         (futimesat) [__NR_futimesat]: Make code unconditional.
34169         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34170         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34171         <kernel-features.h>.
34172         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34173         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34174         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34175         <kernel-features.h>.
34176         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34177         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34178         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34179         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34180         <kernel-features.h>.
34181         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34182         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34183         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34184         <kernel-features.h>.
34185         (linkat) [__NR_linkat]: Make code unconditional.
34186         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34187         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34188         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34189         <kernel-features.h>.
34190         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34191         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34192         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34193         <kernel-features.h>.
34194         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34195         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34196         * sysdeps/unix/sysv/linux/openat.c: Do not include
34197         <kernel-features.h>.
34198         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34199         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34200         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34201         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34202         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34203         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34204         <kernel-features.h>.
34205         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34206         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34207         result of INLINE_SYSCALL directly, not via int variable.
34208         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34209         <kernel-features.h>.
34210         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34211         (renameat) [__NR_renameat]: Make code unconditional.
34212         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34213         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34214         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34215         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34216         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34217         (__ASSUME_ATFCTS): Do not undefine and redefine.
34218         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34219         <kernel-features.h>.
34220         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34221         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34222         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34223         <kernel-features.h>.
34224         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34225         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34226         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34227         (__ASSUME_ATFCTS): Do not undefine and redefine.
34228         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34229         <kernel-features.h>.
34230         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34231         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34232         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34233         <kernel-features.h>.
34234         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34235         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34237 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34239         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34241 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34243         [BZ #17069]
34244         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34245         constructed tree before returning error.
34246         * posix/bug-regexp36.c: Expand test case.
34248 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34250         [BZ #6803]
34251         * math/libm-test.inc (scalbln_test_date):
34252         Add errno expectations.
34253         * math/w_scalblnf.c: New File.
34254         Add wrapper which checks for setting errno to ERANGE.
34255         Add weak_alias for corresponding scalbln function.
34256         * math/w_scalbln.c: Likewise.
34257         * math/w_scalblnl.c: Likewise.
34258         * math/Makefile (libm-calls): Add w_scalbln.
34259         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34260         Remove weak_alias for corresponding scalbln function.
34261         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34262         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34263         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34264         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34265         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34266         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34267         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34268         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34269         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34270         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34271         Remove long_double_symbol for scalblnl function in libm, libc.
34272         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34273         Add wrapper which checks for setting errno to ERANGE.
34274         Add long_double_symbol for scalblnl function in libm, libc.
34275         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34276         Remove long_double_symbol for scalblnl in libm.
34277         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34278         Add wrapper which checks for setting errno to ERANGE.
34279         Add long_double_symbol for scalblnl function in libm.
34280         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34281         Do not use wrapper because of own implementation.
34283 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34285         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34286         3 bytes for __pad1 for x32.
34287         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34289 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34290             H.J. Lu  <hongjiu.lu@intel.com>
34292         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34293         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34294         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34295         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34296         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34298 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34300         [BZ #17069]
34301         * posix/regcomp.c (parse_expression): Deallocate partially
34302         constructed tree before returning error.
34303         * posix/Makefile.c (tests): Add bug-regex36.
34304         (generated): Add bug-regex36.mtrace.
34305         (tests-special): Add $(objpfx)bug-regex36-mem.out
34306         (bug-regex36-ENV): New variable.
34307         ($(objpfx)bug-regex36-mem.out): New rule.
34308         * posix/bug-regex36.c: New file.
34310 2014-06-19  Will Newton  <will.newton@linaro.org>
34312         * malloc/malloc.c (systrim): If extra is zero then return
34313         early.
34315 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34317         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34319 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34321         * sysdeps/aarch64/strchr.S: New file.
34323 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34325         [BZ #17022]
34326         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34327         from arguments -2 or below.
34328         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34329         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34331 2014-06-18  Andreas Schwab  <schwab@suse.de>
34333         [BZ #17062]
34334         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34335         of a bracket expr not to run off the end of the string.
34336         * posix/Makefile (tests): Add tst-fnmatch3.
34337         * posix/tst-fnmatch3.c: New file.
34339 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34341         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34342         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34343         [$(cross-compiling) = no]: Likewise.
34344         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34345         [$(cross-compiling) = no]: Likewise.
34347 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34349         [BZ #17031]
34350         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34351         double, adjusted for any remainder from the high double.
34352         * math/libm-test.inc (nearbyint): Add tests.
34353         (rint): Likewise.
34355 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34357         * nptl/sysdeps/powerpc/Makefile: Moved ...
34358         * sysdeps/powerpc/nptl/Makefile: ... here.
34359         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34360         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34361         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34362         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34363         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34364         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34365         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34366         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34367         * nptl/sysdeps/powerpc/tls.h: Moved ...
34368         * sysdeps/powerpc/nptl/tls.h: ... here.
34370 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34372         [BZ #16681]
34373         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34374         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34375         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34376         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34377         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34378         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34379         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34380         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34381         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34383 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34385         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34387 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34389         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34390         defined operator.
34392         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34393         $TIMEOUTFACTOR.
34395 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34397         [BZ #17058]
34398         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34399         non-executed part of the test.
34401 2014-06-16  Andreas Schwab  <schwab@suse.de>
34403         * string/bits/string2.h (strdup, strndup): Update feature guard.
34405 2014-06-14  David S. Miller  <davem@davemloft.net>
34407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34409 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34411         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34412         that was previously under [RESET_PID].
34413         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34415         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34416         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34417         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34418         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34419         (__libc_vfork): New strong alias.
34420         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34422 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34424         * sysdeps/generic/elide.h: New file.
34426 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34428         * Makefile (installed-headers): Adjust path of pthread.h header.
34430 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34432         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34433         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34434         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34435         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34437         * nptl/sysdeps/s390/Makefile: Moved ...
34438         * sysdeps/s390/nptl/Makefile: ... here.
34439         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34440         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34441         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34442         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34443         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34444         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34445         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34446         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34447         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34448         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34449         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34450         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34451         * nptl/sysdeps/s390/tls.h: Moved ...
34452         * sysdeps/s390/nptl/tls.h: ... here.
34454         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34455         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34457 2014-06-13  David S. Miller  <davem@davemloft.net>
34459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34462         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34464         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34466         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34467         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34468         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34469         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34470         Remove RESET_PID cpp guards.
34471         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34472         Remove RESET_PID cpp guards.
34473         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34475 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34477         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34478         __sp to uintptr_t.
34480 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34482         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34483         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34484         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34485         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34486         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34487         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34488         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34489         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34490         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34491         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34492         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34493         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34494         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34495         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34496         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34497         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34498         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34499         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34500         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34501         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34503         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34504         (pthread_rwlock_rdlock): Add elision.
34505         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34506         (pthread_rwlock_wrlock): Add elision.
34507         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34508         (pthread_rwlock_trywrlock): Add elision.
34509         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34510         (pthread_rwlock_tryrdlock): Add elision.
34511         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34512         (pthread_rwlock_tryrdlock): Add elision unlock.
34513         * nptl/sysdeps/pthread/pthread.h:
34514         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34515         (PTHREAD_RWLOCK_INITIALIZER,
34516         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34517         Handle new elision field.
34518         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34519         * sysdeps/arm/nptl/bits/pthreadtypes.h
34520         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34521         * sysdeps/sh/nptl/bits/pthreadtypes.h
34522         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34523         * sysdeps/tile/nptl/bits/pthreadtypes.h
34524         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34525         * sysdeps/a/nptl/bits/pthreadtypes.h
34526         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34527         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34528         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34529         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34530         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34531         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34532         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34533         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34534         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34535         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34536         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34537         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34538         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34539         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34540         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34541         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34542         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34543         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34544         (elision_init): Set try_xbegin to zero when no RTM.
34545         * sysdeps/x86/nptl/bits/pthreadtypes.h
34546         (pthread_rwlock_t): Change __pad1 to __rwelision.
34547         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34549 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34551         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34552         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34553         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34554         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34556 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34558         [BZ #16996]
34559         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34560         that the cached result has been set before returning it.
34562 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34564         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34565         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34566         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34567         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34568         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34569         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34571         * nptl/sysdeps/sparc/Makefile: Moved ...
34572         * sysdeps/sparc/nptl/Makefile: ... here.
34573         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34574         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34575         * nptl/sysdeps/sparc/tls.h: Moved ...
34576         * sysdeps/sparc/nptl/tls.h: ... here.
34577         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34578         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34579         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34580         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34581         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34582         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34583         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34584         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34585         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34586         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34587         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34588         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34589         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34590         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34591         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34592         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34593         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34594         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34595         Update #include.
34596         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34597         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34598         Update #include.
34599         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34600         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34601         Update #include.
34602         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34603         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34604         Update #include.
34606         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34608         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34609         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34611         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34612         (struct list_links): Type removed.
34613         (struct thread_node, struct timer_node): Replace struct list_links
34614         with struct list_head.
34615         (list_unlink_ip): Likewise.
34616         * sysdeps/pthread/timer_routines.c
34617         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34618         (list_append, list_insbefore): Likewise.
34619         (list_init): Function removed.
34620         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34621         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34622         * sysdeps/pthread/Makefile: ... here, new file.
34624         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34625         * sysdeps/nptl/Implies: ... here.
34626         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34627         * nptl/sysdeps/pthread/list.h: Moved ...
34628         * include/list.h: ... here.
34629         * nptl/sysdeps/pthread/createthread.c: Moved ...
34630         * nptl/createthread.c: ... here.
34631         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34632         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34633         * nptl/pt-longjmp.c: ... here.
34634         * nptl/sysdeps/pthread/Makefile: Moved ...
34635         * sysdeps/nptl/Makefile: ... here.
34636         * nptl/sysdeps/pthread/Subdirs: Moved ...
34637         * sysdeps/nptl/Subdirs: ... here.
34638         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34639         * sysdeps/nptl/aio_misc.h: ... here.
34640         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34641         * sysdeps/nptl/bits/libc-lock.h: ... here.
34642         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34643         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34644         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34645         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34646         * nptl/sysdeps/pthread/configure: Moved ...
34647         * sysdeps/nptl/configure: ... here.
34648         * nptl/sysdeps/pthread/configure.ac: Moved ...
34649         * sysdeps/nptl/configure.ac: ... here.
34650         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34651         * sysdeps/nptl/gai_misc.h: ... here.
34652         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34653         * sysdeps/nptl/librt-cancellation.c: ... here.
34654         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34655         * sysdeps/nptl/malloc-machine.h: ... here.
34656         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34657         * sysdeps/nptl/pthread-functions.h: ... here.
34658         * nptl/sysdeps/pthread/pthread.h: Moved ...
34659         * sysdeps/nptl/pthread.h: ... here.
34660         * nptl/sysdeps/pthread/setxid.h: Moved ...
34661         * sysdeps/nptl/setxid.h: ... here.
34662         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34663         * sysdeps/nptl/sigfillset.c: ... here.
34664         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34665         * sysdeps/nptl/tcb-offsets.h: ... here.
34666         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34667         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34668         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34669         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34670         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34671         * sysdeps/pthread/allocalim.h: ... here.
34672         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34673         * sysdeps/pthread/bits/sigthread.h: ... here.
34674         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34675         * sysdeps/pthread/flockfile.c: ... here.
34676         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34677         * sysdeps/pthread/ftrylockfile.c: ... here.
34678         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34679         * sysdeps/pthread/funlockfile.c: ... here.
34680         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34681         * sysdeps/pthread/posix-timer.h: ... here.
34682         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34683         * sysdeps/pthread/timer_create.c: ... here.
34684         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34685         * sysdeps/pthread/timer_delete.c: ... here.
34686         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34687         * sysdeps/pthread/timer_getoverr.c: ... here.
34688         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34689         * sysdeps/pthread/timer_gettime.c: ... here.
34690         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34691         * sysdeps/pthread/timer_routines.c: ... here.
34692         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34693         * sysdeps/pthread/timer_settime.c: ... here.
34694         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34695         * sysdeps/pthread/tst-timer.c: ... here.
34696         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34697         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34699         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34700         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34702         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34703         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34704         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34705         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34706         Update #include target.
34707         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34708         * sysdeps/i386/i686/nptl/Makefile: ... here.
34709         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34710         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34711         Update #include target.
34712         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34713         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34714         * nptl/sysdeps/i386/Makefile: Moved ...
34715         * sysdeps/i386/nptl/Makefile: ... here.
34716         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34717         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34718         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34719         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34720         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34721         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34722         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34723         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34724         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34725         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34726         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34727         * nptl/sysdeps/i386/tls.h: Moved ...
34728         * sysdeps/i386/nptl/tls.h: ... here.
34730         * sysdeps/sh/Makefile [$(subdir) = csu]
34731         (gen-as-const-headers): Add tcb-offsets.sym.
34732         * nptl/sysdeps/sh/Makefile: File removed.
34733         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34734         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34735         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34736         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34737         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34738         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34739         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34740         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34741         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34742         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34743         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34744         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34745         * nptl/sysdeps/sh/tls.h: Moved ...
34746         * sysdeps/sh/nptl/tls.h: ... here.
34747         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34748         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34749         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34750         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34751         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34752         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34753         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34754         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34755         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34756         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34757         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34758         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34759         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34760         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34761         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34762         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34763         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34764         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34765         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34766         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34767         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34768         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34769         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34770         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34771         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34772         Moved ...
34773         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34774         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34775         Moved ...
34776         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34777         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34778         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34779         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34780         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34781         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34782         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34783         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34784         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34785         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34786         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34787         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34788         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34789         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34790         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34791         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34792         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34793         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34794         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34796 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34798         * posix/spawn_faction_addopen.c: Include string.h.
34800 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34802         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34803         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34804         * nptl/sysdeps/x86_64/Makefile: Moved ...
34805         * sysdeps/x86_64/nptl/Makefile: ... here.
34806         * nptl/sysdeps/x86_64/configure: Moved ...
34807         * sysdeps/x86_64/nptl/configure: ... here.
34808         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34809         * sysdeps/x86_64/nptl/configure.ac: ... here.
34810         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34811         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34812         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34813         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34814         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34815         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34816         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34817         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34818         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34819         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34820         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34821         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34822         * nptl/sysdeps/x86_64/tls.h: Moved ...
34823         * sysdeps/x86_64/nptl/tls.h: ... here.
34824         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34825         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34826         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34827         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34829         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34831 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34835 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34837         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34838         type.
34839         [POSIX] (off_t): Likewise.
34840         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34841         [POSIX] (S_ISBLK): Require macro.
34842         [POSIX] (S_ISCHR): Likewise.
34843         [POSIX] (S_ISDIR): Likewise.
34844         [POSIX] (S_ISFIFO): Likewise.
34845         [POSIX] (S_ISREG): Likewise.
34846         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34847         optional-macro.
34848         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34849         type.
34850         [POSIX] (time_t): Likewise.
34851         [POSIX] (timer_t): Likewise.
34853 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34855         [BZ #17048]
34856         * posix/spawn_int.h (struct __spawn_action): Make the path string
34857         non-const to support deallocation.
34858         * posix/spawn_faction_addopen.c
34859         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34860         * posix/spawn_faction_destroy.c
34861         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34862         path in all spawn_do_open actions.
34863         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34864         posix_spawn_file_actions_addopen.
34866 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34868         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34869         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34870         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34871         conditional code always true.
34872         (__libc_vfork): New alias.
34874 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34876         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34877         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34879         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34881         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34882         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34884         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34885         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34887         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34888         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34890 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34892         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34893         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34894         multiarch strcmp for PPC64.
34895         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34896         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34897         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34898         multiarch optimizations.
34899         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34900         (__libc_ifunc_impl_list): Likewise.
34902 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34904         * benchtests/scripts/validate_benchout.py: New script.
34905         * benchtests/Makefile (bench-func): Call it.
34906         * benchtests/scripts/benchout.schema.json: New file.
34908 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34910         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34911         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34912         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34913         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34914         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34915         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34916         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34917         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34918         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34919         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34920         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34921         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34922         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34923         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34924         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34925         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34927         Moved ...
34928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34929         ... here.
34930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34931         Moved ...
34932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34934         Moved ...
34935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34936         ... here.
34937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34938         Moved ...
34939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34940         ... here.
34941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34942         Moved ...
34943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34945         Moved ...
34946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34947         ... here.
34948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34949         Moved ...
34950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34951         ... here.
34952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34953         Moved ...
34954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34956         Moved ...
34957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34958         ... here.
34959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34960         Moved ...
34961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34962         ... here.
34963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34964         Moved ...
34965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34966         ... here.
34967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34968         Moved ...
34969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34971         Moved ...
34972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34973         ... here.
34974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34975         Moved ...
34976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34977         ... here.
34978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34979         Moved ...
34980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34981         ... here.
34982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34983         Moved ...
34984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34986         Moved ...
34987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34988         ... here.
34989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34990         Moved ...
34991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34992         ... here.
34993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34994         Moved ...
34995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34997         Moved ...
34998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34999         ... here.
35000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35001         Moved ...
35002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35004         Moved ...
35005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35007         Moved ...
35008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35009         ... here.
35010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35011         Moved ...
35012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35013         ... here.
35014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35015         Moved ...
35016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35017         ... here.
35018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35019         Moved ...
35020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35022         Moved ...
35023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35024         ... here.
35025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35026         Moved ...
35027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35028         ... here.
35029         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35030         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35031         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35032         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35033         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35034         Moved ...
35035         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35036         ... here.
35037         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35038         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35039         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35040         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35041         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35042         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35043         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35044         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35045         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35046         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35047         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35048         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35049         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35050         Moved ...
35051         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35052         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35053         Moved ...
35054         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35055         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35056         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35057         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35058         Moved ...
35059         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35060         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35061         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35062         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35063         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35064         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35065         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35067 2014-06-10  Wilco  <wdijkstr@arm.com>
35069         * math/test-fenv-return.c: New file.
35070         * math/Makefile: Add new test test-fenv-return.
35072 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
35074         [BZ #17042]
35075         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35076         when x - 1 is zero.
35077         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35078         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35079         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35080         0.0L for an argument of 1.0L.
35081         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35082         Likewise.
35083         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35084         value when x - 1 is zero.
35085         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35086         * sysdeps/i386/fpu/libm-test-ulps: Update.
35087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35089 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
35091         [BZ #15119]
35092         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35094 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35096         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35097         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35099 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35101         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35102         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35104         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35105         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35107         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35108         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35110         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35111         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35113         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35114         if not already defined.
35115         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35116         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35117         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35118         (TLS_INIT_TP): Use it.
35119         (TLS_DEFINE_INIT_TP): New macro.
35120         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35122 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
35124         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35125         constant.
35126         [POSIX] (IXANY): Likewise.
35127         [POSIX] (OLCUC): Likewise.
35128         [POSIX || POSIX2008] (CBAUD): Do not allow.
35129         [POSIX || POSIX2008] (DEFECHO): Likewise.
35130         [POSIX || POSIX2008] (ECHOCTL): Likewise.
35131         [POSIX || POSIX2008] (ECHOKE): Likewise.
35132         [POSIX || POSIX2008] (ECHOPRT): Likewise.
35133         [POSIX || POSIX2008] (EXTA): Likewise.
35134         [POSIX || POSIX2008] (EXTB): Likewise.
35135         [POSIX || POSIX2008] (FLUSHO): Likewise.
35136         [POSIX || POSIX2008] (LOBLK): Likewise.
35137         [POSIX || POSIX2008] (PENDIN): Likewise.
35138         [POSIX || POSIX2008] (SWTCH): Likewise.
35139         [POSIX || POSIX2008] (VDISCARD): Likewise.
35140         [POSIX || POSIX2008] (VDSUSP): Likewise.
35141         [POSIX || POSIX2008] (VLNEXT): Likewise.
35142         [POSIX || POSIX2008] (VREPRINT): Likewise.
35143         [POSIX || POSIX2008] (VSTATUS): Likewise.
35144         [POSIX || POSIX2008] (VWERASE): Likewise.
35145         (B*): Change to B[0123456789]*.
35146         * conform/data/time.h-data [POSIX || UNIX98]
35147         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35148         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35149         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35150         [POSIX] (tm_*): Do not allow.
35152 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35154         * Makefile (install): Don't set LANGUAGE.
35155         * Makefile.in (install): Likewise.
35156         * assert/Makefile (test-assert-ENV): Remove variable.
35157         (test-assert-perr-ENV): Likewise.
35158         * elf/Makefile (neededtest4-ENV): Likewise.
35159         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35160         [$(cross-compiling) = no]: Don't set LANGUAGE.
35161         * io/ftwtest-sh (LANG): Remove variable.
35162         * libio/Makefile (tst-widetext-ENV): Likewise.
35163         * manual/install.texi (Running make install): Don't refer to
35164         environment settings for make install.
35165         * INSTALL: Regenerated.
35166         * nptl/tst-tls6.sh: Don't set LANG.
35167         * posix/globtest.sh (LANG): Remove variable.
35168         * string/Makefile (tester-ENV): Likewise.
35169         (inl-tester-ENV): Likewise.
35170         (noinl-tester-ENV): Likewise.
35171         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35172         [$(cross-compiling) = no]: Don't set LANGUAGE.
35173         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35174         without explicit environment settings.
35176 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35178         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35179         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35180         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35181         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35183 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35185         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35186         other files in the crypt directory.
35187         * crypt/crypt.c: Remove duplicate includes.
35188         * crypt/crypt-entry.c: Likewise.
35189         * crypt/crypt_util.c: Likewise.
35191 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35193         * Makeconfig (run-program-env): New variable.
35194         (run-program-prefix-before-env): Likewise.
35195         (run-program-prefix-after-env): Likewise.
35196         (run-program-prefix): Define in terms of new variables.
35197         (built-program-cmd-before-env): New variable.
35198         (built-program-cmd-after-env): Likewise.
35199         (built-program-cmd): Define in terms of new variables.
35200         (test-program-prefix-before-env): New variable.
35201         (test-program-prefix-after-env): Likewise.
35202         (test-program-prefix): Define in terms of new variables.
35203         (test-program-cmd-before-env): New variable.
35204         (test-program-cmd-after-env): Likewise.
35205         (test-program-cmd): Define in terms of new variables.
35206         * Rules (make-test-out): Use $(run-program-env).
35207         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35208         (help): Do not mention environment variables.  Mention
35209         --timeoutfactor option.
35210         (timeoutfactor): New variable.
35211         (blacklist_exports): Remove function.
35212         (exports): Remove variable.
35213         (command): Do not include ${exports}.
35214         * manual/install.texi (Configuring and compiling): Do not mention
35215         test wrappers preserving environment variables.  Mention that last
35216         assignment to a variable must take precedence.
35217         * INSTALL: Regenerated.
35218         * benchtests/Makefile (run-bench): Use $(run-program-env).
35219         * catgets/Makefile ($(objpfx)test1.cat): Use
35220         $(built-program-cmd-before-env), $(run-program-env) and
35221         $(built-program-cmd-after-env).
35222         ($(objpfx)test2.cat): Do not specify environment variables
35223         explicitly.
35224         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35225         $(run-program-env) and $(built-program-cmd-after-env).
35226         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35227         $(run-program-env) and $(test-program-cmd-after-env).
35228         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35229         explicitly.
35230         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35231         run_program_env and test_program_cmd_after_env arguments.
35232         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35233         * elf/tst-pathopt.sh: Use run_program_env argument.
35234         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35235         $(test-wrapper-env) and $(run-program-env).
35236         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35237         run_program_env arguments.
35238         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35239         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35240         $(test-program-prefix-before-env), $(run-program-env) and
35241         $(test-program-prefix-after-env).
35242         ($(objpfx)tst-gettext2.out): Likewise.
35243         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35244         run_program_env and test_program_prefix_after_env arguments.
35245         * intl/tst-gettext2.sh: Likewise.
35246         * intl/tst-gettext4.sh: Do not set environment variables
35247         explicitly.
35248         * intl/tst-gettext6.sh: Likewise.
35249         * intl/tst-translit.sh: Likewise.
35250         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35251         $(test-program-prefix-before-env), $(run-program-env) and
35252         $(test-program-prefix-after-env).
35253         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35254         run_program_env and test_program_prefix_after_env arguments.
35255         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35256         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35257         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35258         explicitly with each use of ${test_wrapper_env}.
35259         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35260         $(test-program-prefix-before-env), $(run-program-env) and
35261         $(test-program-prefix-after-env).
35262         * posix/tst-getconf.sh: Do not set environment variables
35263         explicitly.
35264         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35265         run_program_env and test_program_prefix_after_env arguments.
35266         * stdio-common/tst-printf.sh: Do not set environment variables
35267         explicitly.
35268         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35269         $(test-program-prefix-before-env), $(run-program-env) and
35270         $(test-program-prefix-after-env).
35271         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35272         run_program_env and test_program_prefix_after_env arguments.
35273         Split $test calls into $test_pre and $test.
35274         * timezone/Makefile (build-testdata): Use
35275         $(built-program-cmd-before-env), $(run-program-env) and
35276         $(built-program-cmd-after-env).
35278 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35280         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35281         strlen for non SHARED builds.
35283 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35285         * nptl/allocatestack.c (check_list): Inlined function...
35286         (__reclaim_stacks): ... here.
35288 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35290         [BZ #15698]
35291         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35292         memory overrun.
35294 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35296         * Rules (make-test-out): Include
35297         LOCPATH=$(common-objpfx)localedata in default environment.
35298         * debug/Makefile (tst-chk1-ENV): Remove variable.
35299         (tst-chk2-ENV): Likewise.
35300         (tst-chk3-ENV): Likewise.
35301         (tst-chk4-ENV): Likewise.
35302         (tst-chk5-ENV): Likewise.
35303         (tst-chk6-ENV): Likewise.
35304         (tst-lfschk1-ENV): Likewise.
35305         (tst-lfschk2-ENV): Likewise.
35306         (tst-lfschk3-ENV): Likewise.
35307         (tst-lfschk4-ENV): Likewise.
35308         (tst-lfschk5-ENV): Likewise.
35309         (tst-lfschk6-ENV): Likewise.
35310         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35311         (tst-iconv7-ENV): Likewise.
35312         * intl/Makefile (LOCPATH-ENV): Likewise.
35313         (tst-codeset-ENV): Likewise.
35314         (tst-gettext3-ENV): Likewise.
35315         (tst-gettext5-ENV): Likewise.
35316         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35317         (tst-fopenloc-ENV): Likewise.
35318         (tst-fgetws-ENV): Remove variable.
35319         (tst-ungetwc1-ENV): Likewise.
35320         (tst-ungetwc2-ENV): Likewise.
35321         (bug-ungetwc2-ENV): Likewise.
35322         (tst-swscanf-ENV): Likewise.
35323         (bug-ftell-ENV): Likewise.
35324         (tst-fgetwc-ENV): Likewise.
35325         (tst-fseek-ENV): Likewise.
35326         (tst-ftell-partial-wide-ENV): Likewise.
35327         (tst-ftell-active-handler-ENV): Likewise.
35328         (tst-ftell-append-ENV): Likewise.
35329         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35330         (tst-regexloc-ENV): Likewise.
35331         (bug-regex1-ENV): Likewise.
35332         (tst-regex-ENV): Likewise.
35333         (tst-regex2-ENV): Likewise.
35334         (bug-regex5-ENV): Likewise.
35335         (bug-regex6-ENV): Likewise.
35336         (bug-regex17-ENV): Likewise.
35337         (bug-regex18-ENV): Likewise.
35338         (bug-regex19-ENV): Likewise.
35339         (bug-regex20-ENV): Likewise.
35340         (bug-regex22-ENV): Likewise.
35341         (bug-regex23-ENV): Likewise.
35342         (bug-regex25-ENV): Likewise.
35343         (bug-regex26-ENV): Likewise.
35344         (bug-regex30-ENV): Likewise.
35345         (bug-regex32-ENV): Likewise.
35346         (bug-regex33-ENV): Likewise.
35347         (bug-regex34-ENV): Likewise.
35348         (bug-regex35-ENV): Likewise.
35349         (tst-rxspencer-ENV): Likewise.
35350         (tst-rxspencer-no-utf8-ENV): Likewise.
35351         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35352         (tst-sscanf-ENV): Likewise.
35353         (tst-swprintf-ENV): Likewise.
35354         (tst-swscanf-ENV): Likewise.
35355         (test-vfprintf-ENV): Likewise.
35356         (scanf13-ENV): Likewise.
35357         (bug14-ENV): Likewise.
35358         (tst-grouping-ENV): Likewise.
35359         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35360         (tst-strtod3-ENV): Likewise.
35361         (tst-strtod4-ENV): Likewise.
35362         (tst-strtod5-ENV): Likewise.
35363         (testmb2-ENV): Likewise./
35364         * string/Makefile (tst-strxfrm-ENV): Likewise.
35365         (tst-strxfrm2-ENV): Likewise.
35366         (bug-strcoll1-ENV): Likewise.
35367         (test-strcasecmp-ENV): Likewise.
35368         (test-strncasecmp-ENV): Likewise.
35369         * time/Makefile (tst-strptime-ENV): Likewise.
35370         (tst-ftime_l-ENV): Likewise.
35371         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35372         (tst-mbrtowc-ENV): Likewise.
35373         (tst-wcrtomb-ENV): Likewise.
35374         (tst-mbrtowc2-ENV): Likewise.
35375         (tst-c16c32-1-ENV): Likewise.
35376         (tst-mbsnrtowcs-ENV): Likewise.
35378 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35380         * manual/resource.texi (How to get information about the memory
35381         subsystem?): Fix typo.
35382         Reported by Peon de la Parra Ivan <peon@keba.com>
35384 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35386         [BZ #16882]
35387         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35388         (pthread_spin_lock): Branch out of spin loop to proper location.
35389         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35390         (pthread_spin_lock): Likewise.
35392         * nptl/tst-spin4.c: New test.
35393         * nptl/Makefile (tests): Add tst-spin4.
35395 2014-06-03  Andreas Schwab  <schwab@suse.de>
35397         [BZ #15946]
35398         * resolv/res_send.c (send_dg): Reload file descriptor after
35399         calling reopen.
35401 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35403         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35405 2014-06-03  Richard Henderson  <rth@redhat.com>
35407         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35408         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35409         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35410         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35411         in the SAVE_PID block.
35412         (__libc_vfork): New alias.
35413         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35415         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35416         child in registers, not on the stack.  Remove RESET_PID conditionals.
35417         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35419 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35421         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35423 2014-06-03  Wilco  <wdijkstr@arm.com>
35425         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35426         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35427         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35428         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35429         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35430         Likewise.
35432 2014-06-03  Wilco  <wdijkstr@arm.com>
35434         * sysdeps/aarch64/fpu/math_private.h
35435         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35436         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35437         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35438         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35439         Fix declarations.
35441 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35443         * crypt/crypt-private.h: Include ufc-crypt.h.
35444         (__b64_from_24bit): Declare extern.
35445         * crypt/crypt_util.c(__b64_from_24bit): New function.
35446         (b64t): New static const variable.
35447         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35448         (b64t): Remove variable.
35449         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35450         * crypt/sha256-crypt.c: Include crypt-private.h.
35451         (b64t): Remove variable.
35452         (__sha256_crypt_r): Remove b64_from_24bit and replace
35453         with __b64_from_24bit.
35454         * crypt/sha512-crypt.c: Likewise.
35456 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35458         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35459         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35460         Label the code __libc_vfork rather than __vfork.
35461         [!NOT_IN_libc] (vfork): Define as weak alias.
35462         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35463         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35464         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35466 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35468         * malloc/malloc.c (malloc_info): Fix format specifier for
35469         n_mmaps.
35471 2014-06-02  Wilco  <wdijkstr@arm.com>
35473         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35474         FPCR write.
35476 2014-06-02  Wilco  <wdijkstr@arm.com>
35478         [BZ #17009]
35479         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35480         Rewrite to reduce FPCR/FPSR accesses.
35482 2014-06-01  David S. Miller  <davem@davemloft.net>
35484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35486 2014-05-31  David S. Miller  <davem@davemloft.net>
35488         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35489         to occur in round to nearest mode when |x| >= 2.0
35491 2014-05-30  Richard Henderson  <rth@twiddle.net>
35493         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35494         (PSEUDO_RET_NOERRNO): Remove.
35495         (ret): Don't redefine.
35496         (ret_NOERRNO): Define in terms of ret.
35497         (ret_ERRVAL): Likewise.
35499         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35500         use of PSEUDO_RET; perform the error check directly.
35502 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35504         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35505         with __int128_t.
35507 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35509         * malloc/malloc (malloc_info): Fix formatting.
35511 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35512             Roland McGrath  <roland@hack.frob.com>
35514         * malloc/malloc (malloc_info): Also print mmapped statistics.
35516 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35518         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35519         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35521 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35523         * malloc/malloc.c (malloc_info): Inline mi_arena.
35525 2014-05-29  Richard Henderson  <rth@twiddle.net>
35527         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35528         Remove comma before expanding ASM_ARGS_##nr.
35529         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35530         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35531         of ASM_ARGS_##nr.
35532         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35533         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35534         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35535         (ASM_ARGS_1): Add leading comma.
35537         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35538         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35539         to __errno_location.
35540         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35541         Remove the expected plt for __errno_location.
35543         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35544         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35545         call to __read_tp.
35547         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35548         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35549         it and break it down.
35550         (DOCARGS_0, DOCARGS_1): Do nothing.
35551         (DOCARGS_2): Update to store into the new stack frame.
35552         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35553         (UNDOCARGS_1): Update to restore from the new stack frame.
35554         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35555         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35557         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35558         (SINGLE_THREAD_P): New parameter for result regno.
35559         (PSEUDO): Update to match; use cbz instead of beq.
35561         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35562         Use ENTRY to define the _nocancel entry point.  Share the syscall
35563         and syscall error check paths with the cancel path.
35564         (PSEUDO_END): New.
35566         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35567         whitespace; tabs before and after asm mnemonics.
35569 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35571         [BZ #15132]
35572         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35573         Call fstat64 or stat64 internally, depending on arguments passed.
35574         Replace stat buffer argument with file descriptor argument.
35575         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35576         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35577         Pass fd to __internal_statvfs instead of calling fstat64.
35578         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35579         Pass fd to __internal_statvfs64 instead of calling fstat64.
35580         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35581         Pass -1 to __internal_statvfs instead of calling stat64.
35582         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35583         Pass -1 to __internal_statvfs64 instead of calling stat64.
35585 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35587         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35588         that was previously under [RESET_PID].
35589         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35591         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35592         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35594 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35596         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35598         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35599         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35601 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35603         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35605 2014-05-27  Andreas Schwab  <schwab@suse.de>
35607         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35608         TLS_INIT_TP macro.
35609         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35610         * elf/rtld.c (init_tls, dl_main): Likewise.
35611         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35612         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35613         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35614         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35615         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35616         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35617         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35618         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35619         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35620         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35621         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35622         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35623         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35624         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35625         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35626         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35627         * sysdeps/generic/tls.h: Update description.
35629 2014-05-27  Will Newton  <will.newton@linaro.org>
35631         [BZ #16990]
35632         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35633         and restore r2 rather than just restoring.
35635 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35637         [BZ #16724]
35638         * libio/tst-ftell-append.c: New test case.
35639         * libio/Makefile (tests): Add test case.
35640         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35641         append mode.
35642         * libio/wfileops.c (do_ftell_wide): Likewise.
35644 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35648         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35649         ...
35650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35652         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35653         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35654         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35655         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35656         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35657         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35658         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35659         Moved ...
35660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35661         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35662         Moved ...
35663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35664         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35665         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35666         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35667         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35668         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35669         ...
35670         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35671         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35672         Moved ...
35673         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35674         here.
35675         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35676         ...
35677         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35678         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35679         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35681         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35682         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35683         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35684         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35686         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35687         merge into ...
35688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35689         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35690         ...
35691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35692         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35693         ...
35694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35695         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35696         Moved ...
35697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35698         here.
35699         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35700         Moved ...
35701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35702         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35703         Moved ...
35704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35707         conditional [RESET_PID].
35708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35709         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35710         removed.
35711         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35712         removed.
35714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35715         <tcb-offsets.h>.
35716         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35717         (__libc_vfork): New strong alias.
35718         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35719         removed.
35720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35721         Removed.
35723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35724         <tcb-offsets.h>.
35725         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35726         (__libc_vfork): New strong alias.
35727         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35728         removed.
35729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35730         removed.
35732 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35734         * malloc/malloc.c (mi_arena): New function.
35735         (malloc_info): Remove nested function mi_arena. Call non-nosted
35736         function mi_arena.
35738 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35740         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35741         by insrwi.
35742         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35743         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35744         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35745         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35746         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35747         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35748         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35750 2014-05-26  Andreas Schwab  <schwab@suse.de>
35752         [BZ #16984]
35753         * locale/programs/repertoire.c (repertoire_read): Add slash
35754         between I18NPATH element and file name.
35755         * locale/programs/locfile.c (locfile_read): Likewise.
35757 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35759         * nptl/pthread_mutexattr_settype.c
35760         (__pthread_mutexattr_settype):
35761         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35763 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35765         * nptl/tst-mutex5 (do_test):
35766         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35768 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35770         * benchtests/README: Document 'init' directive.
35771         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35772         BENCH_INIT.
35773         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35774         (parse_file): Recognize 'init' directive.
35776 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35778         [BZ #16796]
35779         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35780         alignment of struct pthread.
35782 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35784         [BZ #16878]
35785         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35786         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35787         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35788         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35790 2014-05-25  Richard Henderson  <rth@twiddle.net>
35792         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35793         (SINGLE_THREAD_P_PIC): Remove.
35794         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35795         (SINGLE_THREAD_P_PIC): Remove.
35797         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35798         branch to syscall error ...
35799         (PSEUDO): ... here.
35800         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35801         from __local_syscall_error to .Lsyscall_error.
35802         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35803         (SYSCALL_ERROR): Update label name.
35805         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35806         Do not use DOARGS/UNDOARGS.
35807         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35808         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35809         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35810         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35811         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35813         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35814         block comment.
35816         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35817         define if !NOT_IN_libc.
35818         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35819         define with non-default symbol versions.
35821 2014-05-23  Richard Henderson  <rth@twiddle.net>
35823         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35824         (vfork, __vfork): Define via compat_symbol.
35826         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35827         [!HAVE_IFUNC] (vfork_compat): Remove.
35828         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35830 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35832         [BZ #16978]
35833         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35834         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35835         variable.
35837 2014-05-23  Richard Henderson  <rth@twiddle.net>
35839         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35840         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35841         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35842         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35844         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35845         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35846         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35847         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35848         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35849         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35850         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35851         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35852         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35853         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35854         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35855         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35856         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35857         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35858         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35859         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35860         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35861         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35862         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35863         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35864         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35865         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35866         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35867         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35868         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35869         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35870         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35871         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35872         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35873         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35874         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35875         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35876         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35877         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35878         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35879         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35880         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35881         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35882         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35883         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35884         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35885         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35886         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35887         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35888         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35889         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35890         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35891         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35892         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35893         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35894         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35895         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35896         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35897         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35898         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35899         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35901         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35902         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35903         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35904         before exiting on error.
35905         (__libc_vfork): New strong alias.
35906         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35907         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35909         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35910         that was previously under [RESET_PID].
35911         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35913         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35915 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35917         [BZ #16977]
35918         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35919         value when x - 1 is zero.
35920         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35921         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35922         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35923         0.0L for an argument of 1.0L.
35924         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35925         Likewise.
35926         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35927         value when x - 1 is zero.
35928         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35929         * sysdeps/i386/fpu/libm-test-ulps: Update.
35930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35932 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35934         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35935         alphasort and versionsort.
35937 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35939         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35940         macro.
35941         [copysignf]: Likewise.
35943 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35945         * crypt/md5-crypt.c: Fix formatting.
35947 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35949         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35950         (b64_from_24bit): New function.
35952 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35954         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35955         libc_hidden_builtin_def to ifunc.
35956         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35957         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35959 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35961         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35962         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35964 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35966         * nscd/Depend (linuxthreads): Remove.
35967         (nptl): Add.
35968         * resolv/Depend (linuxthreads): Remove.
35969         * rt/Depend (linuxthreads): Remove.
35971         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35972         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35973         $(common-objpfx)elf/.
35974         (link-libc-before-gnulib): Likewise.
35975         (elfobjdir): Remove variable.
35976         * Makefile (install): Use $(elf-objpfx) instead of
35977         $(common-objpfx)elf/.
35978         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35979         $(elfobjdir)/.
35980         (link-libc-deps): Likewise.
35981         ($(common-objpfx)libc.so): Likewise.
35982         ($(common-objpfx)linkobj/libc.so): Likewise.
35983         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35984         instead of $(common-objpfx)elf/.
35985         (symbolic-link-list): Likewise.
35986         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35987         [$(cross-compiling) = no]: Likewise.
35988         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35989         $(elfobjdir)/.
35990         (static-gnulib-arch): Likewise.
35991         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35992         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35993         $(common-objpfx)elf/.
35995 2014-05-21  Richard Henderson  <rth@redhat.com>
35997         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35998         (SINGLE_THREAD_P): Use the correct width load.  Fold
35999         into the ldr offset.
36001         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36002         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36004 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
36006         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36007         (libgcc_s_resume): Use __attribute_used__.
36008         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36009         Likewise.
36011 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36013         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36014         optimization when used with float constants.
36016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36018 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
36020         [BZ #16915]
36021         * locale/nl_langinfo_l.c: Make direct reference to every
36022         _nl_current_CATEGORY symbol.
36023         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36024         (tests-static): Add tst-langinfo-static.
36025         (tests-special): Add tst-langinfo-static.out.
36026         ($(objpfx)tst-langinfo.out): Redirect output.
36027         ($(objpfx)tst-langinfo-static.out): New.
36028         * localedata/tst-langinfo.sh: Send output to stdout.
36029         * localedata/tst-langinfo-static.c: New file.
36031         [BZ #16965]
36032         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36033         when the shift amount is modulo the limb size.
36035 2014-05-20  Richard Henderson  <rth@redhat.com>
36037         [BZ #16967]
36038         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36039         Change type of sa_flags from unsigned int to int.
36041         [BZ #16966]
36042         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36044         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36046 2014-05-20  Will Newton  <will.newton@linaro.org>
36048         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36049         Test the return value of the system call in the nocancel case.
36051 2014-05-20  Will Newton  <will.newton@linaro.org>
36052             Yvan Roux  <yvan.roux@linaro.org>
36054         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36055         #include of asm/ptrace.h.
36056         (PTRACE_GET_THREAD_AREA): Remove #undef.
36057         (PTRACE_GETHBPREGS): Likewise.
36058         (PTRACE_SETHBPREGS): Likewise.
36059         (struct user_regs_struct): New structure.
36060         (struct user_fpsimd_struct): New structure.
36061         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36062         #include of asm/ptrace.h and second #include of sys/user.h.
36063         (PTRACE_GET_THREAD_AREA): Remove #undef.
36064         (PTRACE_GETHBPREGS): Likewise.
36065         (PTRACE_SETHBPREGS): Likewise.
36066         (ELF_NGREG): Use new struct user_regs_struct.
36067         (elf_fpregset_t): Use new struct user_fpsimd_struct.
36069 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36071         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36072         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36074 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
36076         [BZ #16958]
36077         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36078         membar to avoid block loads/stores to overlap previous stores.
36080 2014-05-17  Richard Henderson  <rth@redhat.com>
36082         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36083         Create the __##syscall_name##_nocancel entry point.
36084         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36085         Remove; let the sysdep-cancel.h code create it.
36087 2014-05-17  David S. Miller  <davem@davemloft.net>
36089         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36090         Protect with __USE_GNU.
36091         (TIOCSET_TEMPT): Likewise.
36092         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36093         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36094         these are already provided in bits/ioctl-types.h
36096 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36098         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36099         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36101         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36102         Use wait4 regardless of [__NR_waitpid].
36104 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36106         PR libgcc/60166
36107         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36108         (_FP_NANSIGN_Q): Set the quiet bit.
36110 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
36112         * benchtests/Makefile
36113         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36114         not $(common-objpfx)math/libm.so.
36115         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36116         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36117         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36118         $(common-objpfx)dlfcn/libdl.so.
36119         ($(objpfx)tst-audit8): Depend on $(libm), not
36120         $(common-objpfx)math/libm.so.
36121         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36122         not $(common-objpfx)dlfcn/libdl.so.
36123         * math/Makefile
36124         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36125         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
36126         [$(build-shared) = yes].
36127         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36128         $(common-objpfx)nptl/libpthread.so.
36129         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36130         $(common-objpfx)math/libm.so$(libm.so-version) or
36131         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36132         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36133         $(common-objpfx)dlfcn/libdl.so.
36134         * setjmp/Makefile (link-libm): Remove variable.
36135         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36136         * stdio-common/Makefile (link-libm): Remove variable.
36137         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36138         * stdlib/Makefile (link-libm): Remove variable.
36139         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36140         ($(objpfx)tst-strtod-round): Likewise.
36141         ($(objpfx)tst-tininess): Likewise.
36142         ($(objpfx)tst-strtod-underflow): Likewise.
36143         ($(objpfx)tst-strtod6): Likewise.
36144         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36145         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36146         $(common-objpfx)dlfcn/libdl.so.
36148 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36150         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36151         BSD terminal modes definitions.
36153 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36155         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36156         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36158         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36159         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36160         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36161         Don't do #include_next.
36162         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36163         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36164         Don't do #include_next.
36165         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36166         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36167         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36168         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36170 2014-05-16  Allan McRae  <allan@archlinux.org>
36172         * po/sv.po: Update Swedish translation from translation project.
36174         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36175         in sed expression.
36177 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36179         [BZ #16917]
36180         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36181         errno if the TIOCGPTN ioctl fails with an error different than
36182         EINVAL.
36183         * login/tst-ptsname.c: New file.
36184         * login/Makefile (tests): Add tst-ptsname.
36186         [BZ #16943]
36187         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36188         and prlimit64.
36190 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36192         [BZ #16849]
36193         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36194         herrno to return EAI_AGAIN.
36196 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36198         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36199         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36200         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36201         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36202         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36203         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36204         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36205         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36206         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36207         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36208         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36209         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36210         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36211         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36212         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36213         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36214         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36215         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36216         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36217         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36218         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36219         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36220         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36221         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36222         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36223         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36224         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36225         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36226         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36227         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36229         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36231         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36233         Moved ...
36234         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36236         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36238         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36240         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36242         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36244         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36246         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36248         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36250         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36252         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36253         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36254         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36256         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36258         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36260         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36262         Moved ...
36263         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36265         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36267         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36269         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36271         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36273         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36275         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36277         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36279         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36281         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36283         Moved ...
36284         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36286         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36288         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36289         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36290         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36291         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36292         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36293         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36294         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36295         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36296         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36297         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36298         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36299         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36300         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36301         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36302         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36303         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36304         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36305         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36306         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36307         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36308         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36309         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36310         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36311         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36312         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36313         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36314         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36315         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36316         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36317         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36318         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36320         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36321         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36323         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36324         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36325         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36326         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36327         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36328         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36329         Moved ...
36330         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36331         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36332         Moved ...
36333         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36334         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36335         Moved ...
36336         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36337         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36338         Moved ...
36339         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36340         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36341         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36342         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36343         Moved ...
36344         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36345         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36346         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36347         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36348         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36349         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36350         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36351         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36352         Moved ...
36353         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36354         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36355         Moved ...
36356         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36357         ... here.
36358         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36359         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36360         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36361         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36362         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36363         Moved ...
36364         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36365         ... here.
36366         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36367         Moved ...
36368         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36369         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36370         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36371         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36372         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36373         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36374         Moved ...
36375         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36376         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36377         Moved ...
36378         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36379         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36380         Moved ...
36381         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36382         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36383         Moved ...
36384         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36385         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36386         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36387         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36388         Moved ...
36389         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36390         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36391         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36392         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36393         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36394         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36395         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36396         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36397         Moved ...
36398         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36399         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36400         Moved ...
36401         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36402         ... here.
36403         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36404         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36405         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36406         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36407         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36408         Moved ...
36409         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36410         ... here.
36411         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36412         Moved ...
36413         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36414         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36415         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36416         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36417         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36418         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36419         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36420         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36421         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36422         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36423         Moved ...
36424         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36425         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36426         Moved ...
36427         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36428         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36429         Moved ...
36430         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36431         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36432         Moved ...
36433         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36434         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36435         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36436         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36437         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36438         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36439         Moved ...
36440         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36441         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36442         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36443         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36444         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36445         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36446         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36447         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36448         Moved ...
36449         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36450         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36451         Moved ...
36452         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36453         ... here.
36454         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36455         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36456         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36457         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36458         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36459         Moved ...
36460         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36461         ... here.
36462         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36463         Moved ...
36464         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36465         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36466         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36467         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36468         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36469         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36470         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36471         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36472         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36473         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36474         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36476         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36477         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36479         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36480         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36482         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36483         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36484         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36485         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36486         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36487         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36488         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36489         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36490         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36491         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36492         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36493         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36494         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36495         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36496         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36497         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36498         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36499         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36500         Moved ...
36501         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36502         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36503         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36504         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36505         Moved ...
36506         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36507         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36508         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36509         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36510         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36511         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36512         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36513         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36514         Moved ...
36515         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36516         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36517         Moved ...
36518         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36519         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36520         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36521         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36522         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36523         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36524         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36525         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36526         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36527         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36528         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36529         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36530         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36531         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36532         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36533         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36534         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36536         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36537         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36538         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36539         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36540         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36542         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36543         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36544         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36545         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36546         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36547         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36548         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36549         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36550         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36551         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36553         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36554         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36556         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36557         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36558         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36559         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36560         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36561         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36562         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36563         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36564         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36565         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36566         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36567         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36568         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36569         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36570         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36571         Update #include.
36572         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36573         Likewise.
36574         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36575         Likewise.
36576         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36577         Likewise.
36578         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36579         Likewise.
36580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36581         Likewise.
36582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36583         Likewise.
36584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36585         Likewise.
36586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36587         Likewise.
36588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36589         Likewise.
36590         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36591         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36592         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36593         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36594         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36595         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36596         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36597         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36598         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36599         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36600         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36601         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36602         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36603         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36604         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36606         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36607         that was previously under [RESET_PID].
36608         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36609         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36610         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36612         * sysdeps/i386/nptl/Implies: New file.
36613         * sysdeps/x86_64/nptl/Implies: New file.
36614         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36615         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36616         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36617         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36619         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36620         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36621         (__libc_vfork): New strong alias.
36622         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36623         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36625         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36626         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36627         (__libc_vfork): New strong alias.
36628         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36629         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36631         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36632         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36633         (__libc_vfork): New strong alias.
36634         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36635         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36636         * nptl/pt-vfork.c: New file.
36637         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36638         (libpthread: GLIBC_2.20): New version set (empty).
36640 2014-05-14  Will Newton  <will.newton@linaro.org>
36642         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36643         rather than #if.
36645 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36647         [BZ #16564]
36648         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36649         arguments with exponent 65 or above.
36650         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36651         arguments 0x1p113L or above.
36652         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36653         to arguments 0x1p107L or above.
36654         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36655         positive arguments with exponent 65 or above.
36656         * math/auto-libm-test-in: Add more tests of log1p.
36657         * math/auto-libm-test-out: Regenerated.
36659         [BZ #16928]
36660         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36661         non-finite arguments is +0.
36662         * math/s_cacosf.c (__cacosf): Likewise.
36663         * math/s_cacosl.c (__cacosl): Likewise.
36664         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36665         * sysdeps/i386/fpu/libm-test-ulps: Update.
36666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36668         [BZ #16927]
36669         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36670         value.
36671         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36672         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36673         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36674         for explicit high bit of mantissa when testing for argument equal
36675         to 1.
36676         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36677         * sysdeps/i386/fpu/libm-test-ulps: Update.
36678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36680         [BZ #16516]
36681         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36682         (__erf): Scale by 16 instead of 8 in potentially underflowing
36683         case.  Ensure exception if result actually underflows.
36684         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36685         (__erff): Scale by 16 instead of 8 in potentially underflowing
36686         case.  Ensure exception if result actually underflows.
36687         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36688         (efx8): Remove variable.
36689         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36690         case.  Ensure exception if result actually underflows.
36691         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36692         (efx8): Remove variable.
36693         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36694         case.  Ensure exception if result actually underflows.
36695         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36696         (efx8): Remove variable.
36697         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36698         case.  Ensure exception if result actually underflows.
36699         * math/auto-libm-test-in: Add more tests of erf.
36700         * math/auto-libm-test-out: Regenerated.
36702 2014-05-14  Andreas Schwab  <schwab@suse.de>
36704         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36705         Remove code conditionalized on USE___THREAD.
36707         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36708         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36709         not definedness.
36711 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36713         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36714         Define unconditionally.
36715         (__ASSUME_O_CLOEXEC): Likewise.
36716         (__ASSUME_SOCK_CLOEXEC): Likewise.
36717         (__ASSUME_IN_NONBLOCK): Likewise.
36718         (__ASSUME_PIPE2): Likewise.
36719         (__ASSUME_EVENTFD2): Likewise.
36720         (__ASSUME_SIGNALFD4): Likewise.
36721         (__ASSUME_DUP3): Likewise.
36722         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36723         (__ASSUME_DUP3): Do not define.
36724         (__ASSUME_EVENTFD2): Likewise.
36725         (__ASSUME_IN_NONBLOCK): Likewise.
36726         (__ASSUME_O_CLOEXEC): Likewise.
36727         (__ASSUME_PIPE2): Likewise.
36728         (__ASSUME_SIGNALFD4): Likewise.
36729         (__ASSUME_SOCK_CLOEXEC): Likewise.
36730         (__ASSUME_UTIMES): Undefine.
36731         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36732         (__ASSUME_UTIMES): Do not define.
36733         (__ASSUME_O_CLOEXEC): Likewise.
36734         (__ASSUME_SOCK_CLOEXEC): Likewise.
36735         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36736         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36737         0x020621].
36738         (__ASSUME_PIPE2): Likewise.
36739         (__ASSUME_EVENTFD2): Likewise.
36740         (__ASSUME_SIGNALFD4): Likewise.
36741         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36742         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36743         Do not define.
36744         (__ASSUME_EVENTFD2): Likewise.
36745         (__ASSUME_SIGNALFD4): Likewise.
36746         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36747         (__ASSUME_32BITUIDS): Likewise.
36748         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36749         (__ASSUME_IPC64): Likewise.
36750         (__ASSUME_ST_INO_64_BIT): Likewise.
36751         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36752         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36753         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36754         (__ASSUME_UTIMES): Do not define.
36755         (__ASSUME_PSELECT): Likewise.
36756         (__ASSUME_PPOLL): Likewise.
36757         (__ASSUME_O_CLOEXEC): Likewise.
36758         (__ASSUME_SOCK_CLOEXEC): Likewise.
36759         (__ASSUME_IN_NONBLOCK): Likewise.
36760         (__ASSUME_PIPE2): Likewise.
36761         (__ASSUME_EVENTFD2): Likewise.
36762         (__ASSUME_SIGNALFD4): Likewise.
36763         (__ASSUME_DUP3): Likewise.
36764         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36765         (__ASSUME_UTIMES): Likewise.
36766         (__ASSUME_O_CLOEXEC): Likewise.
36767         (__ASSUME_SOCK_CLOEXEC): Likewise.
36768         (__ASSUME_IN_NONBLOCK): Likewise.
36769         (__ASSUME_PIPE2): Likewise.
36770         (__ASSUME_EVENTFD2): Likewise.
36771         (__ASSUME_SIGNALFD4): Likewise.
36772         (__ASSUME_DUP3): Likewise.
36773         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36774         (__ASSUME_UTIMES): Likewise.
36775         (__ASSUME_O_CLOEXEC): Likewise.
36776         (__ASSUME_SOCK_CLOEXEC): Likewise.
36777         (__ASSUME_IN_NONBLOCK): Likewise.
36778         (__ASSUME_PIPE2): Likewise.
36779         (__ASSUME_EVENTFD2): Likewise.
36780         (__ASSUME_SIGNALFD4): Likewise.
36781         (__ASSUME_DUP3): Likewise.
36782         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36783         Likewise.
36784         (__ASSUME_UTIMES): Likewise.
36785         (__ASSUME_EVENTFD2): Likewise.
36786         (__ASSUME_SIGNALFD4): Likewise.
36787         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36788         (__ASSUME_O_CLOEXEC): Likewise.
36789         (__ASSUME_SOCK_CLOEXEC): Likewise.
36790         (__ASSUME_IN_NONBLOCK): Likewise.
36791         (__ASSUME_PIPE2): Likewise.
36792         (__ASSUME_EVENTFD2): Likewise.
36793         (__ASSUME_SIGNALFD4): Likewise.
36794         (__ASSUME_DUP3): Likewise.
36795         (__ASSUME_UTIMES): Undefine.
36797         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36798         feclearexcept.  Remove symbol versioning code.
36799         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36800         symbol versioning code.
36801         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36802         symbol versioning code.
36803         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36804         feupdateenv.  Remove symbol versioning code.
36805         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36806         fegetexceptflag.  Remove symbol versioning code.
36807         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36808         fesetexceptflag.  Remove symbol versioning code.
36809         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36810         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36811         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36812         (__posix_fadvise64_l32): Remove prototype.
36813         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36814         code.
36816 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36818         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36819         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36820         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36821         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36823 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36825         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36826         current working directory
36828 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36830         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36831         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36832         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36833         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36834         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36835         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36836         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36837         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36838         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36839         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36840         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36841         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36842         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36843         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36844         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36845         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36846         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36847         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36848         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36849         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36850         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36851         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36852         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36853         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36854         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36855         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36856         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36857         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36858         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36859         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36860         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36861         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36862         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36863         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36864         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36865         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36866         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36867         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36868         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36869         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36870         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36871         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36873         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36874         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36876         * sysdeps/unix/sysv/linux/arm/Makefile
36877         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36878         Add rt-aeabi_unwind_cpp_pr1.
36879         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36880         Add nptl-aeabi_unwind_cpp_pr1.
36881         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36882         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36883         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36884         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36885         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36886         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36888         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36889         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36890         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36891         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36893         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36894         Deconditionalize the code that was previously under [RESET_PID].
36895         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36897         * sysdeps/generic/exit-thread.h: New file.
36898         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36899         * include/unistd.h (__exit_thread): Remove declaration.
36900         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36901         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36902         * csu/libc-start.c: Include <exit-thread.h>.
36903         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36904         * nptl/pthread_create.c: Include <exit-thread.h>.
36905         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36906         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36907         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36908         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36909         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36910         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36911         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36912         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36913         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36914         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36915         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36916         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36917         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36918         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36919         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36920         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36921         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36923 2014-05-13  Andreas Schwab  <schwab@suse.de>
36925         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36927 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36929         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36930         (__ASSUME_UTIMES): Do not condition on kernel version.
36931         (__ASSUME_PSELECT): Define unconditionally.
36932         (__ASSUME_PPOLL): Likewise.
36933         (__ASSUME_ATFCTS): Likewise.
36934         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36935         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36936         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36937         (__ASSUME_UTIMENSAT): Define unconditionally.
36938         (__ASSUME_PRIVATE_FUTEX): Likewise.
36939         (__ASSUME_FALLOCATE): Likewise.
36940         (__ASSUME_O_CLOEXEC): Likewise.
36941         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36942         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36943         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36944         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36945         (__ASSUME_IN_NONBLOCK): Likewise.
36946         (__ASSUME_PIPE2): Likewise.
36947         (__ASSUME_EVENTFD2): Likewise.
36948         (__ASSUME_SIGNALFD4): Likewise.
36949         (__ASSUME_DUP3): Likewise.
36950         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36951         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36952         (__ASSUME_AT_RANDOM): Likewise.
36953         (__ASSUME_PREADV): Likewise.
36954         (__ASSUME_PWRITEV): Likewise.
36955         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36956         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36957         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36958         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36959         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36960         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36961         (__ASSUME_O_CLOEXEC): Define unconditionally.
36962         (__ASSUME_PSELECT): Do not undefine conditionally.
36963         (__ASSUME_PPOLL): Likewise.
36964         (__ASSUME_ATFCTS): Likewise.
36965         (__ASSUME_SET_ROBUST_LIST): Likewise.
36966         (__ASSUME_UTIMENSAT): Likewise.
36967         (__ASSUME_FDATASYNC): Define unconditionally.
36968         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36969         (__ASSUME_SIGFRAME_V2): Likewise.
36970         )__ASSUME_EVENTFD2): Likewise.
36971         (__ASSUME_SIGNALFD4): Likewise.
36972         (__ASSUME_PSELECT): Do not undefine conditionally.
36973         (__ASSUME_PPOLL): Likewise.
36974         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36975         (__ASSUME_PSELECT): Define unconditionally.
36976         (__ASSUME_PPOLL): Likewise.
36977         (__ASSUME_O_CLOEXEC): Likewise.
36978         (__ASSUME_SOCK_CLOEXEC): Likewise.
36979         (__ASSUME_IN_NONBLOCK): Likewise.
36980         (__ASSUME_PIPE2): Likewise.
36981         (__ASSUME_EVENTFD2): Likewise.
36982         (__ASSUME_SIGNALFD4): Likewise.
36983         (__ASSUME_DUP3): Likewise.
36984         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36985         (__ASSUME_O_CLOEXEC): Likewise.
36986         (__ASSUME_SOCK_CLOEXEC): Likewise.
36987         (__ASSUME_IN_NONBLOCK): Likewise.
36988         (__ASSUME_PIPE2): Likewise.
36989         (__ASSUME_EVENTFD2): Likewise.
36990         (__ASSUME_SIGNALFD4): Likewise.
36991         (__ASSUME_DUP3): Likewise.
36992         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36993         (__ASSUME_EVENTFD2): Likewise.
36994         (__ASSUME_SIGNALFD4): Likewise.
36995         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36997 2014-05-12  Andreas Schwab  <schwab@suse.de>
36999         [BZ #16932]
37000         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37001         (_nss_nis_gethostbyname4_r): Return error if item length is larger
37002         than maximum RPC packet size.
37003         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37004         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37005         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37006         (_nss_nis_getservbyport_r): Likewise.
37008 2014-05-12  Will Newton  <will.newton@linaro.org>
37010         * malloc/Makefile (tests): Add tst-mallopt.
37011         * malloc/tst-mallopt.c: New file.
37013 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37015         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37016         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37018 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37020         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37021         (tst-tlsmod6.so): Likewise.
37023 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37025         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37027 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
37029         [BZ #16064]
37030         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37031         and <dl-procinfo.h>.
37032         (__fegetenv): Save SSE state in envp->__eip if supported.
37033         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37034         envp->__eip if supported.
37035         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37036         and <dl-procinfo.h>.
37037         (__fesetenv): Always set __eip, __cs_selector, __opcode,
37038         __data_offset and __data_selector in environment to 0.  Set SSE
37039         state if supported.
37040         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37041         test-fenv-sse.
37042         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37043         -mfpmath=sse.
37044         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37046 2014-05-09  Will Newton  <will.newton@linaro.org>
37048         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37049         and libc_relro_required for ARM.
37050         * sysdeps/arm/preconfigure: Regenerate.
37052 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37053             Stefan Liebler  <stli@linux.vnet.ibm.com>
37055         * config.make.in (enable-lock-elision): New Makefile variable.
37056         * configure.ac: Likewise.
37057         * configure: Regenerate.
37058         * sysdeps/s390/configure.ac:
37059         Add check for gcc transactions support.
37060         * sysdeps/s390/configure: Regenerate.
37061         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37062         Build elision files if enabled.
37063         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37064         Add lock elision support for s390.
37065         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37066         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37067         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37068         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37069         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37070         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37071         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37072         Likewise.
37073         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37074         Likewise.
37075         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37076         Likewise.
37077         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37078         Likewise.
37079         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37080         (__lll_timedlock_elision, __lll_lock_elision)
37081         (__lll_unlock_elision, __lll_trylock_elision)
37082         (lll_timedlock_elision, lll_lock_elision)
37083         (lll_unlock_elision, lll_trylock_elision): Add.
37084         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37085         (pthread_mutex_t): Add lock elision support for s390.
37087 2014-05-14  Wilco  <wdijkstr@arm.com>
37089         * sysdeps/arm/fclrexcpt.c: Cleanup.
37090         * sysdeps/arm/fedisblxcpt.c: Cleanup.
37091         * sysdeps/arm/feenablxcpt.c: Cleanup.
37092         * sysdeps/arm/fegetenv.c: Cleanup.
37093         * sysdeps/arm/fegetexcept.c: Cleanup.
37094         * sysdeps/arm/fegetround.c: Cleanup.
37095         * sysdeps/arm/feholdexcpt.c: Cleanup.
37096         * sysdeps/arm/fesetenv.c: Cleanup.
37097         * sysdeps/arm/fesetround.c: Cleanup.
37098         * sysdeps/arm/feupdateenv.c: Cleanup.
37099         * sysdeps/arm/fgetexcptflg.c: Cleanup.
37100         * sysdeps/arm/fraiseexcpt.c: Cleanup.
37101         * sysdeps/arm/fsetexcptflg.c: Cleanup.
37102         * sysdeps/arm/ftestexcept.c: Cleanup.
37103         * sysdeps/arm/get-rounding-mode.h: Cleanup.
37104         * sysdeps/arm/setfpucw.c: Cleanup.
37106 2014-05-09  Will Newton  <will.newton@linaro.org>
37108         * sysdeps/arm/armv7/strcmp.S: New file.
37109         * NEWS: Mention addition of ARMv7 optimized strcmp.
37111 2014-05-08  Roland McGrath  <roland@hack.frob.com>
37113         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37114         look for %.ac rather than %.in.
37116         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37117         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37118         * sysdeps/mach/hurd/configure: Regenerated.
37119         * sysdeps/unix/sysv/linux/configure: Regenerated.
37121         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37123 2014-05-07  Steve Ellcey  <sellcey@mips.com>
37125         [BZ# 16922]
37126         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37127         (LONG_SUB): Ditto.
37128         (PTR_SUB): Ditto.
37130 2014-05-07  Andreas Schwab  <schwab@suse.de>
37132         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37133         when skipping over non-matching result from nscd.
37135 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
37137         [BZ #16876]
37138         * nptl/sockperf.c (client): Check socket return value.
37140         [BZ #16877]
37141         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37142         nscd security class.
37144 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37146         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37147         * sysdeps/arm/unwind.h: ... here.
37149 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37151         [BZ# 16916]
37152         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37153         Define.
37155 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37157         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37158         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37159         multiarch strncpy for PPC64.
37160         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37161         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37162         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37163         multiarch optimizations.
37164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37165         (__libc_ifunc_impl_list): Likewise.
37166         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37167         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37168         multiarch stpncpy for PPC64.
37169         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37170         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37172 2014-05-06  Andreas Schwab  <schwab@suse.de>
37174         [BZ #16912]
37175         * gmon/mcount.c (_MCOUNT_DECL): Use
37176         atomic_compare_and_exchange_bool_acq instead of
37177         catomic_compare_and_exchange_bool_acq.
37179 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37181         * elf/Makefile (others, install-bin): Remove pldd.
37182         (pldd-modules): Variable removed.
37183         ($(objpfx)pldd): Target removed.
37184         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37185         (others, install-bin): Append pldd here.
37186         ($(objpfx)pldd): New target.
37188         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37189         to 0, so the first #if test emitted later doesn't see it undefined.
37190         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37191         * sysdeps/gnu/errlist.c: Regenerated.
37193 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37195         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37196         [libc_hidden_builtin_def]: Define to empty value.
37197         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37198         [libc_hidden_builtin_def]: Likewise.
37199         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37200         [libc_hidden_builtin_def]: Likewise.
37201         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37202         [libc_hidden_builtin_def]: Likewise.
37203         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37204         __redirect_memcpy and define ifunc as default hidden symbol.
37205         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37206         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37208 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37210         * locale/iso-4217.def: Reintroduce XDR currency.
37212 2014-05-04  Allan McRae  <allan@archlinux.org>
37214         * po/eo.po: Update Esperanto translation from translation project.
37216 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37218         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37219         and FEATURE_INDEX_MAX to 1.
37220         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37222 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37224         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37225         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37226         * iconvdata/big5.c (ONE_DIRECTION): Define.
37227         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37228         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37229         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37230         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37231         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37232         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37233         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37234         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37235         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37236         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37237         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37238         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37239         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37240         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37241         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37242         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37243         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37244         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37245         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37246         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37247         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37248         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37249         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37250         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37251         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37252         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37253         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37254         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37255         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37256         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37257         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37258         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37259         * iconvdata/johab.c (ONE_DIRECTION): Define.
37260         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37261         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37262         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37263         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37264         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37265         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37266         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37267         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37268         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37269         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37271 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37273         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37274         (_IO_JUMPS_OFFSET): Define to 0.
37276         * nptl/sysdeps/pthread/bits/libc-lock.h
37277         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37278         (__libc_lock_define_initialized_recursive): Always define using
37279         initializer.  Modern compilers treat uninitialized (implicit zero) and
37280         explicit zero initializers the same (i.e. put the datum in bss).
37282 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37284         * nscd/nscd-client.h: Include <string.h>.
37286 2014-05-01  David S. Miller  <davem@davemloft.net>
37288         [BZ #16885]
37289         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37290         multiple zero bytes exist at the end of a string.
37291         Reported by Aurelien Jarno <aurelien@aurel32.net>
37293         * string/test-strcmp.c (check): Add explicit test for situations where
37294         there are multiple zero bytes after the first.
37296 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37298         [BZ #16890]
37299         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37300         when compiling wprintf.
37301         * stdio-common/tstdiomisc.c (t3): New function.
37302         (main): Call it.
37304 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37306         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37307         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37308         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37309         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37311 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37313         * stdlib/longlong.h: Updated from GCC.
37315 2014-05-01  Will Newton  <will.newton@linaro.org>
37316             Bernard Ogden  <bernie.ogden@linaro.org>
37318         * NEWS: Update fixed bug list.
37320         [BZ #15119]
37321         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37323 2014-04-30  David S. Miller  <davem@davemloft.net>
37325         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37326         (libc_feholdexcept_setround_sparc_ctx): New function.
37327         (libc_fesetenv_sparc_ctx): Likewise.
37328         (libc_feupdateenv_sparc_ctx): Likewise.
37329         (libc_feholdsetround_sparc_ctx): Likewise.
37330         (libc_feholdexcept_setround_ctx): Define.
37331         (libc_feholdexcept_setroundf_ctx): Likewise.
37332         (libc_feholdexcept_setroundl_ctx): Likewise.
37333         (libc_fesetenv_ctx): Likewise.
37334         (libc_fesetenvf_ctx): Likewise.
37335         (libc_fesetenvl_ctx): Likewise.
37336         (libc_feupdateenv_ctx): Likewise.
37337         (libc_feupdateenvf_ctx): Likewise.
37338         (libc_feupdateenvl_ctx): Likewise.
37339         (libc_feresetround_ctx): Likewise.
37340         (libc_feresetroundf_ctx): Likewise.
37341         (libc_feresetroundl_ctx): Likewise.
37342         (libc_feholdsetround_ctx): Likewise.
37343         (libc_feholdsetroundf_ctx): Likewise.
37344         (libc_feholdsetroundl_ctx): Likewise.
37346         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37347         with __USE_GNU instead of XOPEN cpp guards.
37349         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37350         0.
37352         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37353         with XOPEN cpp guards.
37355 2014-04-30  Julian Brown  <julian@codesourcery.com>
37357         [BZ #16888]
37358         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37359         handling.
37361 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37363         [BZ #9894]
37364         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37365         Change to 2.6.32.
37366         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37367         * sysdeps/unix/sysv/linux/configure: Regenerated.
37368         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37369         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37370         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37371         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37372         * README: Update reference to required Linux kernel version.
37373         * manual/install.texi (Linux): Update reference to required Linux
37374         kernel headers version.
37375         * INSTALL: Regenerated.
37377         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37378         header inclusion.
37379         [POSIX] (limits.h): Likewise.
37380         [POSIX] (math.h): Likewise.
37381         [POSIX] (sys/wait.h): Likewise.
37382         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37383         function.
37384         [POSIX] (stddef.h): Do not allow header inclusion.
37386 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37388         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37390 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37392         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37393         Return immediately after lll_futex_wake.
37395 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37397         [BZ #16791]
37398         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37399         structure.
37400         (datahead_init_pos): Call datahead_init_common early.
37401         (datahead_init_neg): Likewise.
37403         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37404         datahead_init_neg): New functions.
37405         * nscd/aicache.c (addhstaiX): Use them.
37406         * nscd/grpcache.c (cache_addgr): Likewise.
37407         * nscd/hstcache.c (cache_addhst): Likewise.
37408         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37409         * nscd/netgroupcache.c (do_notfound): Likewise.
37410         (addgetnetgrentX): Likewise.
37411         (addinnetgrX): Likewise.
37412         * nscd/pwdcache.c (cache_addpw): Likewise.
37413         * nscd/servicescache.c (cache_addserv): Likewise.
37415 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37416             Atsushi Onoe  <atsushi@onoe.org>
37418         [BZ #14308]
37419         [BZ #12994]
37420         [BZ #13651]
37421         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37422         one response is valid.
37423         * resolv/res_send.c (send_dg): Check for validity of other
37424         response if the current response is a referral.
37426 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37428         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37430 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37432         [BZ #16823]
37433         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37434         Always divide by positive zero when computing -Inf result.
37435         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37436         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37438 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37440         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37441         FPSCR if value do not change.
37442         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37443         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37444         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37445         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37446         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37447         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37448         function.
37450 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37452         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37453         * sysdeps/unix/sysv/linux/hppa: Move directory from
37454         ports/systeps/unix/sysv/linux/hppa.
37455         * README: Update listing for hppa-*-linux-gnu.
37457 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37459         [BZ #16754]
37460         * manual/stdio.texi (Hook functions): Fix types of stream hook
37461         functions.
37462         [BZ #16854]
37463         * socket/sys/socket.h: Fix typo in comment.
37465 2014-04-28  Wilco  <wdijkstr@arm.com>
37467         * sysdeps/arm/fenv_private.h: New file.
37468         * sysdeps/arm/math_private.h: New file.
37469         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37471 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37473         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37474         with __int128_t.
37475         (La_x86_64_retval): Likewise.
37477 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37479         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37480         fpsr if value didn't change.
37481         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37482         to fpcr if value didn't change.
37483         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37484         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37485         fpsr or fpcr if value didn't change.
37486         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37487         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37488         fpcr if value didn't change.
37489         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37490         to fpsr if value didn't change.
37492 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37494         * nptl/tst-sem3.c: Use test-skeleton.c
37495         (main): Rename to do_test.  Use return instead of
37496         exit.
37497         * nptl/tst-sem4.c: Use test-skeleton.c
37498         (main): Rename to do_test.
37500 2014-04-22  David S. Miller  <davem@davemloft.net>
37502         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37503         (struct sigaction): New struct member __glibc_reserved0, change
37504         type of sa_flags to int.
37506 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37508         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37509         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37511 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37513         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37514         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37516 2014-04-22  Will Newton  <will.newton@linaro.org>
37517             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37519         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37520         (__longjmp): Add longjmp and longjmp_target SystemTap
37521         probes.
37522         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37523         (__sigsetjmp): Add setjmp SystemTap probe.
37525 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37527         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37528         match manual order.
37530 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37532         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37534         * sysdeps/powerpc/fpu/fenv_private.h
37535         (libc_feholdexcept_setroundl_ctx): Define to
37536         libc_feholdexcept_setround_ppc_ctx.
37537         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37538         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37539         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37540         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37542 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37544         * sysdeps/aarch64/math-tests.h: New file.
37546 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37548         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37549         New.
37550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37551         Check and set bit_AVX2_Usable.
37552         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37553         macro.
37554         (bit_AVX2): Likewise.
37555         (index_AVX2_Usable): Likewise.
37556         (CPUID_AVX2): Likewise.
37557         (HAS_AVX2): Likewise.
37559 2014-04-17  Will Newton  <will.newton@linaro.org>
37561         * manual/setjmp.texi (System V contexts): Add note that
37562         calling setcontext on a context created by a call to a
37563         signal handler is undefined.  Update text to note that
37564         setcontext from a signal handler is possible but not
37565         recommended.
37567         [BZ #16629]
37568         * stdlib/tst-setcontext.c: Include signal.h.
37569         (main): Check that the signal stack before and
37570         after swapcontext is the same.
37572         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37573         Re-implement to restore registers in user code and avoid
37574         rt_sigreturn system call.
37576 2014-04-17  Wilco  <wdijkstr@arm.com>
37578         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37579         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37580         * math/test-fenv.c: Skip exception trap tests on targets which only
37581         support non-stop mode.
37583 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37584             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37586         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37587         (libc_feholdsetround_aarch64_ctx)
37588         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37589         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37590         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37591         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37592         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37593         (libc_feresetround_noexl_ctx): Define.
37595 2014-04-16  Richard Henderson  <rth@redhat.com>
37597         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37599         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37600         unwind tables.
37602         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37603         const from the non-libc, non-ldso copy.
37605         * sysdeps/alpha/libm-test-ulps: Regenerate.
37607 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37608             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37610         * sysdeps/aarch64/fpu/math_private.h: New file.
37612 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37614         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37616 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37618         [BZ #16275]
37619         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37620         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37621         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37622         Intel MPX bound registers before _dl_profile_fixup.
37623         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37624         registers after _dl_profile_fixup.  Save and restore bound
37625         registers bnd0/bnd1 when calling _dl_call_pltexit.
37626         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37627         (LR_BND_OFFSET): Likewise.
37628         (LRV_BND0_OFFSET): Likewise.
37629         (LRV_BND1_OFFSET): Likewise.
37631 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37633         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37634         to...
37635         * sysdeps/mach/hurd/i386/tls.h: ... here.
37636         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37637         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37638         fields.
37640 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37642         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37644 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37646         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37648 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37650         [BZ #14770]
37651         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37652         * sysdeps/s390/configure: Regenerate.
37654         [BZ #16824]
37655         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37656         Set round-to-nearest internally to reduce error accumulation.
37658 2014-04-16  Alan Modra  <amodra@gmail.com>
37660         [BZ #16740]
37661         [BZ #16619]
37662         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37663         * math/libm-test.inc (frexp_test_data): Add tests.
37664         * NEWS: Update fixed bug list.
37666 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37668         * benchtests/Makefile: Depend on libraries in build directory.
37669         (bench-math): Separate out math tests.
37670         (bench-pthread): Separate out pthread tests.
37671         (bench): Include math and pthread tests.
37673 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37675         [BZ #16831]
37676         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37677         _dl_debug_initialize.
37679         * configure.ac: Remove SELinux header check.
37680         * configure: Regenerate.
37681         * nscd/selinux.c (perms): Array of const char* to permission names.
37682         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37683         default policy. Call string_to_security_class and string_to_av_perm to
37684         translate strings. Enforce default policy and call avs_has_perm with
37685         results of translated strings.
37687 2014-04-13  David S. Miller  <davem@davemloft.net>
37689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37691 2014-04-12  Allan McRae  <allan@archlinux.org>
37693         [BZ #16838]
37694         * manual/string.texi (Collation Functions): Fix qsort argument
37695         order in example.
37696         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37698 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37700         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37701         Make the test a no-op if there are no exceptions defined.
37703 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37705         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37706         enable-hardcoded-path-in-tests
37708 2014-04-11  Will Newton  <will.newton@linaro.org>
37710         * benchtests/Makefile (extra-objs): Add json-lib.o.
37711         (bench-func): Tidy up JSON output.
37712         * benchtests/bench-skeleton.c: Include json-lib.h.
37713         (main): Use JSON library functions to do output of
37714         benchmark results.
37715         * benchtests/bench-timing-type.c (main): Output the
37716         timing type simply, leaving formatting to the user.
37717         * benchtests/json-lib.c: New file.
37718         * benchtests/json-lib.h: Likewise.
37720 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37722         [BZ #15215]
37723         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37724         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37725         memory barriers.  Add comments.
37726         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37727         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37728         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37729         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37730         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37731         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37733 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37735         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37736         * sysdeps/s390/s390-64/configure.ac: ... this ...
37737         * sysdeps/s390/configure.ac: ... to here.
37738         * sysdeps/s390/s390-32/configure: Delete file.
37739         * sysdeps/s390/s390-64/configure: Delete file.
37740         * sysdeps/s390/configure: Regenerate.
37742 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37744         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37746 2014-04-11  Will Newton  <will.newton@linaro.org>
37748         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37749         to zero if it is not defined elsewhere.  (mtrim): Test
37750         the value of MALLOC_DEBUG with #if rather than #ifdef.
37752 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37754         * benchtests/pthread_once-inputs: New file.
37755         * benchtests/pthread_once-source.c: New file.
37756         * benchtests/README: Update documentation.
37758 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37759             H.J. Lu  <hongjiu.lu@intel.com>
37761         [BZ #16275]
37762         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37763         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37764         * sysdeps/x86_64/configure: Regenerated.
37765         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37766         macro.
37767         (REGISTER_SAVE_RAX): Likewise.
37768         (REGISTER_SAVE_RCX): Likewise.
37769         (REGISTER_SAVE_RDX): Likewise.
37770         (REGISTER_SAVE_RSI): Likewise.
37771         (REGISTER_SAVE_RDI): Likewise.
37772         (REGISTER_SAVE_R8): Likewise.
37773         (REGISTER_SAVE_R9): Likewise.
37774         (REGISTER_SAVE_BND0): Likewise.
37775         (REGISTER_SAVE_BND1): Likewise.
37776         (REGISTER_SAVE_BND2): Likewise.
37777         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37778         bound registers when calling _dl_fixup.
37780 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37782         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37783         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37784         of its definition.
37785         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37786         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37787         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37788         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37789         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37790         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37791         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37793 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37795         [BZ #15514]
37796         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37797         pathconf(_PC_NAME_MAX).
37799 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37801         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37802         Remove macro usage.
37803         (__PTHREAD_SPINS): Move definition to ...
37804         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37805         (__PTHREAD_SPINS): ... here.
37806         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37807         (__PTHREAD_SPIN): Likewise.
37808         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37809         (__PTHREAD_SPIN): Likewise.
37810         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37811         (__PTHREAD_SPIN): Likewise.
37812         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37813         (__PTHREAD_SPIN): Likewise.
37814         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37815         (__PTHREAD_SPIN): Likewise.
37816         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37817         (__PTHREAD_SPIN): Likewise.
37818         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37819         (__PTHREAD_SPIN): Likewise.
37820         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37821         (__PTHREAD_SPIN): Likewise.
37822         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37823         (__PTHREAD_SPIN): Likewise.
37824         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37825         (__PTHREAD_SPIN): Likewise.
37826         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37827         (__PTHREAD_SPIN): Likewise.
37828         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37829         (__PTHREAD_SPIN): Likewise.
37831         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37832         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37833         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37834         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37835         imply folder.
37836         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37837         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37838         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37839         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37840         correct imply path.
37841         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37842         strlen symbol for non multi-arch builds.
37843         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37844         missing hidden_def and weak_alias.
37846 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37848         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37850 2014-04-07  Will Newton  <will.newton@linaro.org>
37852         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37853         and contents.  [!_LIBC] Remove #ifndef and contents.
37854         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37855         * string/memccpy.c (__memccpy): Use ANSI prototype.
37856         * string/memfrob.c (memfrob): Likewise.
37857         * string/strcoll.c (STRCOLL): Likewise.
37858         * string/strlen.c (strlen): Likewise.
37859         * string/strtok.c (STRTOK): Likewise.
37860         * string/strcat.c: Remove unused #include of memcopy.h.
37861         (strcat): Use ANSI prototype.
37862         * string/strchr.c: Remove unused #include of memcopy.h.
37863         (strchr): Use ANSI prototype.
37864         * string/strcmp.c: Remove unused #include of memcopy.h.
37865         (strcmp): Use ANSI prototype.
37866         * string/strcpy.c: Remove unused #include of memcopy.h.
37867         (strcpy): Use ANSI prototype.
37869 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37871         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37872         * config.make.in (config-extra-cppflags): Set it from
37873         libc_extra_cppflags.
37874         * configure.ac (libc_extra_cflags): Make it accumulate over
37875         configure fragments.
37876         (libc_extra_cppflags): New flag.
37877         * configure. Regenerate.
37878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37879         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37880         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37883         [BZ #16815]
37884         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37885         result for FE_DOWNWARD rounding mode.
37886         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37887         Likewise.
37888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37890 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37892         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37893         in function argument name.
37895 2014-04-03  David Svoboda  <svoboda@cert.org>
37897         [BZ #5666]
37898         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37899         explicitly.
37901 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37903         * elf/dl-unmap-segments.h: New file.
37904         * sysdeps/generic/ldsodefs.h
37905         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37906         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37907         * elf/dl-fptr.c: Likewise.
37908         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37909         * sysdeps/aarch64/tlsdesc.c: Likewise.
37910         * sysdeps/arm/tlsdesc.c: Likewise.
37911         * sysdeps/i386/tlsdesc.c: Likewise.
37912         * sysdeps/tile/dl-runtime.c: Likewise.
37913         * sysdeps/x86_64/tlsdesc.c: Likewise.
37914         * elf/dl-load.h: New file.
37915         * elf/dl-load.c: Include it.
37916         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37917         Macros moved to dl-load.h.
37918         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37919         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37920         Use _dl_unmap_segments in place of __munmap.
37921         Break out segment-mapping loop into ...
37922         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37924 2014-04-03  Will Newton  <will.newton@linaro.org>
37926         * elf/dl-lookup.c (do_lookup_x): Remove comment
37927         referring to nested function and move variable
37928         declarations down to before first use.
37930 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37932         [BZ #16799]
37933         [BZ #16800]
37934         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37935         with 0 numerator.
37936         * math/s_catanf.c (__catanf): Likewise.
37937         * math/s_catanh.c (__catanh): Likewise.
37938         * math/s_catanhf.c (__catanhf): Likewise.
37939         * math/s_catanhl.c (__catanhl): Likewise.
37940         * math/s_catanl.c (__catanl): Likewise.
37941         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37942         by positive zero when computing -Inf result.
37943         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37944         (catanh_test): Likewise.
37945         * sysdeps/i386/fpu/libm-test-ulps: Update.
37946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37948         [BZ #16789]
37949         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37950         instead of using underflowing value in computing result.
37951         * math/s_clog10.c (__clog10): Likewise.
37952         * math/s_clog10f.c (__clog10f): Likewise.
37953         * math/s_clog10l.c (__clog10l): Likewise.
37954         * math/s_clogf.c (__clogf): Likewise.
37955         * math/s_clogl.c (__clogl): Likewise.
37956         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37957         (clog10_test): Likewise.
37958         * sysdeps/i386/fpu/libm-test-ulps: Update.
37959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37961 2014-04-02  Alan Modra  <amodra@gmail.com>
37963         [BZ #16739]
37964         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37965         output when value is near a power of two.  Use int64_t for lx and
37966         remove casts.  Use decimal rather than hex exponent constants.
37967         Don't use long double multiplication when double will suffice.
37968         * math/libm-test.inc (nextafter_test_data): Add tests.
37969         * NEWS: Add 16739 and 16786 to bug list.
37971         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37973         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37975 2014-04-01  Will Newton  <will.newton@linaro.org>
37977         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37978         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37980 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37982         [BZ #13347]
37983         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37984         * nptl/tst-setuid2.c: New file.
37985         * nptl/Makefile (xtests): Add tst-setuid2.
37987 2014-04-01  Alan Modra  <amodra@gmail.com>
37989         [BZ #16786]
37990         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37992 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37994         [BZ #6803]
37995         [BZ #6804]
37996         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37997         set errno as appropriate.
37998         * math/w_scalbf.c (__scalbf): Likewise.
37999         * math/w_scalbl.c (__scalbl): Likewise.
38000         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38001         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38002         * math/libm-test.inc (scalb_test_data): Add errno expectations.
38003         Add more NaN tests.
38005         [BZ #16349]
38006         * math/w_atan2.c: Include <errno.h>.
38007         (__atan2): Set errno for result underflowing to zero.
38008         * math/w_atan2f.c: Include <errno.h>.
38009         (__atan2f): Set errno for result underflowing to zero.
38010         * math/w_atan2l.c: Include <errno.h>.
38011         (__atan2l): Set errno for result underflowing to zero.
38012         * math/auto-libm-test-in: Don't allow missing errno for some atan2
38013         tests.
38014         * math/auto-libm-test-out: Regenerated.
38016 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38018         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38019         Encode instruction correctly in little endian.
38020         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38021         Likewise.
38022         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38023         Likewise.
38024         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38025         Likewise.
38026         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38027         Likewise.
38029 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38031         [BZ #9894]
38032         * sysdeps/unix/sysv/linux/kernel-features.h
38033         [__sparc__ && !__arch64__ && !__sparc_v9__]
38034         (__ASSUME_SET_ROBUST_LIST): Do not define.
38035         [__sparc__ && !__arch64__ && !__sparc_v9__]
38036         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38037         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38038         Likewise.
38039         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38040         (__ASSUME_FUTEX_LOCK_PI): Undefine.
38041         (__ASSUME_REQUEUE_PI): Likewise.
38042         (__ASSUME_SET_ROBUST_LIST): Likewise.
38043         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38044         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38045         Undefine.
38046         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38047         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38048         Likewise.
38049         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38050         Likewise.
38051         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38052         Likewise.
38053         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38054         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38055         Undefine.
38056         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38057         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38058         Likewise.
38060         [BZ #16648]
38061         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38062         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38063         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38065 2014-03-31  Will Newton  <will.newton@linaro.org>
38067         * benchtests/Makefile (bench): Add ffs and ffsll to list
38068         of tests.
38069         * benchtests/ffs-inputs: New file.
38070         * benchtests/ffsll-inputs: Likewise.
38072 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
38074         [BZ #16770]
38075         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38076         too large before casting to int.
38077         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38078         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38079         * math/libm-test.inc (scalb_test_data): Add more tests.
38081 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38083         * benchtests/Makefile (DETAILED_OPT): New make option.
38084         (bench-func): Run benchmark program with -d if DETAILED_OPT is
38085         set.
38086         * benchtests/bench-skeleton.c: Include stdbool.h.
38087         (main): Store and print timings per input.
38088         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38089         member to each argument value.
38090         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38091         (_print_arg_data): Initialize per-input timing to 0.
38093         * benchtests/Makefile (timing-type): New binary.
38094         (bench-clean): Also remove bench-timing-type.
38095         (bench): New target for timing-type.
38096         (bench-func): Print output in JSON format.
38097         * benchtests/bench-skeleton.c (main): Print output in JSON
38098         format.
38099         * benchtests/bench-timing-type.c: New file.
38100         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38101         (TIMING_PRINT_STATS): Remove.
38102         * benchtests/scripts/bench.py (_print_arg_data): Store variant
38103         name separately.
38105         * benchtests/bench-modf.c: Remove.
38106         * benchtests/modf-inputs: New inputs file.
38108 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
38110         [BZ #16362]
38111         * math/s_clog10.c (M_PI_LOG10E): New macro.
38112         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38113         imaginary parts are 0.
38114         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38115         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38116         imaginary parts are 0.
38117         * math/s_clog10l.c (M_PI_LOG10El): New macro.
38118         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38119         imaginary parts are 0.
38120         * math/libm-test.inc (clog10_test_data): Update expected results
38121         for when real and imaginary parts are 0.
38123 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
38125         * elf/dl-load.c: Finish conversion of __builtin_expect into
38126         __glibc_{un}likely.
38128 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
38130         [BZ #16348]
38131         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38132         1+x for argument with exponent below -67.
38133         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38134         Likewise.
38135         * math/auto-libm-test-in: Add more tests of exp.
38136         * math/auto-libm-test-out: Regenerated.
38138 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38140         [BZ #16759]
38141         * inet/getnetgrent_r.c (get_nonempty_val): New function.
38142         (nscd_getnetgrent): Use it.
38144         [BZ #16760]
38145         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38146         of stpcpy.
38148 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38150         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38151         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38152         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38153         (lll_robust_unlock): Remove out of line section. Use cfi
38154         intrinsics.
38155         (LLL_STUB_UNWIND_INFO*): Remove.
38156         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38157         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38158         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38159         (lll_robust_unlock): Remove out of line section. Use cfi
38160         intrinsics.
38161         (LLL_STUB_UNWIND_INFO*): Remove.
38163 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38165         [BZ #16758]
38166         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38167         blank values.
38169 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38171         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38173 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38175         [BZ #16198]
38176         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38177         fnstenv.
38178         * math/test-fenv-preserve.c: New file.
38179         * math/Makefile (tests): Add test-fenv-preserve.
38181 2014-03-26  Will Newton <will.newton@linaro.org>
38183         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38185 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38187         * scripts/versionlist.awk: Partition the version sets and emit all
38188         GLIBC_* (sorted) before all others (sorted).
38190 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38192         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38193         GLIBC_2.2.5 version.
38195 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38197         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38198         calls.
38200         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38201         previous change.
38203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38205 2014-03-25  Andreas Schwab  <schwab@suse.de>
38207         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38208         label to be used after in6ailist is initialized.
38210 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38212         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38213         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38215 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38217         [BZ #16357]
38218         [BZ #16599]
38219         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38220         min_plus_half.
38221         (fp_formats): Update initializers.
38222         (init_fp_formats): Initialize new field.
38223         (output_for_one_input_case): Allow underflow for results up to
38224         min_plus_half.
38225         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38226         * math/auto-libm-test-in: Don't mark some underflows from asin and
38227         atanh as spurious.
38228         * math/auto-libm-test-out: Regenerated.
38229         * sysdeps/i386/fpu/libm-test-ulps: Update.
38230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38232 2014-03-25  Andreas Schwab  <schwab@suse.de>
38234         * libio/Makefile (tst-ftell-partial-wide-ENV)
38235         (tst-ftell-active-handler-ENV): Define.
38237 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38239         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38241 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38243         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38245 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38247         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38248         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38249         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38251 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38253         [BZ #16634]
38254         * elf/dl-load.c (open_verify): Add mode parameter.
38255         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38256         (open_path): Change from boolean 'secure' to complete flag 'mode'
38257         (_dl_map_object): Adjust.
38258         * elf/Makefile (tests): Add tst-dlopen-aout.
38259         * elf/tst-dlopen-aout.c: New test.
38261 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38263         [BZ #16714]
38264         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38265         (struct stat): Rename member pad0 to __glibc_reserved0.
38267         [BZ #16712]
38268         * sysdeps/s390/s390-32/bits/wordsize.h
38269         (__WORDSIZE32_SIZE_ULONG): New define.
38270         * sysdeps/s390/s390-64/bits/wordsize.h
38271         (__WORDSIZE32_SIZE_ULONG): Likewise.
38272         * sysdeps/generic/stdint.h (SIZE_MAX):
38273         Define as UL if __WORDSIZE32_SIZE_ULONG.
38275         [BZ #16713]
38276         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38277         (__glibc_reserved0): New variable.
38278         (sa_flags): Change type to int.
38280         * posix/Makefile (before-compile): Use += before-compile instead
38281         of a :=.
38283         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38284         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38286 2014-03-20  Andreas Schwab  <schwab@suse.de>
38288         [BZ #16743]
38289         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38290         non-matching result from nscd.
38292 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38294         * scripts/bench.py: Moved to ...
38295         * benchtests/scripts/bench.py: ... here.
38296         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38298 2014-03-24  Andreas Schwab  <schwab@suse.de>
38300         [BZ #16002]
38301         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38302         alloca_account and account alloca use for struct in6ailist.
38304 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38306         [BZ #16284]
38307         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38308         rounding mode to recompute results that overflow to infinity or
38309         underflow to zero.
38310         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38311         bug 16284.
38312         * math/auto-libm-test-out: Regenerated.
38313         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38314         (ccosh_test): Likewise.
38315         (csin_test_data): Use plus_oflow.
38316         (csin_test): Use ALL_RM_TEST.
38317         (csinh_test_data): Use plus_oflow.
38318         (csinh_test): Use ALL_RM_TEST.
38319         * sysdeps/i386/fpu/libm-test-ulps: Update.
38320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38322 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38324         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38325         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38326         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38328         [BZ #16731]
38329         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38330         when x - 1 is zero.
38331         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38332         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38333         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38334         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38335         argument is 1.
38336         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38337         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38338         zero.
38339         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38340         * sysdeps/i386/fpu/libm-test-ulps: Update.
38341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38343 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38345         * scripts/bench.pl: Remove file.
38346         * scripts/bench.py: New benchmark script.
38347         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38348         * benchtests/README: Mention python dependency.
38349         * scripts/pylintrc: New file.
38350         * scripts/pylint: New file.
38352         * bits/mathdef.h: Use #ifdef instead of #if.
38353         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38354         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38355         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38356         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38357         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38358         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38360 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38361             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38363         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38365         and strpbrk-ppc64 objects.
38366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38367         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38368         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38369         multiarch strpbrk for POWER7.
38370         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38371         multiarch strpbrk for PPC64.
38372         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38373         ifunc selector.
38374         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38375         strpbrk for POWER7.
38377 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38379         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38380         (atan_test): Likewise.
38381         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38382         (atanh_test): Use ALL_RM_TEST.
38383         (atan2_test_data): Likewise.
38384         (cabs_test): Likewise.
38385         (cacosh_test): Likewise.
38386         (carg_test): Likewise.
38387         (casin_test): Likewise.
38388         (casinh_test): Likewise.
38389         (cbrt_test): Likewise.
38390         (csqrt_test): Likewise.
38391         (erf_test): Likewise.
38392         (erfc_test): Likewise.
38393         (pow10_test): Likewise.
38394         (exp2_test): Likewise.
38395         (hypot_test): Likewise.
38396         (j0_test): Likewise.
38397         (j1_test): Likewise.
38398         (lgamma_test): Likewise.
38399         (gamma_test): Likewise.
38400         (sincos_test): Likewise.
38401         (tanh_test): Likewise.
38402         (y0_test): Likewise.
38403         (y1_test): Likewise.
38404         * sysdeps/i386/fpu/libm-test-ulps: Update.
38405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38407 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38409         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38411         and strcspn-ppc64 objects.
38412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38413         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38414         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38415         multiarch strcspn for POWER7.
38416         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38417         multiarch strcspn for PPC64.
38418         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38419         ifunc selector.
38420         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38421         strcspn for POWER7.
38423 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38425         * math/gen-libm-test.pl (generate_testfile): Expect only function
38426         name as argument to AUTO_TESTS_* and pass results for all rounding
38427         modes to parse_args.
38428         (parse_auto_input): Separate inputs of automatic tests from
38429         outputs before storing in %auto_tests.
38430         * math/libm-test.inc (acos_test_data): Update call to
38431         AUTO_TESTS_f_f.
38432         (acos_test): Use ALL_RM_TEST.
38433         (acos_tonearest_test_data): Remove.
38434         (acos_test_tonearest): Likewise.
38435         (acos_towardzero_test_data): Likewise.
38436         (acos_test_towardzero): Likewise.
38437         (acos_downward_test_data): Likewise.
38438         (acos_test_downward): Likewise.
38439         (acos_upward_test_data): Likewise.
38440         (acos_test_upward): Likewise.
38441         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38442         (asin_test_data): Likewise.
38443         (asin_test): Use ALL_RM_TEST.
38444         (asin_tonearest_test_data): Remove.
38445         (asin_test_tonearest): Likewise.
38446         (asin_towardzero_test_data): Likewise.
38447         (asin_test_towardzero): Likewise.
38448         (asin_downward_test_data): Likewise.
38449         (asin_test_downward): Likewise.
38450         (asin_upward_test_data): Likewise.
38451         (asin_test_upward): Likewise.
38452         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38453         (atan_test_data): Likewise.
38454         (atanh_test_data): Likewise.
38455         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38456         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38457         (carg_test_data): Likewise.
38458         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38459         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38460         (ccosh_test_data): Likewise.
38461         (cexp_test_data): Likewise.
38462         (clog_test_data): Likewise.
38463         (clog10_test_data): Likewise.
38464         (cos_test_data): Update call to AUTO_TESTS_f_f.
38465         (cos_test): Use ALL_RM_TEST.
38466         (cos_tonearest_test_data): Remove.
38467         (cos_test_tonearest): Likewise.
38468         (cos_towardzero_test_data): Likewise.
38469         (cos_test_towardzero): Likewise.
38470         (cos_downward_test_data): Likewise.
38471         (cos_test_downward): Likewise.
38472         (cos_upward_test_data): Likewise.
38473         (cos_test_upward): Likewise.
38474         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38475         (cosh_test): Use ALL_RM_TEST.
38476         (cosh_tonearest_test_data): Remove.
38477         (cosh_test_tonearest): Likewise.
38478         (cosh_towardzero_test_data): Likewise.
38479         (cosh_test_towardzero): Likewise.
38480         (cosh_downward_test_data): Likewise.
38481         (cosh_test_downward): Likewise.
38482         (cosh_upward_test_data): Likewise.
38483         (cosh_test_upward): Likewise.
38484         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38485         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38486         (ctan_test_data): Likewise.
38487         (ctan_test): Use ALL_RM_TEST.
38488         (ctan_tonearest_test_data): Remove.
38489         (ctan_test_tonearest): Likewise.
38490         (ctan_towardzero_test_data): Likewise.
38491         (ctan_test_towardzero): Likewise.
38492         (ctan_downward_test_data): Likewise.
38493         (ctan_test_downward): Likewise.
38494         (ctan_upward_test_data): Likewise.
38495         (ctan_test_upward): Likewise.
38496         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38497         (ctanh_test): Use ALL_RM_TEST.
38498         (ctanh_tonearest_test_data): Remove.
38499         (ctanh_test_tonearest): Likewise.
38500         (ctanh_towardzero_test_data): Likewise.
38501         (ctanh_test_towardzero): Likewise.
38502         (ctanh_downward_test_data): Likewise.
38503         (ctanh_test_downward): Likewise.
38504         (ctanh_upward_test_data): Likewise.
38505         (ctanh_test_upward): Likewise.
38506         (erf_test_data): Update call to AUTO_TESTS_f_f.
38507         (erfc_test_data): Likewise.
38508         (exp_test_data): Likewise.
38509         (exp_test): Use ALL_RM_TEST.
38510         (exp_tonearest_test_data): Remove.
38511         (exp_test_tonearest): Likewise.
38512         (exp_towardzero_test_data): Likewise.
38513         (exp_test_towardzero): Likewise.
38514         (exp_downward_test_data): Likewise.
38515         (exp_test_downward): Likewise.
38516         (exp_upward_test_data): Likewise.
38517         (exp_test_upward): Likewise.
38518         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38519         (exp10_test): Use ALL_RM_TEST.
38520         (exp10_tonearest_test_data): Remove.
38521         (exp10_test_tonearest): Likewise.
38522         (exp10_towardzero_test_data): Likewise.
38523         (exp10_test_towardzero): Likewise.
38524         (exp10_downward_test_data): Likewise.
38525         (exp10_test_downward): Likewise.
38526         (exp10_upward_test_data): Likewise.
38527         (exp10_test_upward): Likewise.
38528         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38529         (expm1_test_data): Likewise.
38530         (expm1_test): Use ALL_RM_TEST.
38531         (expm1_tonearest_test_data): Remove.
38532         (expm1_test_tonearest): Likewise.
38533         (expm1_towardzero_test_data): Likewise.
38534         (expm1_test_towardzero): Likewise.
38535         (expm1_downward_test_data): Likewise.
38536         (expm1_test_downward): Likewise.
38537         (expm1_upward_test_data): Likewise.
38538         (expm1_test_upward): Likewise.
38539         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38540         (fma_test): Use ALL_RM_TEST.
38541         (fma_towardzero_test_data): Remove.
38542         (fma_test_towardzero): Likewise.
38543         (fma_downward_test_data): Likewise.
38544         (fma_test_downward): Likewise.
38545         (fma_upward_test_data): Likewise.
38546         (fma_test_upward): Likewise.
38547         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38548         (j0_test_data): Update call to AUTO_TESTS_f_f.
38549         (j1_test_data): Likewise.
38550         (jn_test_data): Update call to AUTO_TESTS_if_f.
38551         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38552         (log_test_data): Update call to AUTO_TESTS_f_f.
38553         (log10_test_data): Likewise.
38554         (log1p_test_data): Likewise.
38555         (log2_test_data): Likewise.
38556         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38557         (pow_tonearest_test_data): Likewise.
38558         (sin_test_data): Update call to AUTO_TESTS_f_f.
38559         (sin_test): Use ALL_RM_TEST.
38560         (sin_tonearest_test_data): Remove.
38561         (sin_test_tonearest): Likewise.
38562         (sin_towardzero_test_data): Likewise.
38563         (sin_test_towardzero): Likewise.
38564         (sin_downward_test_data): Likewise.
38565         (sin_test_downward): Likewise.
38566         (sin_upward_test_data): Likewise.
38567         (sin_test_upward): Likewise.
38568         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38569         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38570         (sinh_test): Use ALL_RM_TEST.
38571         (sinh_tonearest_test_data): Remove.
38572         (sinh_test_tonearest): Likewise.
38573         (sinh_towardzero_test_data): Likewise.
38574         (sinh_test_towardzero): Likewise.
38575         (sinh_downward_test_data): Likewise.
38576         (sinh_test_downward): Likewise.
38577         (sinh_upward_test_data): Likewise.
38578         (sinh_test_upward): Likewise.
38579         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38580         (sqrt_test): Use ALL_RM_TEST.
38581         (sqrt_tonearest_test_data): Remove.
38582         (sqrt_test_tonearest): Likewise.
38583         (sqrt_towardzero_test_data): Likewise.
38584         (sqrt_test_towardzero): Likewise.
38585         (sqrt_downward_test_data): Likewise.
38586         (sqrt_test_downward): Likewise.
38587         (sqrt_upward_test_data): Likewise.
38588         (sqrt_test_upward): Likewise.
38589         (tan_test_data): Update call to AUTO_TESTS_f_f.
38590         (tan_test): Use ALL_RM_TEST.
38591         (tan_tonearest_test_data): Remove.
38592         (tan_test_tonearest): Likewise.
38593         (tan_towardzero_test_data): Likewise.
38594         (tan_test_towardzero): Likewise.
38595         (tan_downward_test_data): Likewise.
38596         (tan_test_downward): Likewise.
38597         (tan_upward_test_data): Likewise.
38598         (tan_test_upward): Likewise.
38599         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38600         (tgamma_test_data): Likewise.
38601         (y0_test_data): Likewise.
38602         (y1_test_data): Likewise.
38603         (yn_test_data): Update call to AUTO_TESTS_if_f.
38604         (main): Do not call removed functions.
38606 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38608         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38609         (ldexp_test_data): Remove.
38610         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38611         scalbn_test_data.
38612         (scalb_test): Use ALL_RM_TEST.
38614 2014-03-19  Andreas Schwab  <schwab@suse.de>
38616         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38618 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38620         [BZ #16649]
38621         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38622         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38623         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38624         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38625         (__ASSUME_PREADV): Undefine.
38626         (__ASSUME_PWRITEV): Likewise.
38628 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38630         * bits/mman-linux.h: Add comment about non-Linux use.
38631         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38632         bits/mman-linux.h resting place.
38634         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38635         * bits/mman-linux.h: ... here.
38637 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38639         * conform/conformtest.pl: Add standard definition when calling C
38640         preprocessor on data files.
38641         (checknamespace): Remove unused variable.
38643 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38645         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38646         minus_oflow, plus_uflow and minus_uflow in expected results.
38647         * math/libm-test.inc (scalbn_test_data): Add more tests of
38648         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38649         minus_uflow.
38650         (scalbn_test): Use ALL_RM_TEST.
38651         (scalbln_test_data): Add more tests of negative arguments.  Use
38652         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38653         (scalbln_test): Use ALL_RM_TEST.
38655 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38657         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38659 2014-03-18  Will Newton  <will.newton@linaro.org>
38661         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38662         inaccurate comment.
38664 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38666         * Makerules [!subdir] (check-abi): Exit with error status if a
38667         test failed.
38669 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38671         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38672         for rint.  Include results for all rounding modes.
38673         (nearbyint_test): Use ALL_RM_TEST.
38674         (rint_test_data): Include all tests used for nearbyint.
38676 2014-03-17  Will Newton  <will.newton@linaro.org>
38678         * nptl/sysdeps/pthread/pthread.h: Revert previous
38679         change.
38681         * sysdeps/generic/ldsodefs.h: Revert previous
38682         change.
38684         * libio/genops.c: Revert previous change.
38685         * libio/libioP.h: Likewise.
38686         * stdio-common/vfprintf.c: Likewise.
38688         * sysdeps/generic/math_private.h: Revert previous
38689         change.
38691         * sysdeps/generic/math_private.h: Check whether
38692         HAVE_RM_CTX is defined with #ifdef rather
38693         than #if.
38695         * argp/argp-fmtstream.h: Check whether
38696         __STRICT_ANSI__ is defined with #ifdef rather
38697         than #if.
38698         * argp/argp.h: Likewise.
38700         * libio/genops.c: Check whether
38701         _IO_JUMPS_OFFSET is defined with #ifdef rather
38702         than #if.
38703         * libio/libioP.h: Likewise.
38704         * stdio-common/vfprintf.c: Likewise.
38706         * sysdeps/generic/ldsodefs.h: Check whether
38707         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38708         than #if.
38710         * nptl/sysdeps/pthread/pthread.h: Check
38711         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38712         its value.
38714 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38716         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38717         setting O_APPEND.
38718         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38719         test case.
38721         [BZ #16680]
38722         * libio/fileops.c (_IO_file_open): Seek to end of file but
38723         don't cache the offset.
38724         (get_file_offset): Remove function.
38725         (do_ftell): Use cached offset when available.
38726         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38727         don't cache the offset.
38728         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38729         case.
38730         (do_one_test): Call it.
38731         (do_ftell_test): Fix up expected old offset for a+ mode.
38732         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38733         available.
38735         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38736         up test status with function return status.
38737         (do_write_test): Likewise.
38738         (do_append_test): Likewise.
38740         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38741         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38742         Remove.
38744 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38746         * math/gen-libm-test.pl (parse_args): Handle results specified for
38747         each rounding mode separately.
38748         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38749         tests and results from lrint_tonearest_test_data,
38750         lrint_towardzero_test_data, lrint_downward_test_data and
38751         lrint_upward_test_data.
38752         (lrint_test): Use ALL_RM_TEST.
38753         (lrint_tonearest_test_data): Remove.
38754         (lrint_test_tonearest): Likewise.
38755         (lrint_towardzero_test_data): Likewise.
38756         (lrint_test_towardzero): Likewise.
38757         (lrint_downward_test_data): Likewise.
38758         (lrint_test_downward): Likewise.
38759         (lrint_upward_test_data): Likewise.
38760         (lrint_test_upward): Likewise.
38761         (llrint_test_data): Merge in per-rounding-mode tests and results
38762         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38763         llrint_downward_test_data and llrint_upward_test_data.
38764         (llrint_test): Use ALL_RM_TEST.
38765         (llrint_tonearest_test_data): Remove.
38766         (llrint_test_tonearest): Likewise.
38767         (llrint_towardzero_test_data): Likewise.
38768         (llrint_test_towardzero): Likewise.
38769         (llrint_downward_test_data): Likewise.
38770         (llrint_test_downward): Likewise.
38771         (llrint_upward_test_data): Likewise.
38772         (llrint_test_upward): Likewise.
38773         (rint_test_data): Merge in per-rounding-mode tests and results
38774         from rint_tonearest_test_data, rint_towardzero_test_data,
38775         rint_downward_test_data and rint_upward_test_data.  Add
38776         per-rounding-mode results for tests not in those arrays.
38777         (rint_test): Use ALL_RM_TEST.
38778         (rint_tonearest_test_data): Remove.
38779         (rint_test_tonearest): Likewise.
38780         (rint_towardzero_test_data): Likewise.
38781         (rint_test_towardzero): Likewise.
38782         (rint_downward_test_data): Likewise.
38783         (rint_test_downward): Likewise.
38784         (rint_upward_test_data): Likewise.
38785         (rint_test_upward): Likewise.
38786         (main): Don't call removed functions.
38788 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38790         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38791         "Compiled on ..." crapola.  It is anti-useful.
38793 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38795         * scripts/evaluate-test.sh: Handle fourth argument to determine
38796         whether test run should stop on failure.
38797         * Makeconfig (stop-on-test-failure): New variable.
38798         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38799         $(stop-on-test-failure).
38800         * Makefile (tests): Give a summary of results from testing and
38801         exit with failure status if they include an ERROR or FAIL.
38802         (xtests): Likewise.
38803         * manual/install.texi (Configuring and compiling): Mention
38804         stop-on-test-failure=y.
38805         * INSTALL: Regenerated.
38807 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38809         * scripts/versionlist.awk: New file.
38810         * Makerules [$(build-shared) = yes]
38811         (postclean-generated): Add Versions.def, not Versions.def.v and
38812         Versions.def.v.i.
38813         ($(common-objpfx)Versions.def.v.i): Target removed.
38814         ($(common-objpfx)Versions.def): New target.
38815         ($(common-objpfx)Versions.all): Depend on that rather that
38816         $(common-objpfx)Versions.def.v.
38817         * Versions.def: File removed.
38819         * Makeconfig (+gccwarn): Add -Wundef.
38820         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38821         a dl-sysdep.h breaking its contract.
38822         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38823         * include/stackinfo.h: New file.
38824         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38825         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38826         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38827         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38828         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38829         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38830         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38831         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38832         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38833         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38834         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38835         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38836         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38837         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38838         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38840 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38842         [BZ #16707]
38843         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38844         implementation.
38845         * math/libm-test.inc (round_test_data): Add more tests.
38847         [BZ #16706]
38848         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38849         implementation.
38850         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38852         [BZ #16701]
38853         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38854         implementation.
38855         * math/libm-test.inc (ceil_test_data): Add more tests.
38857         * math/libm-test.inc (trunc_test_data): Add more tests related to
38858         BZ#16414.
38860 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38862         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38863         with #if rather than #ifdef.
38864         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38866 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38868         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38869         first.  Disable AVX-512 GCC support if assembler doesn't support
38870         it.
38871         * sysdeps/x86_64/configure: Regenerated.
38873 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38875         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38876         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38877         (__old_pthread_attr_setstack): Likewise.
38878         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38879         [!_STACK_GROWS_DOWN]: Likewise.
38881 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38883         * config.make.in (have-bash2): Delete.
38884         * configure.ac (libc_cv_have_bash2): Delete.
38885         * configure: Regenerate.
38886         * elf/Makefile (common-ldd-rewrite): Rename to ...
38887         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38888         (sh-ldd-rewrite): Delete.
38889         (bash-ldd-rewrite): Delete.
38890         (have-bash2): Delete checks.
38891         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38892         ldd-rewrite.
38894         * config.make.in (have-ksh): Delete.
38895         (KSH): Delete.
38896         * configure.ac (libc_cv_have_ksh): Delete.
38897         * configure: Regenerate.
38899         * elf/Makefile: Delete $(have-ksh) check.
38900         ($(objpfx)sotruss): Change KSH to BASH.
38901         * elf/sotruss.ksh: Rename to ...
38902         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38903         function style to match POSIX.  Drop ksh vim mode setting.
38905         * manual/time.texi (Specifying the Time Zone with TZ): Change
38906         Tuesday to Thursday.
38908         * debug/tst-longjmp_chk2.c: Update header comment.
38909         (stackoverflow_handler): Add comment.  Call assert on pass value.
38911 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38913         [BZ #16194]
38914         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38915         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38916         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38917         (La_x86_64_vector): Add zmm.
38918         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38919         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38920         ($(objpfx)tst-audit10): New target.
38921         ($(objpfx)tst-audit10.out): Likewise.
38922         (tst-audit10-ENV): New.
38923         (AVX512-CFLAGS): Likewise.
38924         (CFLAGS-tst-audit10.c): Likewise.
38925         (CFLAGS-tst-auditmod10a.c): Likewise.
38926         (CFLAGS-tst-auditmod10b.c): Likewise.
38927         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38928         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38929         * sysdeps/x86_64/configure: Regenerated.
38930         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38931         AVX-512 zmm register support.
38932         (_dl_x86_64_save_sse): Likewise.
38933         (_dl_x86_64_restore_sse): Likewise.
38934         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38935         size vector registers.
38936         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38937         (ZMM_SIZE): Likewise.
38938         * sysdeps/x86_64/tst-audit10.c: New file.
38939         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38940         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38942 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38944         * configure.ac (HAVE_EHDR_START): New check.
38945         * configure: Regenerated.
38946         * config.h.in (HAVE_EHDR_START): New #undef.
38947         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38948         assuming the lowest-addressed segment maps the start of the file.
38950 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38952         * INSTALL: Regenerated.
38954 2014-03-13  Will Newton  <will.newton@linaro.org>
38956         * manual/setjmp.texi (System V contexts): Improve
38957         clarity and grammar of documentation.
38959 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38961         [BZ #16381]
38962         * elf/Makefile (tests): Add tst-pie2.
38963         (tests-pie): Add tst-pie2.
38964         * elf/tst-pie2.c: New file.
38965         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38966         for ET_EXEC.
38967         * elf/rtld.c (map_doit): Load executable as lt_executable.
38968         (dl_main): Likewise.
38970 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38972         [BZ #16642]
38973         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38974         (__ASSUME_PSELECT): Undefine.
38976 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38978         [BZ #16689]
38979         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38980         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38981         static build.
38982         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38983         selector for static builds.
38985 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38987         [BZ #16695]
38988         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38989         key in the buffer.
38991 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38993         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38994         IFUNC selector for static builds.
38996 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38998         * sysdeps/mips/math_private.h [__mips_hard_float]
38999         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39000         libc_feresetround_mips_ctx.
39001         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39002         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39003         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39005         [BZ #16677]
39006         * math/s_nextafter.c (__nextafter): Do not return value from
39007         overflowing computation.
39008         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39009         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39010         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39011         Likewise.
39012         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39013         Likewise.
39014         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39015         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39017 2014-03-11  Roland McGrath  <roland@hack.frob.com>
39019         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39020         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39021         Move sfi_sp use from the load-multiple (that no longer sets sp) to
39022         the new mov targetting sp.
39024 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39026         [BZ #16683]
39027         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39028         Define it for static builds as well.
39029         (NO_BZERO_IMPL): Likewise.
39031 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39033         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39034         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39035         multiarch strspn for PPC64.
39036         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39037         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39039         (__libc_ifunc_impl_list): Likewise.
39040         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39041         multiarch optimizations
39042         * string/strspn.c (strspn): Using macro to redefine symbol name.
39044 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39045             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39047         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39048         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39049         multiarch strncat for PPC64.
39050         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39051         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39053         (__libc_ifunc_impl_list): Likewise.
39054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39055         multiarch optimizations
39057 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39059         [BZ #16639]
39060         * nscd/nscd.service: Make service type forking.
39062 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39064         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39065         sign in non default rounding modes.
39066         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39068 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
39070         * math/libm-test.inc (ALL_RM_TEST): New macro.
39071         (ceil_test): Use ALL_RM_TEST.
39072         (cimag_test): Likewise.
39073         (conj_test): Likewise.
39074         (copysign_test): Likewise.
39075         (cproj_test): Likewise.
39076         (creal_test): Likewise.
39077         (fabs_test): Likewise.
39078         (floor_test): Likewise.
39079         (fmax_test): Likewise.
39080         (fmin_test): Likewise.
39081         (fmod_test): Likewise.
39082         (fpclassify_test): Likewise.
39083         (frexp_test): Likewise.
39084         (ilogb_test): Likewise.
39085         (isfinite_test): Likewise.
39086         (finite_test): Likewise.
39087         (isgreater_test): Likewise.
39088         (isgreaterequal_test): Likewise.
39089         (isinf_test): Likewise.
39090         (isless_test): Likewise.
39091         (islessequal_test): Likewise.
39092         (islessgreater_test): Likewise.
39093         (isnan_test): Likewise.
39094         (isnormal_test): Likewise.
39095         (issignaling_test): Likewise.
39096         (isunordered_test): Likewise.
39097         (logb_test): Likewise.
39098         (logb_downward_test_data): Remove.
39099         (logb_test_downward): Likewise.
39100         (lround_test): Use ALL_RM_TEST.
39101         (llround_test): Likewise.
39102         (modf_test): Likewise.
39103         (nexttoward_test): Likewise.
39104         (remainder_test): Likewise.
39105         (drem_test): Likewise.
39106         (remainder_tonearest_test_data): Likewise.
39107         (remainder_test_tonearest): Likewise.
39108         (drem_test_tonearest): Likewise.
39109         (remainder_towardzero_test_data): Likewise.
39110         (remainder_test_towardzero): Likewise.
39111         (drem_test_towardzero): Likewise.
39112         (remainder_downward_test_data): Likewise.
39113         (remainder_test_downward): Likewise.
39114         (drem_test_downward): Likewise.
39115         (remainder_upward_test_data): Likewise.
39116         (remainder_test_upward): Likewise.
39117         (drem_test_upward): Likewise.
39118         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
39119         (round_test): Use ALL_RM_TEST.
39120         (signbit_test): Likewise.
39121         (trunc_test): Likewise.
39122         (significand_test): Likewise.
39123         (main): Don't call removed functions.
39125 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39127         [BZ #16674]
39128         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39129         || __USE_XOPEN2K8].
39130         (ILL_ILLOPN): Likewise.
39131         (ILL_ILLADR): Likewise.
39132         (ILL_ILLTRP): Likewise.
39133         (ILL_PRVOPC): Likewise.
39134         (ILL_PRVREG): Likewise.
39135         (ILL_COPROC): Likewise.
39136         (ILL_BADSTK): Likewise.
39137         (FPE_INTDIV): Likewise.
39138         (FPE_INTOVF): Likewise.
39139         (FPE_FLTDIV): Likewise.
39140         (FPE_FLTOVF): Likewise.
39141         (FPE_FLTUND): Likewise.
39142         (FPE_FLTRES): Likewise.
39143         (FPE_FLTINV): Likewise.
39144         (FPE_FLTSUB): Likewise.
39145         (SEGV_MAPERR): Likewise.
39146         (SEGV_ACCERR): Likewise.
39147         (BUS_ADRALN): Likewise.
39148         (BUS_ADRERR): Likewise.
39149         (BUS_OBJERR): Likewise.
39150         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39151         (TRAP_TRACE): Likewise.
39152         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39153         __USE_XOPEN2K8].
39154         (CLD_KILLED): Likewise.
39155         (CLD_DUMPED): Likewise.
39156         (CLD_TRAPPED): Likewise.
39157         (CLD_STOPPED): Likewise.
39158         (CLD_CONTINUED): Likewise.
39159         (POLL_IN): Likewise.
39160         (POLL_OUT): Likewise.
39161         (POLL_MSG): Likewise.
39162         (POLL_ERR): Likewise.
39163         (POLL_PRI): Likewise.
39164         (POLL_HUP): Likewise.
39165         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39166         Likewise.
39167         (ILL_ILLOPN): Likewise.
39168         (ILL_ILLADR): Likewise.
39169         (ILL_ILLTRP): Likewise.
39170         (ILL_PRVOPC): Likewise.
39171         (ILL_PRVREG): Likewise.
39172         (ILL_COPROC): Likewise.
39173         (ILL_BADSTK): Likewise.
39174         (FPE_INTDIV): Likewise.
39175         (FPE_INTOVF): Likewise.
39176         (FPE_FLTDIV): Likewise.
39177         (FPE_FLTOVF): Likewise.
39178         (FPE_FLTUND): Likewise.
39179         (FPE_FLTRES): Likewise.
39180         (FPE_FLTINV): Likewise.
39181         (FPE_FLTSUB): Likewise.
39182         (SEGV_MAPERR): Likewise.
39183         (SEGV_ACCERR): Likewise.
39184         (BUS_ADRALN): Likewise.
39185         (BUS_ADRERR): Likewise.
39186         (BUS_OBJERR): Likewise.
39187         (BUS_MCEERR_AR): Likewise.
39188         (BUS_MCEERR_AO): Likewise.
39189         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39190         (TRAP_TRACE): Likewise.
39191         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39192         __USE_XOPEN2K8].
39193         (CLD_KILLED): Likewise.
39194         (CLD_DUMPED): Likewise.
39195         (CLD_TRAPPED): Likewise.
39196         (CLD_STOPPED): Likewise.
39197         (CLD_CONTINUED): Likewise.
39198         (POLL_IN): Likewise.
39199         (POLL_OUT): Likewise.
39200         (POLL_MSG): Likewise.
39201         (POLL_ERR): Likewise.
39202         (POLL_PRI): Likewise.
39203         (POLL_HUP): Likewise.
39204         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39205         (ILL_ILLOPN): Likewise.
39206         (ILL_ILLADR): Likewise.
39207         (ILL_ILLTRP): Likewise.
39208         (ILL_PRVOPC): Likewise.
39209         (ILL_PRVREG): Likewise.
39210         (ILL_COPROC): Likewise.
39211         (ILL_BADSTK): Likewise.
39212         (FPE_INTDIV): Likewise.
39213         (FPE_INTOVF): Likewise.
39214         (FPE_FLTDIV): Likewise.
39215         (FPE_FLTOVF): Likewise.
39216         (FPE_FLTUND): Likewise.
39217         (FPE_FLTRES): Likewise.
39218         (FPE_FLTINV): Likewise.
39219         (FPE_FLTSUB): Likewise.
39220         (SEGV_MAPERR): Likewise.
39221         (SEGV_ACCERR): Likewise.
39222         (BUS_ADRALN): Likewise.
39223         (BUS_ADRERR): Likewise.
39224         (BUS_OBJERR): Likewise.
39225         (BUS_MCEERR_AR): Likewise.
39226         (BUS_MCEERR_AO): Likewise.
39227         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39228         (TRAP_TRACE): Likewise.
39229         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39230         __USE_XOPEN2K8].
39231         (CLD_KILLED): Likewise.
39232         (CLD_DUMPED): Likewise.
39233         (CLD_TRAPPED): Likewise.
39234         (CLD_STOPPED): Likewise.
39235         (CLD_CONTINUED): Likewise.
39236         (POLL_IN): Likewise.
39237         (POLL_OUT): Likewise.
39238         (POLL_MSG): Likewise.
39239         (POLL_ERR): Likewise.
39240         (POLL_PRI): Likewise.
39241         (POLL_HUP): Likewise.
39242         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39243         Likewise.
39244         (ILL_ILLOPN): Likewise.
39245         (ILL_ILLADR): Likewise.
39246         (ILL_ILLTRP): Likewise.
39247         (ILL_PRVOPC): Likewise.
39248         (ILL_PRVREG): Likewise.
39249         (ILL_COPROC): Likewise.
39250         (ILL_BADSTK): Likewise.
39251         (ILL_BADIADDR): Likewise.
39252         (ILL_BREAK): Likewise.
39253         (FPE_INTDIV): Likewise.
39254         (FPE_INTOVF): Likewise.
39255         (FPE_FLTDIV): Likewise.
39256         (FPE_FLTOVF): Likewise.
39257         (FPE_FLTUND): Likewise.
39258         (FPE_FLTRES): Likewise.
39259         (FPE_FLTINV): Likewise.
39260         (FPE_FLTSUB): Likewise.
39261         (FPE_DECOVF): Likewise.
39262         (FPE_DECDIV): Likewise.
39263         (FPE_DECERR): Likewise.
39264         (FPE_INVASC): Likewise.
39265         (FPE_INVDEC): Likewise.
39266         (SEGV_MAPERR): Likewise.
39267         (SEGV_ACCERR): Likewise.
39268         (SEGV_PSTKOVF): Likewise.
39269         (BUS_ADRALN): Likewise.
39270         (BUS_ADRERR): Likewise.
39271         (BUS_OBJERR): Likewise.
39272         (BUS_MCEERR_AR): Likewise.
39273         (BUS_MCEERR_AO): Likewise.
39274         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39275         (TRAP_TRACE): Likewise.
39276         (TRAP_BRANCH): Likewise.
39277         (TRAP_HWBKPT): Likewise.
39278         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39279         __USE_XOPEN2K8].
39280         (CLD_KILLED): Likewise.
39281         (CLD_DUMPED): Likewise.
39282         (CLD_TRAPPED): Likewise.
39283         (CLD_STOPPED): Likewise.
39284         (CLD_CONTINUED): Likewise.
39285         (POLL_IN): Likewise.
39286         (POLL_OUT): Likewise.
39287         (POLL_MSG): Likewise.
39288         (POLL_ERR): Likewise.
39289         (POLL_PRI): Likewise.
39290         (POLL_HUP): Likewise.
39291         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39292         (ILL_ILLOPN): Likewise.
39293         (ILL_ILLADR): Likewise.
39294         (ILL_ILLTRP): Likewise.
39295         (ILL_PRVOPC): Likewise.
39296         (ILL_PRVREG): Likewise.
39297         (ILL_COPROC): Likewise.
39298         (ILL_BADSTK): Likewise.
39299         (FPE_INTDIV): Likewise.
39300         (FPE_INTOVF): Likewise.
39301         (FPE_FLTDIV): Likewise.
39302         (FPE_FLTOVF): Likewise.
39303         (FPE_FLTUND): Likewise.
39304         (FPE_FLTRES): Likewise.
39305         (FPE_FLTINV): Likewise.
39306         (FPE_FLTSUB): Likewise.
39307         (SEGV_MAPERR): Likewise.
39308         (SEGV_ACCERR): Likewise.
39309         (BUS_ADRALN): Likewise.
39310         (BUS_ADRERR): Likewise.
39311         (BUS_OBJERR): Likewise.
39312         (BUS_MCEERR_AR): Likewise.
39313         (BUS_MCEERR_AO): Likewise.
39314         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39315         (TRAP_TRACE): Likewise.
39316         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39317         __USE_XOPEN2K8].
39318         (CLD_KILLED): Likewise.
39319         (CLD_DUMPED): Likewise.
39320         (CLD_TRAPPED): Likewise.
39321         (CLD_STOPPED): Likewise.
39322         (CLD_CONTINUED): Likewise.
39323         (POLL_IN): Likewise.
39324         (POLL_OUT): Likewise.
39325         (POLL_MSG): Likewise.
39326         (POLL_ERR): Likewise.
39327         (POLL_PRI): Likewise.
39328         (POLL_HUP): Likewise.
39329         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39330         (ILL_ILLOPN): Likewise.
39331         (ILL_ILLADR): Likewise.
39332         (ILL_ILLTRP): Likewise.
39333         (ILL_PRVOPC): Likewise.
39334         (ILL_PRVREG): Likewise.
39335         (ILL_COPROC): Likewise.
39336         (ILL_BADSTK): Likewise.
39337         (FPE_INTDIV): Likewise.
39338         (FPE_INTOVF): Likewise.
39339         (FPE_FLTDIV): Likewise.
39340         (FPE_FLTOVF): Likewise.
39341         (FPE_FLTUND): Likewise.
39342         (FPE_FLTRES): Likewise.
39343         (FPE_FLTINV): Likewise.
39344         (FPE_FLTSUB): Likewise.
39345         (SEGV_MAPERR): Likewise.
39346         (SEGV_ACCERR): Likewise.
39347         (BUS_ADRALN): Likewise.
39348         (BUS_ADRERR): Likewise.
39349         (BUS_OBJERR): Likewise.
39350         (BUS_MCEERR_AR): Likewise.
39351         (BUS_MCEERR_AO): Likewise.
39352         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39353         (TRAP_TRACE): Likewise.
39354         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39355         __USE_XOPEN2K8].
39356         (CLD_KILLED): Likewise.
39357         (CLD_DUMPED): Likewise.
39358         (CLD_TRAPPED): Likewise.
39359         (CLD_STOPPED): Likewise.
39360         (CLD_CONTINUED): Likewise.
39361         (POLL_IN): Likewise.
39362         (POLL_OUT): Likewise.
39363         (POLL_MSG): Likewise.
39364         (POLL_ERR): Likewise.
39365         (POLL_PRI): Likewise.
39366         (POLL_HUP): Likewise.
39367         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39368         (ILL_ILLOPN): Likewise.
39369         (ILL_ILLADR): Likewise.
39370         (ILL_ILLTRP): Likewise.
39371         (ILL_PRVOPC): Likewise.
39372         (ILL_PRVREG): Likewise.
39373         (ILL_COPROC): Likewise.
39374         (ILL_BADSTK): Likewise.
39375         (FPE_INTDIV): Likewise.
39376         (FPE_INTOVF): Likewise.
39377         (FPE_FLTDIV): Likewise.
39378         (FPE_FLTOVF): Likewise.
39379         (FPE_FLTUND): Likewise.
39380         (FPE_FLTRES): Likewise.
39381         (FPE_FLTINV): Likewise.
39382         (FPE_FLTSUB): Likewise.
39383         (SEGV_MAPERR): Likewise.
39384         (SEGV_ACCERR): Likewise.
39385         (BUS_ADRALN): Likewise.
39386         (BUS_ADRERR): Likewise.
39387         (BUS_OBJERR): Likewise.
39388         (BUS_MCEERR_AR): Likewise.
39389         (BUS_MCEERR_AO): Likewise.
39390         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39391         (TRAP_TRACE): Likewise.
39392         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39393         __USE_XOPEN2K8].
39394         (CLD_KILLED): Likewise.
39395         (CLD_DUMPED): Likewise.
39396         (CLD_TRAPPED): Likewise.
39397         (CLD_STOPPED): Likewise.
39398         (CLD_CONTINUED): Likewise.
39399         (POLL_IN): Likewise.
39400         (POLL_OUT): Likewise.
39401         (POLL_MSG): Likewise.
39402         (POLL_ERR): Likewise.
39403         (POLL_PRI): Likewise.
39404         (POLL_HUP): Likewise.
39405         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39406         (ILL_ILLOPN): Likewise.
39407         (ILL_ILLADR): Likewise.
39408         (ILL_ILLTRP): Likewise.
39409         (ILL_PRVOPC): Likewise.
39410         (ILL_PRVREG): Likewise.
39411         (ILL_COPROC): Likewise.
39412         (ILL_BADSTK): Likewise.
39413         (ILL_DBLFLT): Likewise.
39414         (ILL_HARDWALL): Likewise.
39415         (FPE_INTDIV): Likewise.
39416         (FPE_INTOVF): Likewise.
39417         (FPE_FLTDIV): Likewise.
39418         (FPE_FLTOVF): Likewise.
39419         (FPE_FLTUND): Likewise.
39420         (FPE_FLTRES): Likewise.
39421         (FPE_FLTINV): Likewise.
39422         (FPE_FLTSUB): Likewise.
39423         (SEGV_MAPERR): Likewise.
39424         (SEGV_ACCERR): Likewise.
39425         (BUS_ADRALN): Likewise.
39426         (BUS_ADRERR): Likewise.
39427         (BUS_OBJERR): Likewise.
39428         (BUS_MCEERR_AR): Likewise.
39429         (BUS_MCEERR_AO): Likewise.
39430         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39431         (TRAP_TRACE): Likewise.
39432         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39433         __USE_XOPEN2K8].
39434         (CLD_KILLED): Likewise.
39435         (CLD_DUMPED): Likewise.
39436         (CLD_TRAPPED): Likewise.
39437         (CLD_STOPPED): Likewise.
39438         (CLD_CONTINUED): Likewise.
39439         (POLL_IN): Likewise.
39440         (POLL_OUT): Likewise.
39441         (POLL_MSG): Likewise.
39442         (POLL_ERR): Likewise.
39443         (POLL_PRI): Likewise.
39444         (POLL_HUP): Likewise.
39445         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39446         (ILL_ILLOPN): Likewise.
39447         (ILL_ILLADR): Likewise.
39448         (ILL_ILLTRP): Likewise.
39449         (ILL_PRVOPC): Likewise.
39450         (ILL_PRVREG): Likewise.
39451         (ILL_COPROC): Likewise.
39452         (ILL_BADSTK): Likewise.
39453         (FPE_INTDIV): Likewise.
39454         (FPE_INTOVF): Likewise.
39455         (FPE_FLTDIV): Likewise.
39456         (FPE_FLTOVF): Likewise.
39457         (FPE_FLTUND): Likewise.
39458         (FPE_FLTRES): Likewise.
39459         (FPE_FLTINV): Likewise.
39460         (FPE_FLTSUB): Likewise.
39461         (SEGV_MAPERR): Likewise.
39462         (SEGV_ACCERR): Likewise.
39463         (BUS_ADRALN): Likewise.
39464         (BUS_ADRERR): Likewise.
39465         (BUS_OBJERR): Likewise.
39466         (BUS_MCEERR_AR): Likewise.
39467         (BUS_MCEERR_AO): Likewise.
39468         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39469         (TRAP_TRACE): Likewise.
39470         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39471         __USE_XOPEN2K8].
39472         (CLD_KILLED): Likewise.
39473         (CLD_DUMPED): Likewise.
39474         (CLD_TRAPPED): Likewise.
39475         (CLD_STOPPED): Likewise.
39476         (CLD_CONTINUED): Likewise.
39477         (POLL_IN): Likewise.
39478         (POLL_OUT): Likewise.
39479         (POLL_MSG): Likewise.
39480         (POLL_ERR): Likewise.
39481         (POLL_PRI): Likewise.
39482         (POLL_HUP): Likewise.
39483         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39484         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39486         [BZ #16670]
39487         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39488         before #include of <time.h>.
39489         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39490         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39491         (test-xfail-UNIX98/sched.h/conform): Likewise.
39493 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39495         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39496         error absence of trapping exception support.
39497         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39499 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39501         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39502         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39503         * timezone/Makefile (testdata): Move definition above include of
39504         Rules.
39505         (test-zones): New variable.
39506         (tests-special): Add zone files.
39507         (build-testdata): Use $(evaluate-test).
39509         * elf/Makefile (tests-special): Rename tests to end with .out.
39510         ($(objpfx)noload-mem): Likewise.
39511         ($(objpfx)tst-leaks1-mem): Likewise.
39512         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39513         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39514         $(objpfx)test-iconvconfig.out.
39515         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39516         set -e inside subshell and redirect output to file.
39517         * iconvdata/Makefile (generated): Rename tests to end with .out.
39518         Correct type.
39519         (tests-special): Rename tests to end with .out.
39520         ($(objpfx)mtrace-tst-loading): Likewise.
39521         * intl/Makefile (generated): Likewise.
39522         (tests-special): Likewise.
39523         ($(objpfx)mtrace-tst-gettext): Likewise.
39524         * misc/Makefile (generated): Likewise.
39525         (tests-special): Likewise.
39526         ($(objpfx)tst-error1-mem): Likewise.
39527         * nptl/Makefile (tests-special): Likewise.
39528         ($(objpfx)tst-stack3-mem): Likewise.
39529         (generated): Likewise.
39530         * posix/Makefile (generated): Likewise.
39531         (tests-special): Likewise.
39532         (xtests-special): Likewise.
39533         ($(objpfx)tst-fnmatch-mem): Likewise.
39534         ($(objpfx)bug-regex2-mem): Likewise.
39535         ($(objpfx)bug-regex14-mem): Likewise.
39536         ($(objpfx)bug-regex21-mem): Likewise.
39537         ($(objpfx)bug-regex31-mem): Likewise.
39538         ($(objpfx)tst-vfork3-mem): Likewise.
39539         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39540         ($(objpfx)tst-pcre-mem): Likewise.
39541         ($(objpfx)tst-boost-mem): Likewise.
39542         ($(objpfx)bug-ga2-mem): Likewise.
39543         ($(objpfx)bug-glob2-mem): Likewise.
39544         * resolv/Makefile (generate): Likewise.
39545         (tests-special): Likewise.
39546         (xtests-special): Likewise.
39547         (generated): Likewise.
39548         ($(objpfx)mtrace-tst-leaks): Likewise.
39549         ($(objpfx)mtrace-tst-leaks2): Likewise.
39551         * scripts/merge-test-results.sh: New file.
39552         * Makefile (tests-special-notdir): New variable.
39553         (tests): Run merge-test-results.sh.
39554         (xtests): Likewise.
39555         * Rules (tests-special-notdir): New variable.
39556         (xtests-special-notdir): Likewise.
39557         (tests): Run merge-test-results.sh
39558         (xtests): Likewise.
39560         * Makeconfig (test-xfail-name): New variable.
39561         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39562         compute variable name for expected failures.
39563         * conform/Makefile (conformtest-headers-data): New variable.
39564         (conformtest-standards): Likewise.
39565         (conformtest-headers-ISO): Likewise.
39566         (conformtest-headers-ISO99): Likewise.
39567         (conformtest-headers-ISO11): Likewise.
39568         (conformtest-headers-POSIX): Likewise.
39569         (conformtest-headers-XPG3): Likewise.
39570         (conformtest-headers-XPG4): Likewise.
39571         (conformtest-headers-UNIX98): Likewise.
39572         (conformtest-headers-XOPEN2K): Likewise.
39573         (conformtest-headers-POSIX2008): Likewise.
39574         (conformtest-headers-XOPEN2K8): Likewise.
39575         (conformtest-header-list-base): Likewise.
39576         (conformtest-header-list-tests): Likewise.
39577         (conformtest-header-base): Likewise.
39578         (conformtest-header-tests): Likewise.
39579         (tests-special): Add $(conformtest-header-list-tests).  If
39580         [$(fast-check) && !$(cross-compiling)], add
39581         $(conformtest-header-tests) instead of
39582         $(objpfx)run-conformtest.out.
39583         (generated): Add $(conformtest-header-list-base).  If
39584         [$(fast-check) && !$(cross-compiling)], add
39585         $(conformtest-header-base).  Remove previous setting.
39586         ($(conformtest-header-list-tests)): New target.
39587         (test-xfail-run-conformtest): Remove variable.
39588         ($(objpfx)run-conformtest.out): Remove target.
39589         (test-xfail-ISO11/complex.h/conform): New variable.
39590         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39591         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39592         (test-xfail-XPG3/varargs.h/conform): Likewise.
39593         (test-xfail-XPG4/varargs.h/conform): Likewise.
39594         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39595         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39596         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39597         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39598         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39599         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39600         (test-xfail-XPG3/ftw.h/conform): Likewise.
39601         (test-xfail-XPG3/grp.h/conform): Likewise.
39602         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39603         (test-xfail-XPG3/limits.h/conform): Likewise.
39604         (test-xfail-XPG3/pwd.h/conform): Likewise.
39605         (test-xfail-XPG3/search.h/conform): Likewise.
39606         (test-xfail-XPG3/signal.h/conform): Likewise.
39607         (test-xfail-XPG3/stdio.h/conform): Likewise.
39608         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39609         (test-xfail-XPG3/string.h/conform): Likewise.
39610         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39611         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39612         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39613         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39614         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39615         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39616         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39617         (test-xfail-XPG3/termios.h/conform): Likewise.
39618         (test-xfail-XPG3/time.h/conform): Likewise.
39619         (test-xfail-XPG3/unistd.h/conform): Likewise.
39620         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39621         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39622         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39623         (test-xfail-XPG4/netdb.h/conform): Likewise.
39624         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39625         (test-xfail-XPG4/signal.h/conform): Likewise.
39626         (test-xfail-XPG4/stdio.h/conform): Likewise.
39627         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39628         (test-xfail-XPG4/stropts.h/conform): Likewise.
39629         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39630         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39631         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39632         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39633         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39634         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39635         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39636         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39637         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39638         (test-xfail-XPG4/termios.h/conform): Likewise.
39639         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39640         (test-xfail-XPG4/unistd.h/conform): Likewise.
39641         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39642         (test-xfail-POSIX/sched.h/conform): Likewise.
39643         (test-xfail-POSIX/signal.h/conform): Likewise.
39644         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39645         (test-xfail-POSIX/tar.h/conform): Likewise.
39646         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39647         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39648         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39649         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39650         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39651         (test-xfail-UNIX98/sched.h/conform): Likewise.
39652         (test-xfail-UNIX98/signal.h/conform): Likewise.
39653         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39654         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39655         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39656         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39657         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39658         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39659         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39660         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39661         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39662         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39663         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39664         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39665         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39666         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39667         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39668         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39669         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39670         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39671         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39672         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39673         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39674         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39675         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39676         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39677         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39678         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39679         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39680         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39681         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39682         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39683         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39684         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39685         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39686         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39687         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39688         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39689         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39690         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39691         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39692         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39693         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39694         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39695         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39696         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39697         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39698         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39699         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39700         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39701         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39702         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39703         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39704         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39705         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39706         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39707         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39708         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39709         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39710         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39711         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39712         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39713         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39714         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39715         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39716         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39717         (conformtest-cc-flags): Likewise.
39718         ($(conformtest-header-tests): New target.
39719         * conform/check-header-lists.sh: New file.
39720         * conform/run-conformtest.sh: Remove.
39722         * conform/conformtest.pl: Allow ' and \ in values given for
39723         constants.
39724         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39725         inclusion.
39726         [POSIX] (sys/types.h): Likewise.
39727         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39728         inclusion.
39729         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39730         inclusion.
39731         * conform/data/signal.h-data (SIGIO): Remove expectation.
39732         [XPG3] (SIGBUS): Do not expect.
39733         [POSIX || XPG3] (SIGPOLL): Likewise.
39734         [POSIX || XPG3] (SIGPROF): Likewise.
39735         [POSIX || XPG3] (SIGSYS): Likewise.
39736         [XPG3] (SIGTRAP): Likewise.
39737         [POSIX || XPG3] (SIGURG): Likewise.
39738         [POSIX || XPG3] (SIGVTALRM): Likewise.
39739         [POSIX || XPG3] (SIGXCPU): Likewise.
39740         [POSIX || XPG3] (SIGXFSZ): Likewise.
39741         [POSIX] (SA_SIGINFO): Expect.
39742         [XPG3] (siginfo_t): Do not expect type or contents.
39743         [POSIX] (si_pid): Do not expect element.
39744         [POSIX] (si_uid): Likewise.
39745         [POSIX] (si_addr): Likewise.
39746         [POSIX] (si_status): Likewise.
39747         [POSIX] (si_band): Likewise.
39748         [XPG4] (si_value): Likewise.
39749         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39750         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39751         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39752         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39753         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39754         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39755         [POSIX || XPG3] (ILL_COPROC): Likewise.
39756         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39757         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39758         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39759         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39760         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39761         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39762         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39763         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39764         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39765         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39766         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39767         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39768         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39769         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39770         [POSIX || XPG3] (CLD_EXITED): Likewise.
39771         [POSIX || XPG3] (CLD_KILLED): Likewise.
39772         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39773         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39774         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39775         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39776         [POSIX || XPG3] (POLL_IN): Likewise.
39777         [POSIX || XPG3] (POLL_OUT): Likewise.
39778         [POSIX || XPG3] (POLL_MSG): Likewise.
39779         [POSIX || XPG3] (POLL_ERR): Likewise.
39780         [POSIX || XPG3] (POLL_PRI): Likewise.
39781         [POSIX || XPG3] (POLL_HUP): Likewise.
39782         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39783         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39784         (SIG*): Do not allow.
39785         [XPG3] (si_*): Likewise.
39786         [XPG3] (SI_*): Likewise.
39787         [XPG3 || XPG4] (sigev_*): Likewise.
39788         [XPG3 || XPG4] (SIGEV_*): Likewise.
39789         [XPG3 || XPG4] (sival_*): Likewise.
39790         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39791         [POSIX || XPG3] (BUS_*): Likewise.
39792         [POSIX || XPG3] (CLD_*): Likewise.
39793         [POSIX || XPG3] (FPE_*): Likewise.
39794         [POSIX || XPG3] (ILL_*): Likewise.
39795         [POSIX || XPG3] (POLL_*): Likewise.
39796         [POSIX || XPG3] (SEGV_*): Likewise.
39797         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39798         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39799         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39800         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39801         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39802         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39803         Specify type and value.
39804         (TVERSLEN): Likewise.
39805         (REGTYPE): Likewise.
39806         (AREGTYPE): Likewise.
39807         (LNKTYPE): Likewise.
39808         (SYMTYPE): Likewise.
39809         (CHRTYPE): Likewise.
39810         (BLKTYPE): Likewise.
39811         (DIRTYPE): Likewise.
39812         (FIFOTYPE): Likewise.
39813         (CONTTYPE): Likewise.
39814         (TSUID): Likewise.
39815         (TSGID): Likewise.
39816         (TSVTX): Likewise.
39817         (TUREAD): Likewise.
39818         (TUWRITE): Likewise.
39819         (TUEXEC): Likewise.
39820         (TGREAD): Likewise.
39821         (TGWRITE): Likewise.
39822         (TGEXEC): Likewise.
39823         (TOREAD): Likewise.
39824         (TOWRITE): Likewise.
39825         (TOEXEC): Likewise.
39826         [POSIX] (TSVTX): Expect constant.
39828 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39830         * Makefile (tests): Change dependencies to ....
39831         (tests-special): ... additions to this variable.
39832         (tests): Depend on $(tests-special).
39833         * Makerules (check-abi-list): New variable.
39834         (check-abi): Depend on $(check-abi-list).
39835         [$(subdir) = elf] (tests-special): Add
39836         $(objpfx)check-abi-libc.out.
39837         [$(build-shared) = yes && subdir] (tests-special): Add
39838         $(check-abi-list).
39839         [$(build-shared) = yes && subdir] (tests): Do not depend on
39840         check-abi.
39841         * Rules (tests): Depend on $(tests-special).
39842         (xtests): Depend on $(xtests-special).
39843         * catgets/Makefile (tests): Change dependencies to ....
39844         (tests-special): ... additions to this variable.
39845         * conform/Makefile (tests): Change dependencies to ....
39846         (tests-special): ... additions to this variable.
39847         * elf/Makefile (tests): Change dependencies to ....
39848         (tests-special): ... additions to this variable.
39849         * grp/Makefile (tests): Change dependencies to ....
39850         (tests-special): ... additions to this variable.
39851         * iconv/Makefile (xtests): Change dependencies to ....
39852         (xtests-special): ... additions to this variable.
39853         * iconvdata/Makefile (tests): Change dependencies to ....
39854         (tests-special): ... additions to this variable.
39855         * intl/Makefile (tests): Change dependencies to ....
39856         (tests-special): ... additions to this variable.  Also add
39857         $(objpfx)tst-gettext.out.
39858         * io/Makefile (tests): Change dependencies to ....
39859         (tests-special): ... additions to this variable.
39860         * libio/Makefile (tests): Change dependencies to ....
39861         (tests-special): ... additions to this variable.
39862         * malloc/Makefile (tests): Change dependencies to ....
39863         (tests-special): ... additions to this variable.
39864         * misc/Makefile (tests): Change dependencies to ....
39865         (tests-special): ... additions to this variable.
39866         * nptl/Makefile (tests): Change dependencies to ....
39867         (tests-special): ... additions to this variable.
39868         * nptl_db/Makefile (tests): Change dependencies to ....
39869         (tests-special): ... additions to this variable.
39870         * posix/Makefile (tests): Change dependencies to ....
39871         (tests-special): ... additions to this variable.
39872         (xtests): Change dependencies to ....
39873         (xtests-special): ... additions to this variable.
39874         * resolv/Makefile (tests): Change dependencies to ....
39875         (tests-special): ... additions to this variable.
39876         (xtests): Change dependencies to ....
39877         (xtests-special): ... additions to this variable.
39878         * stdio-common/Makefile (tests): Change dependencies to ....
39879         (tests-special): ... additions to this variable.
39880         (do-tst-unbputc): Remove target.
39881         (do-tst-printf): Likewise.
39882         * stdlib/Makefile (tests): Change dependencies to ....
39883         (tests-special): ... additions to this variable.
39884         * string/Makefile (tests): Change dependencies to ....
39885         (tests-special): ... additions to this variable.
39886         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39887         (tests-special): ... additions to this variable.
39889         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39890         whole file.
39891         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39892         whole file.
39893         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39894         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39896         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39897         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39898         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39899         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39900         * conform/data/libgen.h-data [XPG3]: Likewise.
39901         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39902         * conform/data/ndbm.h-data [XPG3]: Likewise.
39903         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39904         * conform/data/netdb.h-data [XPG3]: Likewise.
39905         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39906         * conform/data/poll.h-data [XPG3]: Likewise.
39907         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39908         * conform/data/strings.h-data [XPG3]: Likewise.
39909         * conform/data/stropts.h-data [XPG3]: Likewise.
39910         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39911         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39912         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39913         Likewise.
39914         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39915         * conform/data/sys/time.h-data [XPG3]: Likewise.
39916         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39917         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39918         * conform/data/sys/un.h-data [XPG3]: Likewise.
39919         * conform/data/syslog.h-data [XPG3]: Likewise.
39920         * conform/data/ucontext.h-data [XPG3]: Likewise.
39921         * conform/data/utmpx.h-data [XPG3]: Likewise.
39922         * conform/data/varargs.h-data [UNIX98]: Enable file.
39924         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39926         * math/libm-test.inc (struct test_f_f_data): Move expected results
39927         into structure for each rounding mode.
39928         (struct test_ff_f_data): Likewise.
39929         (struct test_ff_f_data_nexttoward): Likewise.
39930         (struct test_fi_f_data): Likewise.
39931         (struct test_fl_f_data): Likewise.
39932         (struct test_if_f_data): Likewise.
39933         (struct test_fff_f_data): Likewise.
39934         (struct test_c_f_data): Likewise.
39935         (struct test_f_f1_data): Likewise.
39936         (struct test_fF_f1_data): Likewise.
39937         (struct test_ffI_f1_data): Likewise.
39938         (struct test_c_c_data): Likewise.
39939         (struct test_cc_c_data): Likewise.
39940         (struct test_f_i_data): Likewise.
39941         (struct test_ff_i_data): Likewise.
39942         (struct test_f_l_data): Likewise.
39943         (struct test_f_L_data): Likewise.
39944         (struct test_fFF_11_data): Likewise.
39945         (RM_): New macro.
39946         (RM_FE_DOWNWARD): Likewise.
39947         (RM_FE_TONEAREST): Likewise.
39948         (RM_FE_TOWARDZERO): Likewise.
39949         (RM_FE_UPWARD): Likewise.
39950         (RUN_TEST_LOOP_f_f): Update references to expected results.
39951         (RUN_TEST_LOOP_2_f): Likewise.
39952         (RUN_TEST_LOOP_fff_f): Likewise.
39953         (RUN_TEST_LOOP_c_f): Likewise.
39954         (RUN_TEST_LOOP_f_f1): Likewise.
39955         (RUN_TEST_LOOP_fF_f1): Likewise.
39956         (RUN_TEST_LOOP_fI_f1): Likewise.
39957         (RUN_TEST_LOOP_ffI_f1): Likewise.
39958         (RUN_TEST_LOOP_c_c): Likewise.
39959         (RUN_TEST_LOOP_cc_c): Likewise.
39960         (RUN_TEST_LOOP_f_i): Likewise.
39961         (RUN_TEST_LOOP_f_i_tg): Likewise.
39962         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39963         (RUN_TEST_LOOP_f_b): Likewise.
39964         (RUN_TEST_LOOP_f_b_tg): Likewise.
39965         (RUN_TEST_LOOP_f_l): Likewise.
39966         (RUN_TEST_LOOP_f_L): Likewise.
39967         (RUN_TEST_LOOP_fFF_11): Likewise.
39968         * math/gen-libm-test.pl (parse_args): Output four copies of
39969         expected results for each test.
39971         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39972         (__ASSUME_UTIMES): Remove.
39973         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39974         (__ASSUME_UTIMES): Likewise.
39976         * math/gen-auto-libm-tests.c: Update comment on output format.
39977         (output_for_one_input_case): Generate before-rounding and
39978         after-rounding information as conditions on output flags not
39979         floating-point format.
39980         * math/auto-libm-test-out: Regenerated.
39981         * math/gen-libm-test.pl (cond_value): New function.
39982         (or_cond_value): Use cond_value.
39983         (generate_testfile): Handle conditional exceptions.
39985 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39987         * math/libm-test.inc (max_valid_error): New variable.
39988         (init_max_error): Take new argument specifying whether function
39989         results are exactly determined.  Set max_valid_error and bound
39990         other variables for errors based on this argument.
39991         (set_max_error): Do not record results above max_valid_error.
39992         (check_float_internal): Only accept errors of up to 0.5ulps if
39993         also at most max_valid_error.
39994         (START): Take new argument EXACT and pass it to init_max_error.
39995         (acos_test): Update call to START.
39996         (acos_test_tonearest): Likewise.
39997         (acos_test_towardzero): Likewise.
39998         (acos_test_downward): Likewise.
39999         (acos_test_upward): Likewise.
40000         (acosh_test): Likewise.
40001         (asin_test): Likewise.
40002         (asin_test_tonearest): Likewise.
40003         (asin_test_towardzero): Likewise.
40004         (asin_test_downward): Likewise.
40005         (asin_test_upward): Likewise.
40006         (asinh_test): Likewise.
40007         (atan_test): Likewise.
40008         (atanh_test): Likewise.
40009         (atan2_test): Likewise.
40010         (cabs_test): Likewise.
40011         (cacos_test): Likewise.
40012         (cacosh_test): Likewise.
40013         (carg_test): Likewise.
40014         (casin_test): Likewise.
40015         (casinh_test): Likewise.
40016         (catan_test): Likewise.
40017         (catanh_test): Likewise.
40018         (cbrt_test): Likewise.
40019         (ccos_test): Likewise.
40020         (ccosh_test): Likewise.
40021         (ceil_test): Likewise.
40022         (cexp_test): Likewise.
40023         (cimag_test): Likewise.
40024         (clog_test): Likewise.
40025         (clog10_test): Likewise.
40026         (conj_test): Likewise.
40027         (copysign_test): Likewise.
40028         (cos_test): Likewise.
40029         (cos_test_tonearest): Likewise.
40030         (cos_test_towardzero): Likewise.
40031         (cos_test_downward): Likewise.
40032         (cos_test_upward): Likewise.
40033         (cosh_test): Likewise.
40034         (cosh_test_tonearest): Likewise.
40035         (cosh_test_towardzero): Likewise.
40036         (cosh_test_downward): Likewise.
40037         (cosh_test_upward): Likewise.
40038         (cpow_test): Likewise.
40039         (cproj_test): Likewise.
40040         (creal_test): Likewise.
40041         (csin_test): Likewise.
40042         (csinh_test): Likewise.
40043         (csqrt_test): Likewise.
40044         (ctan_test): Likewise.
40045         (ctan_test_tonearest): Likewise.
40046         (ctan_test_towardzero): Likewise.
40047         (ctan_test_downward): Likewise.
40048         (ctan_test_upward): Likewise.
40049         (ctanh_test): Likewise.
40050         (ctanh_test_tonearest): Likewise.
40051         (ctanh_test_towardzero): Likewise.
40052         (ctanh_test_downward): Likewise.
40053         (ctanh_test_upward): Likewise.
40054         (erf_test): Likewise.
40055         (erfc_test): Likewise.
40056         (exp_test): Likewise.
40057         (exp_test_tonearest): Likewise.
40058         (exp_test_towardzero): Likewise.
40059         (exp_test_downward): Likewise.
40060         (exp_test_upward): Likewise.
40061         (exp10_test): Likewise.
40062         (exp10_test_tonearest): Likewise.
40063         (exp10_test_towardzero): Likewise.
40064         (exp10_test_downward): Likewise.
40065         (exp10_test_upward): Likewise.
40066         (pow10_test): Likewise.
40067         (exp2_test): Likewise.
40068         (expm1_test): Likewise.
40069         (expm1_test_tonearest): Likewise.
40070         (expm1_test_towardzero): Likewise.
40071         (expm1_test_downward): Likewise.
40072         (expm1_test_upward): Likewise.
40073         (fabs_test): Likewise.
40074         (fdim_test): Likewise.
40075         (floor_test): Likewise.
40076         (fma_test): Likewise.
40077         (fma_test_towardzero): Likewise.
40078         (fma_test_downward): Likewise.
40079         (fma_test_upward): Likewise.
40080         (fmax_test): Likewise.
40081         (fmin_test): Likewise.
40082         (fmod_test): Likewise.
40083         (fpclassify_test): Likewise.
40084         (frexp_test): Likewise.
40085         (hypot_test): Likewise.
40086         (ilogb_test): Likewise.
40087         (isfinite_test): Likewise.
40088         (finite_test): Likewise.
40089         (isgreater_test): Likewise.
40090         (isgreaterequal_test): Likewise.
40091         (isinf_test): Likewise.
40092         (isless_test): Likewise.
40093         (islessequal_test): Likewise.
40094         (islessgreater_test): Likewise.
40095         (isnan_test): Likewise.
40096         (isnormal_test): Likewise.
40097         (issignaling_test): Likewise.
40098         (isunordered_test): Likewise.
40099         (j0_test): Likewise.
40100         (j1_test): Likewise.
40101         (jn_test): Likewise.
40102         (ldexp_test): Likewise.
40103         (lgamma_test): Likewise.
40104         (gamma_test): Likewise.
40105         (lrint_test): Likewise.
40106         (lrint_test_tonearest): Likewise.
40107         (lrint_test_towardzero): Likewise.
40108         (lrint_test_downward): Likewise.
40109         (lrint_test_upward): Likewise.
40110         (llrint_test): Likewise.
40111         (llrint_test_tonearest): Likewise.
40112         (llrint_test_towardzero): Likewise.
40113         (llrint_test_downward): Likewise.
40114         (llrint_test_upward): Likewise.
40115         (log_test): Likewise.
40116         (log10_test): Likewise.
40117         (log1p_test): Likewise.
40118         (log2_test): Likewise.
40119         (logb_test): Likewise.
40120         (logb_test_downward): Likewise.
40121         (lround_test): Likewise.
40122         (llround_test): Likewise.
40123         (modf_test): Likewise.
40124         (nearbyint_test): Likewise.
40125         (nextafter_test): Likewise.
40126         (nexttoward_test): Likewise.
40127         (pow_test): Likewise.
40128         (pow_test_tonearest): Likewise.
40129         (pow_test_towardzero): Likewise.
40130         (pow_test_downward): Likewise.
40131         (pow_test_upward): Likewise.
40132         (remainder_test): Likewise.
40133         (drem_test): Likewise.
40134         (remainder_test_tonearest): Likewise.
40135         (drem_test_tonearest): Likewise.
40136         (remainder_test_towardzero): Likewise.
40137         (drem_test_towardzero): Likewise.
40138         (remainder_test_downward): Likewise.
40139         (drem_test_downward): Likewise.
40140         (remainder_test_upward): Likewise.
40141         (drem_test_upward): Likewise.
40142         (remquo_test): Likewise.
40143         (rint_test): Likewise.
40144         (rint_test_tonearest): Likewise.
40145         (rint_test_towardzero): Likewise.
40146         (rint_test_downward): Likewise.
40147         (rint_test_upward): Likewise.
40148         (round_test): Likewise.
40149         (scalb_test): Likewise.
40150         (scalbn_test): Likewise.
40151         (scalbln_test): Likewise.
40152         (signbit_test): Likewise.
40153         (sin_test): Likewise.
40154         (sin_test_tonearest): Likewise.
40155         (sin_test_towardzero): Likewise.
40156         (sin_test_downward): Likewise.
40157         (sin_test_upward): Likewise.
40158         (sincos_test): Likewise.
40159         (sinh_test): Likewise.
40160         (sinh_test_tonearest): Likewise.
40161         (sinh_test_towardzero): Likewise.
40162         (sinh_test_downward): Likewise.
40163         (sinh_test_upward): Likewise.
40164         (sqrt_test): Likewise.
40165         (sqrt_test_tonearest): Likewise.
40166         (sqrt_test_towardzero): Likewise.
40167         (sqrt_test_downward): Likewise.
40168         (sqrt_test_upward): Likewise.
40169         (tan_test): Likewise.
40170         (tan_test_tonearest): Likewise.
40171         (tan_test_towardzero): Likewise.
40172         (tan_test_downward): Likewise.
40173         (tan_test_upward): Likewise.
40174         (tanh_test): Likewise.
40175         (tgamma_test): Likewise.
40176         (trunc_test): Likewise.
40177         (y0_test): Likewise.
40178         (y1_test): Likewise.
40179         (yn_test): Likewise.
40180         (significand_test): Likewise.
40182         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40183         individual tests in comment.
40184         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40185         (prev_max_error): New variable.
40186         (prev_real_max_error): Likewise.
40187         (prev_imag_max_error): Likewise.
40188         (compare_ulp_data): Don't refer to test names in comment.
40189         (find_test_ulps): Remove function.
40190         (find_function_ulps): Likewise.
40191         (find_complex_function_ulps): Likewise.
40192         (init_max_error): Take function name as argument.  Look up ulps
40193         for that function.
40194         (print_ulps): Remove function.
40195         (print_max_error): Use prev_max_error instead of calling
40196         find_function_ulps.
40197         (print_complex_max_error): Use prev_real_max_error and
40198         prev_imag_max_error instead of calling find_complex_function_ulps.
40199         (check_float_internal): Take max_ulp parameter instead of calling
40200         find_test_ulps.  Don't call print_ulps.
40201         (check_float): Update call to check_float_internal.
40202         (check_complex): Update calls to check_float_internal.
40203         (START): Pass argument to init_max_error.
40204         * math/gen-libm-test.pl (%results): Don't include "kind"
40205         information.
40206         (parse_ulps): Don't handle ulps of individual tests.
40207         (print_ulps_file): Likewise.
40208         (output_ulps): Likewise.
40209         * math/README.libm-test: Update.
40210         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40211         individual tests.
40212         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40213         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40214         * sysdeps/arm/libm-test-ulps: Likewise.
40215         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40216         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40217         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40218         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40219         * sysdeps/microblaze/libm-test-ulps: Likewise.
40220         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40221         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40222         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40223         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40224         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40225         * sysdeps/sh/libm-test-ulps: Likewise.
40226         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40227         * sysdeps/tile/libm-test-ulps: Likewise.
40228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40230 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40232         * math/libm-test.inc (print_complex_max_error): Check separately
40233         whether real and imaginary errors are within allowed range and
40234         pass 0 to print_complex_function_ulps instead of value within
40235         allowed range.
40237 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40239         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40240         formatting.
40241         (get_handles_fopen): Likewise.
40242         (do_write_test): Likewise.
40244         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40246         * libio/fileops.c (do_ftell): Use cached offset when
40247         available.
40248         * libio/iofwide.c (do_ftell_wide): Likewise.
40249         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40250         _IO_file_attach.
40251         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40253         [BZ #16532]
40254         * libio/libioP.h (get_file_offset): New function.
40255         * libio/fileops.c (get_file_offset): Likewise.
40256         (do_ftell): Likewise.
40257         (_IO_new_file_seekoff): Split out ftell logic.
40258         * libio/wfileops.c (do_ftell_wide): Likewise.
40259         (_IO_wfile_seekoff): Split out ftell logic.
40260         * libio/tst-ftell-active-handler.c: New test case.
40261         * libio/Makefile (tests): Add it.
40263 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40265         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40266         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40268 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40270         [BZ #16639]
40271         * nscd/connections.c (nscd_init): Call do_exit.
40272         (start_threads): Call do_exit and notify_parent.
40273         (begin_drop_privileges): Call do_exit.
40274         (finish_drop_privileges): Likewise.
40275         * nscd/selinux.c (preserve_capabilities): Likewise.
40276         (install_real_capabilities): Likewise.
40277         (nscd_selinux_enabled): Likewise.
40278         (avc_create_thread): Likewise.
40279         (avc_alloc_lock): Likewise.
40280         (nscd_avc_init): Likewise.
40281         * nscd/nscd.c (parent_fd): New static variable.
40282         (main): Create a pipe between parent and child processes.
40283         Skip closing parent_fd.
40284         (monitor_child): New function.
40285         (do_exit): Likewise.
40286         (notify_parent): Likewise.
40287         * nscd/nscd.h (notify_parent): Likewise.
40288         (do_exit): Likewise.
40290 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40292         * malloc/malloc.c (__libc_calloc): Revert last change.
40294 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40298 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40300         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40302         implementation.
40303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40304         (__libc_ifunc_impl_list): Likewise.
40305         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40306         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40307         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40308         * string/strrchr.c: Define STRRCHR.
40310 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40312         * benchtest/bench-strtok.c (simple_strtok): Delete.
40313         (strtok_string): Use as benchmark.
40314         * string/strtok (STRTOK): New macro.
40316 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40318         * manual/threads.texi: Add header and standard comments to all
40319         functions.
40321         * elf/dl-lookup.c (check_match): New function.
40322         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40323         (do_lookup_x): Remove nested function check_match. Use non-nested
40324         function check_match.
40326 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40328         * csu/Makefile (generated, before-compile): Use += rather than =.
40329         * catgets/Makefile (generated, generated-dirs): Likewise.
40330         * debug/Makefile (generated): Likewise.
40331         * dlfcn/Makefile (generated): Likewise.
40332         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40333         * iconvdata/Makefile (before-compile, generated): Likewise.
40334         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40335         * libio/Makefile (generated): Likewise.
40336         * malloc/Makefile (generated): Likewise.
40337         * manual/Makefile (generated, generated-dirs): Likewise.
40338         * misc/Makefile (generated): Likewise.
40339         * posix/Makefile (generated): Likewise.
40340         * resolv/Makefile (generated): Likewise.
40341         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40342         * timezone/Makefile (generated, generated-dirs): Likewise.
40344         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40346 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40348         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40349         power8 implementation.
40350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40351         file: POWER8 llround ifunc implementation.
40352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40353         (__lllround): Add POWER8 implementation.
40354         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40355         POWER8 llround implementation.
40357         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40358         power8 implementation.
40359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40360         file: POWER8 llrint ifunc implementation.
40361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40362         Add POWER8 implementation.
40363         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40364         POWER8 llrint implementation.
40366         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40367         power8 implementation.
40368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40369         file: POWER8 finite ifunc implementation.
40370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40371         Add POWER8 implementation.
40372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40373         Likewise.
40374         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40375         POWER8 finite implementation.
40376         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40378         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40379         power8 implementation.
40380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40381         file: POWER8 isinf ifunc implementation.
40382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40383         POWER8 implementation.
40384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40385         Likewise.
40386         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40387         isinf implementation.
40388         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40390         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40391         (INIT_ARCH): Add hwcap2 initialization.
40392         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40393         power8 implementation.
40394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40395         file: POWER8 isnan ifunc implementation.
40396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40397         POWER8 implementation.
40398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40399         Likewise.
40400         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40401         isnan implementation.
40402         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40404 2014-02-27  Joey Ye  <joey.ye@arm.com>
40406         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40407         (_FP_NANFRAC_Q): Set to zero.
40409 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40411         [BZ #16623]
40412         * math/auto-libm-test-in: New test inputs.
40413         * math/auto-libm-test-out: Regenerate.
40414         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40415         and DA.
40416         (__cos): Likewise.
40417         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40419 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40421         * scripts/evaluate-test.sh: Take new argument indicating whether
40422         failure is expected.
40423         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40424         indicating whether failure is expected.
40425         * conform/Makefile (test-xfail-run-conformtest): New variable.
40426         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40427         level.
40428         * posix/Makefile (test-xfail-annexc): New variable.
40429         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40431 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40433         * argp/Makefile: Include Makeconfig immediately after defining
40434         subdir.
40435         * assert/Makefile: Likewise.
40436         * benchtests/Makefile: Likewise.
40437         * catgets/Makefile: Likewise.
40438         * conform/Makefile: Likewise.
40439         * crypt/Makefile: Likewise.
40440         * csu/Makefile: Likewise.
40441         (all): Remove target.
40442         * ctype/Makefile: Include Makeconfig immediately after defining
40443         subdir.
40444         * debug/Makefile: Likewise.
40445         * dirent/Makefile: Likewise.
40446         * dlfcn/Makefile: Likewise.
40447         * gmon/Makefile: Likewise.
40448         * gnulib/Makefile: Likewise.
40449         * grp/Makefile: Likewise.
40450         * gshadow/Makefile: Likewise.
40451         * hesiod/Makefile: Likewise.
40452         * hurd/Makefile: Likewise.
40453         (all): Remove target.
40454         * iconvdata/Makefile: Include Makeconfig immediately after
40455         defining subdir.
40456         * inet/Makefile: Likewise.
40457         * intl/Makefile: Likewise.
40458         * io/Makefile: Likewise.
40459         * libio/Makefile: Likewise.
40460         (all): Remove target.
40461         * locale/Makefile: Include Makeconfig immediately after defining
40462         subdir.
40463         * login/Makefile: Likewise.
40464         * mach/Makefile: Likewise.
40465         (all): Remove target.
40466         * malloc/Makefile: Include Makeconfig immediately after defining
40467         subdir.
40468         (all): Remove target.
40469         * manual/Makefile: Include Makeconfig immediately after defining
40470         subdir.
40471         * math/Makefile: Likewise.
40472         * misc/Makefile: Likewise.
40473         * nis/Makefile: Likewise.
40474         * nss/Makefile: Likewise.
40475         * po/Makefile: Likewise.
40476         (all): Remove target.
40477         * posix/Makefile: Include Makeconfig immediately after defining
40478         subdir.
40479         * pwd/Makefile: Likewise.
40480         * resolv/Makefile: Likewise.
40481         * resource/Makefile: Likewise.
40482         * rt/Makefile: Likewise.
40483         * setjmp/Makefile: Likewise.
40484         * shadow/Makefile: Likewise.
40485         * signal/Makefile: Likewise.
40486         * socket/Makefile: Likewise.
40487         * soft-fp/Makefile: Likewise.
40488         * stdio-common/Makefile: Likewise.
40489         * stdlib/Makefile: Likewise.
40490         * streams/Makefile: Likewise.
40491         * string/Makefile: Likewise.
40492         * sunrpc/Makefile: Likewise.
40493         (all): Remove target.
40494         * sysvipc/Makefile: Include Makeconfig immediately after defining
40495         subdir.
40496         * termios/Makefile: Likewise.
40497         * time/Makefile: Likewise.
40498         * timezone/Makefile: Likewise.
40499         (all): Remove target.
40500         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40501         subdir.
40502         * wctype/Makefile: Likewise.
40504 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40506         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40507         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40508         (libc_feholdexcept_setround_mips): Ditto.
40509         (libc_feholdsetround): New.
40510         (libc_feholdsetroundf): New.
40511         (libc_feholdsetroundl): New.
40512         (libc_feupdateenv_test_mips): New.
40513         (libc_feupdateenv_test): New.
40514         (libc_feupdateenv_testf): New.
40515         (libc_feupdateenv_testl): New.
40516         (libc_feresetround): New.
40517         (libc_feresetroundf): New.
40518         (libc_feresetroundl): New.
40519         (libc_fetestexcept_mips): New.
40520         (libc_fetestexcept): New.
40521         (libc_fetestexceptf): New.
40522         (libc_fetestexceptl): New.
40523         (HAVE_RM_CTX): New.
40524         (libc_feholdexcept_setround_mips_ctx): New.
40525         (libc_feholdexcept_setround_ctx): New.
40526         (libc_feholdexcept_setroundf_ctx): New.
40527         (libc_feholdexcept_setroundl_ctx): New.
40528         (libc_fesetenv_mips_ctx): New.
40529         (libc_fesetenv_ctx): New.
40530         (libc_fesetenv_ctxf): New.
40531         (libc_fesetenv_ctxl): New.
40532         (libc_feupdateenv_mips_ctx): New.
40533         (libc_feupdateenv_ctx): New.
40534         (libc_feupdateenvf_ctx): New.
40535         (libc_feupdateenvl_ctx): New.
40536         (libc_feholdsetround_mips_ctx): New.
40537         (libc_feholdsetround_ctx): New.
40538         (libc_feholdsetroundf_ctx): New.
40539         (libc_feholdsetroundl_ctx): New.
40540         (libc_feresetround_mips_ctx): New.
40541         (libc_feresetround_ctx): New.
40542         (libc_feresetroundf_ctx): New.
40543         (libc_feresetroundl_ctx): New.
40545 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40547         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40549         * manual/ipc.texi: New file.
40550         * manual/Makefile (chapters): Add ipc.
40551         * manual/job.texi: Add "Inter-Process Communication" to next.
40552         * manual/process.texi: Add "Inter-Process Communication" to prev.
40554 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40558 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40560         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40562         * manual/arith.texi: Fix spaces after sentences.
40563         * manual/charset.texi: Likewise.
40564         * manual/errno.texi: Likewise.
40565         * manual/install.texi: Likewise.
40566         * manual/llio.texi: Likewise.
40567         * manual/locale.texi: Likewise.
40568         * manual/maint.texi: Likewise.
40569         * manual/math.texi: Likewise.
40570         * manual/memory.texi: Likewise.
40571         * manual/message.texi: Likewise.
40572         * manual/probes.texi: Likewise.
40573         * manual/resource.texi: Likewise.
40574         * manual/signal.texi: Likewise.
40575         * manual/socket.texi: Likewise.
40576         * manual/stdio.texi: Likewise.
40577         * manual/string.texi: Likewise.
40578         * manual/time.texi: Likewise.
40579         * manual/users.texi: Likewise.
40581 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40583         [BZ #16632]
40584         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40585         _DEFAULT_SOURCE is defined.
40587 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40588             Carlos O'Donell  <carlos@redhat.com>
40590         [BZ #16613]
40591         * elf/dl-tls.c (_dl_count_modids): New function.
40592         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40593         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40594         audit library and increment generation counter.
40595         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40596         * elf/tst-audit9.c: New file.
40597         * elf/tst-auditmod9a.c: New file.
40598         * elf/tst-auditmod9b.c: New file.
40599         * elf/Makefile: Add rules to build and run tst-audit9.
40601 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40603         [BZ #15347]
40604         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40606 2014-02-25  Will Newton  <will.newton@linaro.org>
40608         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40609         (__longjmp): Restore sp and lr before restoring callee
40610         saved registers.  Add longjmp and longjmp_target
40611         SystemTap probe point.
40612         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40613         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40614         Define to zero to match jmpbuf layout.
40615         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40616         (__sigsetjmp): Save sp and lr before saving callee
40617         saved registers.  Add setjmp SystemTap probe point.
40619 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40621         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40623 2014-02-24  Andreas Schwab  <schwab@suse.de>
40625         [BZ #15804]
40626         * elf/pldd.c (wait_for_ptrace_stop): New function.
40627         (main): Call it after attaching.
40629 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40631         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40632         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40633         Versions files is now verboten.
40634         * hurd/Versions (libc: GLIBC_2.0):
40635         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40636         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40637         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40638         * mach/Versions: Likewise.
40640         * csu/Versions: Remove unused %include.
40641         * resolv/Versions: Likewise.
40643 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40645         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40646         ($(objpfx)check-local-headers.out): Likewise.
40647         ($(objpfx)begin-end-check.out): Likewise.
40648         * Makerules (check-abi-%.out): Likewise.
40649         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40650         ($(objpfx)test2.cat): Likewise.
40651         ($(objpfx)de/libc.cat): Likewise.
40652         ($(objpfx)test-gencat.out): Likewise.
40653         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40654         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40655         ($(objpfx)noload-mem): Likewise.
40656         ($(objpfx)tst-pathopt.out): Likewise.
40657         ($(objpfx)tst-rtld-load-self.out): Likewise.
40658         ($(objpfx)tst-array1-cmp.out): Likewise.
40659         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40660         ($(objpfx)tst-array2-cmp.out): Likewise.
40661         ($(objpfx)tst-array3-cmp.out): Likewise.
40662         ($(objpfx)tst-array4-cmp.out): Likewise.
40663         ($(objpfx)tst-array5-cmp.out): Likewise.
40664         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40665         ($(objpfx)check-textrel.out): Likewise.
40666         ($(objpfx)check-execstack.out): Likewise.
40667         ($(objpfx)check-localplt.out): Likewise.
40668         ($(objpfx)order2-cmp.out): Likewise.
40669         ($(objpfx)tst-leaks1-mem): Likewise.
40670         ($(objpfx)tst-leaks1-static-mem): Likewise.
40671         ($(objpfx)tst-initorder-cmp.out): Likewise.
40672         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40673         ($(objpfx)tst-unused-dep.out): Likewise.
40674         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40675         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40676         * iconv/Makefile (test-iconvconfig): Likewise.
40677         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40678         ($(objpfx)iconv-test.out): Likewise.
40679         ($(objpfx)tst-tables.out): Likewise.
40680         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40681         ($(objpfx)tst-gettext.out): Likewise.
40682         ($(objpfx)tst-translit.out): Likewise.
40683         ($(objpfx)tst-gettext2.out): Likewise.
40684         ($(objpfx)tst-gettext4.out): Likewise.
40685         ($(objpfx)tst-gettext6.out): Likewise.
40686         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40687         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40688         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40689         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40690         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40691         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40692         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40693         ($(objpfx)wordexp-tst.out): Likewise.
40694         ($(objpfx)annexc.out): Likewise.
40695         ($(objpfx)tst-fnmatch-mem): Likewise.
40696         ($(objpfx)bug-regex2-mem): Likewise.
40697         ($(objpfx)bug-regex14-mem): Likewise.
40698         ($(objpfx)bug-regex21-mem): Likewise.
40699         ($(objpfx)bug-regex31-mem): Likewise.
40700         ($(objpfx)tst-vfork3-mem): Likewise.
40701         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40702         ($(objpfx)tst-pcre-mem): Likewise.
40703         ($(objpfx)tst-boost-mem): Likewise.
40704         ($(objpfx)tst-getconf.out): Likewise.
40705         ($(objpfx)bug-ga2-mem): Likewise.
40706         ($(objpfx)bug-glob2-mem): Likewise.
40707         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40708         ($(objpfx)mtrace-tst-leaks2): Likewise.
40709         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40710         ($(objpfx)tst-printf.out): Likewise.
40711         ($(objpfx)tst-setvbuf1.out): Likewise.
40712         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40713         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40714         ($(objpfx)tst-fmtmsg.out): Likewise.
40715         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40716         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40718         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40719         * bits/sigaction.h [__USE_MISC]: Likewise.
40720         * bits/waitstatus.h: Update #endif comments.
40721         * ctype/ctype.h: Likewise.
40722         * dirent/dirent.h: Likewise.
40723         [__USE_MISC]: Remove redundant conditionals.
40724         * grp/grp.h: Update #endif comments.
40725         [__USE_GNU]: Remove redundant conditionals.
40726         [__USE_MISC]: Likewise.
40727         * inet/netinet/in.h [__USE_GNU]: Likewise.
40728         * io/sys/stat.h [__USE_MISC]: Likewise.
40729         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40730         * libio/bits/stdio.h: Update #endif comments.
40731         [__USE_MISC]: Remove redundant conditionals.
40732         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40733         * libio/stdio.h: Update #endif comments.
40734         [__USE_MISC]: Remove redundant conditionals.
40735         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40736         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40737         * math/math.h: Update #else and #endif comments.
40738         [__USE_MISC]: Remove redundant conditionals.
40739         * misc/sys/uio.h: Update #endif comments.
40740         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40741         * posix/glob.h [__USE_MISC]: Likewise.
40742         * posix/sys/types.h: Update #endif comments.
40743         [__USE_MISC]: Remove redundant conditionals.
40744         * posix/sys/wait.h: Update #endif comments.
40745         [__USE_MISC]: Remove redundant conditionals.
40746         * posix/unistd.h: Update #endif comments.
40747         [__USE_MISC]: Remove redundant conditionals.
40748         * pwd/pwd.h [__USE_GNU]: Likewise.
40749         [__USE_MISC]: Likewise.
40750         * resolv/netdb.h [__USE_GNU]: Likewise.
40751         * signal/signal.h: Update #endif comments.
40752         [__USE_MISC]: Remove redundant conditionals.
40753         * stdlib/stdlib.h: Update #else and #endif comments.
40754         [__USE_MISC]: Remove redundant conditionals.
40755         [__USE_GNU]: Likewise.
40756         * string/bits/string2.h [__USE_MISC]: Likewise.
40757         * string/string.h: Update #endif comments.
40758         [__USE_MISC]: Remove redundant conditionals.
40759         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40760         Likewise.
40761         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40762         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40763         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40764         Likewise.
40765         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40766         Likewise.
40767         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40768         comments.
40769         [__USE_MISC]: Remove redundant conditionals.
40770         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40771         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40772         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40773         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40774         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40775         Likewise.
40776         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40777         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40778         Likewise.
40779         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40780         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40781         Likewise.
40782         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40783         Likewise.
40784         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40785         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40786         Likewise.
40787         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40788         Likewise.
40789         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40790         * sysdeps/x86/bits/string.h: Update #endif comments.
40791         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40792         conditionals.
40793         * time/sys/time.h: Update #endif comments.
40794         * time/time.h: Likewise.
40795         [__USE_MISC]: Remove redundant conditionals.
40797 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40799         [BZ #16600]
40800         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40802 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40804         * Versions.def (librt): Add GLIBC_2.17.
40806 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40808         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40809         synonym for _SYS_AUXV_H to allow direct inclusion.
40810         * sysdeps/sparc/bits/hwcap.h: Likewise.
40811         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40812         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40813         * sysdeps/sparc/sysdep.h: Likewise.
40815 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40817         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40819 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40821         * benchtests/bench-strrchr.c: Print length instead of position.
40823 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40825         [BZ #16611]
40826         * sysdeps/unix/sysv/linux/kernel-features.h
40827         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40828         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40829         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40830         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40831         Likewise.
40832         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40833         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40834         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40835         (__ASSUME_SENDMMSG): Define instead of using previous
40836         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40837         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40838         (__ASSUME_SENDMMSG_SYSCALL): Define.
40839         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40840         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40841         Likewise.
40842         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40843         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40844         Likewise.
40845         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40846         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40847         Likewise.
40848         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40849         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40850         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40851         [__ASSUME_SENDMMSG]: Change conditionals to
40852         [__ASSUME_SENDMMSG_SOCKETCALL].
40853         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40854         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40855         Define.
40856         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40857         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40858         Likewise.
40859         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40860         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40861         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40862         [!__ASSUME_SENDMMSG]: Change conditional to
40863         [!__ASSUME_SENDMMSG_SOCKETCALL].
40864         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40865         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40866         Define.
40868         [BZ #16610]
40869         * sysdeps/unix/sysv/linux/kernel-features.h
40870         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40871         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40872         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40873         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40874         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40875         [__i386__ || __sparc__]
40876         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40877         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40878         (__ASSUME_RECVMMSG): Define instead of using previous
40879         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40880         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40881         (__ASSUME_RECVMMSG_SYSCALL): Define.
40882         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40883         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40884         Likewise.
40885         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40886         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40887         Likewise.
40888         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40889         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40890         Likewise.
40891         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40892         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40893         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40894         [__ASSUME_RECVMMSG]: Change condition to
40895         [__ASSUME_RECVMMSG_SOCKETCALL].
40896         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40897         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40898         Define.
40899         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40900         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40901         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40902         Likewise.
40903         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40904         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40905         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40906         [!__ASSUME_RECVMMSG]: Change condition to
40907         [!__ASSUME_RECVMMSG_SOCKETCALL].
40908         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40909         (__ASSUME_RECVMMSG_SYSCALL): Define.
40911         [BZ #16609]
40912         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40913         __powerpc__ || __s390__ || __sh__ || __sparc__]
40914         (__ASSUME_SOCKETCALL): Define.
40915         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40916         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40917         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40918         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40919         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40920         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40921         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40922         (__ASSUME_ACCEPT4): Define instead of using previous
40923         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40924         __powerpc__ || __sparc__ || __s390__)] condition.
40925         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40926         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40927         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40928         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40929         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40930         [!__ASSUME_ACCEPT4]: Change condition to
40931         [!__ASSUME_ACCEPT4_SOCKETCALL].
40932         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40933         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40934         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40935         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40936         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40937         __ASSUME_ACCEPT4_SYSCALL.
40938         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40939         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40940         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40941         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40942         __ASSUME_ACCEPT4_SYSCALL.
40943         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40944         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40945         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40946         [__ASSUME_ACCEPT4]: Change condition to
40947         [__ASSUME_ACCEPT4_SOCKETCALL].
40948         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40949         (__ASSUME_SOCKETCALL): Define.
40950         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40951         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40952         (__ASSUME_SOCKETCALL): Define.
40953         (__ASSUME_ACCEPT4): Remove.
40954         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40955         Define.
40956         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40957         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40958         Likewise.
40959         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40960         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40962         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40963         macro.
40964         (HWCAP_ARM_LPAE): Likewise.
40965         (HWCAP_ARM_EVTSTRM): Likewise.
40966         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40967         Add vpfd32, lpae and evtstrm.
40968         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40969         Increase to 22.
40971 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40973         * math/auto-libm-test-in: Add tests of clog10.
40974         * math/auto-libm-test-out: Regenerated.
40975         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40976         * sysdeps/i386/fpu/libm-test-ulps: Update.
40977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40979 2014-02-18  Andreas Schwab  <schwab@suse.de>
40981         [BZ #16574]
40982         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40983         Store non-zero if the second buffer was newly allocated.
40984         (send_dg): Likewise.
40985         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40986         to send_vc and send_dg.
40987         (res_nsend): Pass NULL for ansp2_malloced.
40988         * resolv/res_query.c (__libc_res_nquery): Add parameter
40989         answerp2_malloced and pass it down to __libc_res_nsend.
40990         (res_nquery): Pass additional NULL to __libc_res_nquery.
40991         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40992         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40993         second answer buffer if answerp2_malloced was set.
40994         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40995         (__libc_res_nquerydomain): Add parameter
40996         answerp2_malloced and pass it down to __libc_res_nquery.
40997         (res_nquerydomain): Pass additional NULL to
40998         __libc_res_nquerydomain.
40999         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41000         additional NULL to __libc_res_nsend and __libc_res_nquery.
41001         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41002         additional NULL to __libc_res_nsearch.
41003         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
41004         parameter of __libc_res_nsearch to check for separately allocated
41005         second buffer.
41006         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41007         __libc_res_nquery.
41008         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41009         additional NULL to __libc_res_nquery.
41010         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41011         __libc_res_nsearch.
41012         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41013         * include/resolv.h: Update prototypes of __libc_res_nquery,
41014         __libc_res_nsearch, __libc_res_nsend.
41016 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
41018         * math/auto-libm-test-in: Add tests of fma.
41019         * math/auto-libm-test-out: Regenerated.
41020         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41021         (fma_towardzero_test_data): Likewise.
41022         (fma_downward_test_data): Likewise.
41023         (fma_upward_test_data): Likewise.
41024         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41025         mpc_mode.
41026         (rounding_modes): Add values for new field.
41027         (func_calc_method): Add value mpfr_fff_f.
41028         (func_calc_desc): Add mpfr_fff_f union field.
41029         (test_function): Add field exact_args.
41030         (FUNC): Add macro argument EXACT_ARGS.
41031         (FUNC_mpfr_f_f): Update call to FUNC.
41032         (FUNC_mpfr_f_f): Likewise.
41033         (FUNC_mpfr_ff_f): Likewise.
41034         (FUNC_mpfr_if_f): Likewise.
41035         (FUNC_mpc_c_f): Likewise.
41036         (FUNC_mpc_c_c): Likewise.
41037         (test_functions): Add fma.  Update calls to FUNC.
41038         (handle_input_arg): Add argument exact_args.
41039         (add_test): Update call to handle_input_arg.
41040         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
41041         (output_for_one_input_case): Update call to calc_generic_results.
41042         Recalculate exact zero results in each rounding mode.
41044         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41045         non-negative before setting low bit.
41046         * math/auto-libm-test-in: Mark one asin test possibly having
41047         spurious underflow.
41048         * math/auto-libm-test-out: Regenerated.
41049         * sysdeps/i386/fpu/libm-test-ulps: Update.
41050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41052 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
41054         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41055         * sysdeps/unix/sysv/linux/microblaze: Move directory from
41056         ports/sysdeps/unix/sysv/linux/microblaze.
41057         * README: Add missing listing for microblaze*-*-linux-gnu.
41059 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
41061         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41062         duplicate code
41064 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
41066         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41067         * sysdeps/unix/sysv/linux/ia64: Move directory from
41068         ports/sysdeps/unix/sysv/linux/ia64.
41069         * README: Update listing for ia64-*-linux-gnu.
41071 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
41072             Joseph Myers  <joseph@codesourcery.com>
41074         * Makeconfig (test-name): New variable.
41075         (evaluate-test): Likewise.
41076         * Makerules (do-test-clean): Remove .test-result files.
41077         (common-mostlyclean): Likewise.
41078         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41079         * scripts/evaluate-test.sh: New file.
41081 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
41083         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41084         separate $(objpfx)tst-fopenloc-cmp.out and
41085         $(objpfx)tst-fopenloc-mem.out targets.
41086         (tests): Update dependencies.
41087         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41088         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41089         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41090         (tst-rxspencer-no-utf8-ARGS): New variable.
41091         (tst-rxspencer-no-utf8-ENV): Likewise.
41092         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41093         instead of $(objpfx)tst-rxspencer-mem.
41094         ($(objpfx)tst-rxspencer-mem): Change target to
41095         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
41096         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41097         * posix/tst-rxspencer-no-utf8.c: New file.
41099         * elf/Makefile ($(objpfx)order.out): Remove rule.
41100         [$(run-built-tests) = yes] (tests): Depend on
41101         $(objpfx)order-cmp.out.
41102         ($(objpfx)order-cmp.out): New rule.
41103         [$(run-built-tests) = yes] (tests): Depend on
41104         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41105         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41106         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41107         $(objpfx)tst-array5-static-cmp.out.
41108         ($(objpfx)tst-array1.out): Remove rule.
41109         ($(objpfx)tst-array1-cmp.out): New rule.
41110         ($(objpfx)tst-array1-static.out): Remove rule.
41111         ($(objpfx)tst-array1-static-cmp.out): New rule.
41112         ($(objpfx)tst-array2.out): Remove rule.
41113         ($(objpfx)tst-array2-cmp.out): New rule.
41114         ($(objpfx)tst-array3.out): Remove rule.
41115         ($(objpfx)tst-array3-cmp.out): New rule.
41116         ($(objpfx)tst-array4.out): Remove rule.
41117         ($(objpfx)tst-array4-cmp.out): New rule.
41118         ($(objpfx)tst-array5.out): Remove rule.
41119         ($(objpfx)tst-array5-cmp.out): New rule.
41120         ($(objpfx)tst-array5-static.out): Remove rule.
41121         ($(objpfx)tst-array5-static-cmp.out): New rule.
41122         [$(run-built-tests) = yes] (tests): Depend on
41123         $(objpfx)order2-cmp.out.
41124         ($(objpfx)order2.out): Remove rule.
41125         ($(objpfx)order2-cmp.out): New rule.
41126         ($(objpfx)tst-initorder.out): Remove rule.
41127         [$(run-built-tests) = yes] (tests): Depend on
41128         $(objpfx)tst-initorder-cmp.out.
41129         ($(objpfx)tst-initorder-cmp.out): New rule.
41130         ($(objpfx)tst-initorder2.out): Remove rule.
41131         [$(run-built-tests) = yes] (tests): Depend on
41132         $(objpfx)tst-initorder2-cmp.out.
41133         ($(objpfx)tst-initorder2-cmp.out): New rule.
41134         [$(run-built-tests) = yes] (tests): Depend on
41135         $(objpfx)tst-unused-dep-cmp.out.
41136         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41137         ($(objpfx)tst-unused-dep-cmp.out): New rule.
41138         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41139         on $(objpfx)tst-setvbuf1-cmp.out.
41140         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41141         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41142         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41143         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41144         ($(objpfx)tst-svc.out): Remove rule.
41145         ($(objpfx)tst-svc-cmp.out): New rule.
41147 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41149         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41150         * ctype/ctype.h [__USE_MISC]: Likewise.
41151         * dirent/dirent.h [__USE_MISC]: Likewise.
41152         * grp/grp.h [__USE_MISC]: Likewise.
41153         * io/fcntl.h [__USE_MISC]: Likewise.
41154         * io/sys/stat.h [__USE_MISC]: Likewise.
41155         * libio/stdio.h [__USE_MISC]: Likewise.
41156         * posix/unistd.h [__USE_MISC]: Likewise.
41157         * pwd/pwd.h [__USE_MISC]: Likewise.
41158         * stdlib.h [__USE_MISC]: Likewise.
41159         * string/bits/string2.h [__USE_MISC]: Likewise.
41160         * string/string.h [__USE_MISC]: Likewise.
41161         * time/time.h [__USE_MISC]: Likewise.
41163 2014-02-13  Andreas Schwab  <schwab@suse.de>
41165         [BZ #16574]
41166         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41167         second answer buffer if it was separately allocated.
41169 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41171         * sysdeps/mips/math-tests.h: Include <features.h>.
41172         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41173         (ROUNDING_TESTS_long_double): Do not define.
41174         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41175         (EXCEPTION_TESTS_long_double): Likewise.
41176         * sysdeps/mips/mips64/libm-test-ulps: Update.
41178         * include/features.h (__USE_BSD): Remove macro definitions.
41179         (__USE_SVID): Likewise.
41180         (_BSD_SOURCE): Likewise.
41181         (_SVID_SOURCE): Likewise.
41182         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41183         from definition of _DEFAULT_SOURCE.
41184         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41185         [_DEFAULT_SOURCE].
41186         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41187         * bits/mman.h [__USE_BSD]: Likewise.
41188         * bits/termios.h [__USE_BSD]: Likewise.
41189         * bits/waitstatus.h [__USE_BSD]: Likewise.
41190         * ctype/ctype.h [__USE_SVID]: Likewise.
41191         * dirent/dirent.h [__USE_BSD]: Likewise.
41192         * grp/grp.h [__USE_SVID]: Likewise.
41193         [__USE_BSD]: Likewise.
41194         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41195         * io/fcntl.h [__USE_BSD]: Likewise.
41196         * io/ftw.h [__USE_BSD]: Likewise.
41197         * io/sys/stat.h [__USE_BSD]: Likewise.
41198         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41199         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41200         * libio/stdio.h [__USE_SVID]: Likewise.
41201         [__USE_BSD]: Likewise.
41202         * math/math.h [__USE_SVID]: Likewise.
41203         [__USE_BSD]: Likewise.
41204         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41205         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41206         * misc/search.h [__USE_SVID]: Likewise.
41207         * misc/sys/mman.h [__USE_BSD]: Likewise.
41208         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41209         * misc/sys/uio.h [__USE_BSD]: Likewise.
41210         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41211         * posix/glob.h [__USE_BSD]: Likewise.
41212         * posix/regex.h [__USE_BSD]: Likewise.
41213         * posix/sys/types.h [__USE_BSD]: Likewise.
41214         [__USE_SVID]: Likewise.
41215         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41216         * posix/sys/wait.h [__USE_BSD]: Likewise.
41217         [__USE_SVID]: Likewise.
41218         * posix/unistd.h [__USE_BSD]: Likewise.
41219         [__USE_SVID]: Likewise.
41220         * pwd/pwd.h [__USE_SVID]: Likewise.
41221         * resolv/netdb.h [__USE_BSD]: Likewise.
41222         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41223         * signal/signal.h [__USE_BSD]: Likewise.
41224         [__USE_SVID]: Likewise.
41225         * socket/sys/socket.h [__USE_BSD]: Likewise.
41226         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41227         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41228         [__USE_SVID]: Likewise.
41229         * string/bits/string2.h [__USE_BSD]: Likewise.
41230         [__USE_SVID]: Likewise.
41231         * string/bits/string3.h [__USE_BSD]: Likewise.
41232         * string/endian.h [__USE_BSD]: Likewise.
41233         * string/string.h [__USE_SVID]: Likewise.
41234         [__USE_BSD]: Likewise.
41235         * string/strings.h [__USE_BSD]: Likewise.
41236         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41237         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41238         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41239         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41240         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41241         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41242         Likewise.
41243         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41244         Likewise.
41245         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41246         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41247         Likewise.
41248         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41249         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41250         Likewise.
41251         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41252         Likewise.
41253         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41254         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41255         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41256         Likewise.
41257         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41258         Likewise.
41259         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41260         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41261         * termios/termios.h [__USE_BSD]: Likewise.
41262         * time/sys/time.h [__USE_BSD]: Likewise.
41263         * time/time.h [__USE_BSD]: Likewise.
41264         [__USE_SVID]: Likewise.
41266         * Makefile (subdir_targets): Remove subdir_lint.out.
41268         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41269         (do-tst-printf): Likewise.
41270         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41271         $(objpfx)tst-printf.out.
41273         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41275         * Makerules (check-abi-%): Change target to
41276         $(objpfx)check-abi-%.out.
41277         (check-abi target): Update dependencies.
41278         (check-abi-pattern variable): Redirect output of diff to $@.
41279         (check-abi variable): Likewise.
41280         * elf/Makefile (check-abi): Update dependencies.
41282         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41283         unused.
41284         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41285         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41286         subnormal range.
41287         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41288         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41289         value has largest subnormal exponent.
41290         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41291         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41292         * sysdeps/aarch64/soft-fp/sfp-machine.h
41293         (_FP_TININESS_AFTER_ROUNDING): New macro.
41294         * sysdeps/alpha/soft-fp/sfp-machine.h
41295         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41296         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41297         Likewise.
41298         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41299         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41300         * sysdeps/mips/soft-fp/sfp-machine.h
41301         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41302         * sysdeps/powerpc/soft-fp/sfp-machine.h
41303         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41304         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41305         Likewise.
41306         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41307         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41308         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41309         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41310         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41311         Likewise.
41313 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41315         [BZ #16545]
41316         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41317         model 1.
41319 2014-02-12  Richard Henderson  <rth@redhat.com>
41321         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41322         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41323         * sysdeps/unix/sysv/linux/alpha: Move directory from
41324         ports/sysdeps/unix/sysv/linux/alpha.
41325         * README: Update listing for alpha-*-linux-gnu.
41327 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41329         * include/features.h: Update comment documenting feature test
41330         macros.
41331         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41332         _DEFAULT_SOURCE.
41333         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41334         (_SVID_SOURCE): Likewise.
41335         (_DEFAULT_SOURCE): Update description of default features.
41336         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41337         with _GNU_SOURCE.
41338         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41339         (S_ISVTX): Likewise.
41340         * manual/math.texi (Mathematical Constants): Likewise.
41341         * manual/signal.texi (Interrupted Primitives): Likewise.
41342         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41343         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41344         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41345         Don't refer to _SVID_SOURCE in warning text.
41347         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41349         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41350         already defined.
41351         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41352         * sysdeps/mips/dl-lookup.c: Remove.
41353         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41355 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41357         [BZ #16447]
41358         * math/auto-libm-test-in: Add testcase for expl.
41359         * math/auto-libm-test-out: Regenerate.
41360         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41361         calculation of unsafe.
41362         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41364 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41366         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41367         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41368         ports/sysdeps/unix/sysv/linux/aarch64.
41369         * README: Update listing for aarch64*-*-linux-gnu.
41371 2014-02-11  Will Newton  <will.newton@linaro.org>
41373         * manual/probes.texi (Mathematical Function Probes): Use
41374         "triggered" instead of "hit".
41376         * manual/probes.texi (Internal Probes): Add documentation
41377         of setjmp, longjmp and longjmp_target probes.
41379         * include/stap-probe.h: Add comment about probe argument
41380         format.
41382         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41383         definition.  (tr_where, tr_freehook, tr_mallochook,
41384         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41386 2014-02-11  David S. Miller  <davem@davemloft.net>
41388         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41389         processing int_tests.
41391 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41393         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41394         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41395         * sysdeps/unix/sysv/linux/mips: Move directory from
41396         ports/sysdeps/unix/sysv/linux/mips.
41397         * README: Update listing for mips-*-linux-gnu and
41398         mips64-*-linux-gnu.
41400 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41402         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41403         * sysdeps/unix/sysv/linux/m68k: Move directory from
41404         ports/sysdeps/unix/sysv/linux/m68k.
41405         * README: Update listing for m68k-*-linux-gnu.
41407 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41409         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41410         * sysdeps/unix/sysv/linux/generic: Move directory from
41411         ports/sysdeps/unix/sysv/linux/generic.
41412         * sysdeps/unix/sysv/linux/tile: Move directory from
41413         ports/sysdeps/unix/sysv/linux/tile.
41414         * README: Update listing for tile*-*-linux-gnu.
41416 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41418         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41419         __builtin_expect.
41420         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41421         * catgets/open_catalog.c (__open_catalog): Likewise.
41422         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41423         * debug/confstr_chk.c: Likewise.
41424         * debug/fread_chk.c (__fread_chk): Likewise.
41425         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41426         * debug/getgroups_chk.c: Likewise.
41427         * debug/mbsnrtowcs_chk.c: Likewise.
41428         * debug/mbsrtowcs_chk.c: Likewise.
41429         * debug/mbstowcs_chk.c: Likewise.
41430         * debug/memcpy_chk.c: Likewise.
41431         * debug/memmove_chk.c: Likewise.
41432         * debug/mempcpy_chk.c: Likewise.
41433         * debug/memset_chk.c: Likewise.
41434         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41435         * debug/strcat_chk.c (__strcat_chk): Likewise.
41436         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41437         * debug/strncat_chk.c (__strncat_chk): Likewise.
41438         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41439         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41440         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41441         * debug/wcpncpy_chk.c: Likewise.
41442         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41443         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41444         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41445         * debug/wcsncpy_chk.c: Likewise.
41446         * debug/wcsnrtombs_chk.c: Likewise.
41447         * debug/wcsrtombs_chk.c: Likewise.
41448         * debug/wcstombs_chk.c: Likewise.
41449         * debug/wmemcpy_chk.c: Likewise.
41450         * debug/wmemmove_chk.c: Likewise.
41451         * debug/wmempcpy_chk.c: Likewise.
41452         * debug/wmemset_chk.c: Likewise.
41453         * dirent/scandirat.c (SCANDIRAT): Likewise.
41454         * dlfcn/dladdr1.c (dladdr1): Likewise.
41455         * dlfcn/dladdr.c (dladdr): Likewise.
41456         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41457         * dlfcn/dlerror.c (__dlerror): Likewise.
41458         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41459         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41460         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41461         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41462         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41463         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41464         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41465         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41466         Likewise.
41467         * elf/dl-conflict.c: Likewise.
41468         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41469         * elf/dl-dst.h: Likewise.
41470         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41471         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41472         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41473         * elf/dl-init.c (call_init, _dl_init): Likewise.
41474         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41475         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41476         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41477         Likewise.
41478         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41479         Likewise.
41480         * elf/dl-minimal.c (__libc_memalign): Likewise.
41481         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41482         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41483         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41484         * elf/dl-sym.c (do_sym): Likewise.
41485         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41486         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41487         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41488         * elf/dl-writev.h (_dl_writev): Likewise.
41489         * elf/ldconfig.c (search_dir): Likewise.
41490         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41491         (dl_main): Likewise.
41492         * elf/setup-vdso.h (setup_vdso): Likewise.
41493         * grp/compat-initgroups.c (compat_call): Likewise.
41494         * grp/fgetgrent.c (fgetgrent): Likewise.
41495         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41496         * grp/putgrent.c (putgrent): Likewise.
41497         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41498         Likewise.
41499         * hurd/hurdinit.c: Likewise.
41500         * iconvdata/8bit-gap.c (struct): Likewise.
41501         * iconvdata/ansi_x3.110.c : Likewise.
41502         * iconvdata/big5.c : Likewise.
41503         * iconvdata/big5hkscs.c : Likewise.
41504         * iconvdata/cp1255.c: Likewise.
41505         * iconvdata/cp1258.c : Likewise.
41506         * iconvdata/cp932.c : Likewise.
41507         * iconvdata/euc-cn.c: Likewise.
41508         * iconvdata/euc-jisx0213.c : Likewise.
41509         * iconvdata/euc-jp.c: Likewise.
41510         * iconvdata/euc-jp-ms.c : Likewise.
41511         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41512         * iconvdata/gb18030.c : Likewise.
41513         * iconvdata/gbbig5.c (const): Likewise.
41514         * iconvdata/gbgbk.c: Likewise.
41515         * iconvdata/gbk.c : Likewise.
41516         * iconvdata/ibm1364.c : Likewise.
41517         * iconvdata/ibm930.c : Likewise.
41518         * iconvdata/ibm932.c: Likewise.
41519         * iconvdata/ibm933.c : Likewise.
41520         * iconvdata/ibm935.c : Likewise.
41521         * iconvdata/ibm937.c : Likewise.
41522         * iconvdata/ibm939.c : Likewise.
41523         * iconvdata/ibm943.c: Likewise.
41524         * iconvdata/iso_11548-1.c: Likewise.
41525         * iconvdata/iso-2022-cn.c : Likewise.
41526         * iconvdata/iso-2022-cn-ext.c : Likewise.
41527         * iconvdata/iso-2022-jp-3.c: Likewise.
41528         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41529         * iconvdata/iso-2022-kr.c : Likewise.
41530         * iconvdata/iso646.c (gconv_end): Likewise.
41531         * iconvdata/iso_6937-2.c : Likewise.
41532         * iconvdata/iso_6937.c : Likewise.
41533         * iconvdata/iso8859-1.c: Likewise.
41534         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41535         * iconvdata/shift_jisx0213.c : Likewise.
41536         * iconvdata/sjis.c : Likewise.
41537         * iconvdata/t.61.c : Likewise.
41538         * iconvdata/tcvn5712-1.c : Likewise.
41539         * iconvdata/tscii.c: Likewise.
41540         * iconvdata/uhc.c : Likewise.
41541         * iconvdata/unicode.c (gconv_end): Likewise.
41542         * iconvdata/utf-16.c (gconv_end): Likewise.
41543         * iconvdata/utf-32.c (gconv_end): Likewise.
41544         * iconvdata/utf-7.c (base64): Likewise.
41545         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41546         * iconv/gconv_close.c (__gconv_close): Likewise.
41547         * iconv/gconv_open.c (__gconv_open): Likewise.
41548         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41549         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41550         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41551         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41552         (ucs4le_internal_loop_single): Likewise.
41553         * iconv/iconv.c (iconv): Likewise.
41554         * iconv/iconv_close.c: Likewise.
41555         * iconv/loop.c (SINGLE): Likewise.
41556         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41557         * include/atomic.h: Likewise.
41558         * inet/inet6_option.c (option_alloc): Likewise.
41559         * intl/bindtextdom.c (set_binding_values): Likewise.
41560         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41561         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41562         * intl/localealias.c (read_alias_file): Likewise.
41563         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41564         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41565         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41566         * libio/fmemopen.c (fmemopen): Likewise.
41567         * libio/iofgets.c (_IO_fgets): Likewise.
41568         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41569         * libio/iofgetws.c (fgetws): Likewise.
41570         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41571         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41572         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41573         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41574         * locale/findlocale.c (_nl_find_locale): Likewise.
41575         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41576         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41577         Likewise.
41578         * locale/setlocale.c (setlocale): Likewise.
41579         * login/programs/pt_chown.c (main): Likewise.
41580         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41581         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41582         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41583         (mmap, mmap64, mremap, munmap): Likewise.
41584         * math/e_exp2l.c: Likewise.
41585         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41586         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41587         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41588         * math/s_catan.c (__catan): Likewise.
41589         * math/s_catanf.c (__catanf): Likewise.
41590         * math/s_catanh.c (__catanh): Likewise.
41591         * math/s_catanhf.c (__catanhf): Likewise.
41592         * math/s_catanhl.c (__catanhl): Likewise.
41593         * math/s_catanl.c (__catanl): Likewise.
41594         * math/s_ccosh.c (__ccosh): Likewise.
41595         * math/s_ccoshf.c (__ccoshf): Likewise.
41596         * math/s_ccoshl.c (__ccoshl): Likewise.
41597         * math/s_cexp.c (__cexp): Likewise.
41598         * math/s_cexpf.c (__cexpf): Likewise.
41599         * math/s_cexpl.c (__cexpl): Likewise.
41600         * math/s_clog10.c (__clog10): Likewise.
41601         * math/s_clog10f.c (__clog10f): Likewise.
41602         * math/s_clog10l.c (__clog10l): Likewise.
41603         * math/s_clog.c (__clog): Likewise.
41604         * math/s_clogf.c (__clogf): Likewise.
41605         * math/s_clogl.c (__clogl): Likewise.
41606         * math/s_csin.c (__csin): Likewise.
41607         * math/s_csinf.c (__csinf): Likewise.
41608         * math/s_csinh.c (__csinh): Likewise.
41609         * math/s_csinhf.c (__csinhf): Likewise.
41610         * math/s_csinhl.c (__csinhl): Likewise.
41611         * math/s_csinl.c (__csinl): Likewise.
41612         * math/s_csqrt.c (__csqrt): Likewise.
41613         * math/s_csqrtf.c (__csqrtf): Likewise.
41614         * math/s_csqrtl.c (__csqrtl): Likewise.
41615         * math/s_ctan.c (__ctan): Likewise.
41616         * math/s_ctanf.c (__ctanf): Likewise.
41617         * math/s_ctanh.c (__ctanh): Likewise.
41618         * math/s_ctanhf.c (__ctanhf): Likewise.
41619         * math/s_ctanhl.c (__ctanhl): Likewise.
41620         * math/s_ctanl.c (__ctanl): Likewise.
41621         * math/w_pow.c: Likewise.
41622         * math/w_powf.c: Likewise.
41623         * math/w_powl.c: Likewise.
41624         * math/w_scalb.c (sysv_scalb): Likewise.
41625         * math/w_scalbf.c (sysv_scalbf): Likewise.
41626         * math/w_scalbl.c (sysv_scalbl): Likewise.
41627         * misc/error.c (error_tail): Likewise.
41628         * misc/pselect.c (__pselect): Likewise.
41629         * nis/nis_callback.c (__nis_create_callback): Likewise.
41630         * nis/nis_call.c (__nisfind_server): Likewise.
41631         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41632         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41633         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41634         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41635         * nis/nis_lookup.c (nis_lookup): Likewise.
41636         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41637         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41638         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41639         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41640         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41641         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41642         * nis/nss_compat/compat-initgroups.c (add_group)
41643         (internal_getgrent_r): Likewise.
41644         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41645         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41646         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41647         (internal_getspnam_r): Likewise.
41648         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41649         (_nss_nis_getaliasbyname_r): Likewise.
41650         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41651         (_nss_nis_getntohost_r): Likewise.
41652         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41653         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41654         (_nss_nis_getgrgid_r): Likewise.
41655         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41656         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41657         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41658         (_nss_nis_gethostbyname4_r): Likewise.
41659         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41660         (initgroups_netid): Likewise.
41661         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41662         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41663         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41664         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41665         (_nss_nis_getprotobynumber_r): Likewise.
41666         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41667         (_nss_nis_getsecretkey): Likewise.
41668         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41669         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41670         (_nss_nis_getpwuid_r): Likewise.
41671         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41672         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41673         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41674         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41675         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41676         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41677         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41678         Likewise.
41679         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41680         (_nss_nisplus_getntohost_r): Likewise.
41681         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41682         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41683         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41684         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41685         Likewise.
41686         * nis/nss_nisplus/nisplus-initgroups.c
41687         (_nss_nisplus_initgroups_dyn): Likewise.
41688         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41689         (_nss_nisplus_getnetbyaddr_r): Likewise.
41690         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41691         (_nss_nisplus_getprotobynumber_r): Likewise.
41692         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41693         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41694         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41695         Likewise.
41696         * nis/nss_nisplus/nisplus-service.c
41697         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41698         (_nss_nisplus_getservbyport_r): Likewise.
41699         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41700         (_nss_nisplus_getspnam_r): Likewise.
41701         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41702         Likewise.
41703         * nscd/aicache.c (addhstaiX): Likewise.
41704         * nscd/cache.c (cache_search, prune_cache): Likewise.
41705         * nscd/connections.c (register_traced_file, send_ro_fd)
41706         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41707         (main_loop_epoll): Likewise.
41708         * nscd/grpcache.c (addgrbyX): Likewise.
41709         * nscd/hstcache.c (addhstbyX): Likewise.
41710         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41711         * nscd/mem.c (gc, mempool_alloc): Likewise.
41712         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41713         (addinnetgrX): Likewise.
41714         * nscd/nscd-client.h (__nscd_acquire_maplock)
41715         (__nscd_drop_map_ref): Likewise.
41716         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41717         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41718         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41719         Likewise.
41720         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41721         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41722         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41723         (__nscd_get_map_ref): Likewise.
41724         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41725         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41726         Likewise.
41727         * nscd/pwdcache.c (addpwbyX): Likewise.
41728         * nscd/selinux.c (preserve_capabilities): Likewise.
41729         * nscd/servicescache.c (addservbyX): Likewise.
41730         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41731         * posix/fnmatch.c (fnmatch): Likewise.
41732         * posix/getopt.c (_getopt_internal_r): Likewise.
41733         * posix/glob.c (glob, glob_in_dir): Likewise.
41734         * posix/wordexp.c (exec_comm_child): Likewise.
41735         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41736         (getanswer_r, gaih_getanswer_slice): Likewise.
41737         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41738         * resolv/res_init.c: Likewise.
41739         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41740         * resolv/res_query.c (__libc_res_nquery): Likewise.
41741         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41742         Likewise.
41743         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41744         * stdio-common/perror.c (perror): Likewise.
41745         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41746         * stdio-common/tmpnam.c (tmpnam): Likewise.
41747         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41748         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41749         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41750         Likewise.
41751         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41752         * stdlib/putenv.c (putenv): Likewise.
41753         * stdlib/setenv.c (__add_to_environ): Likewise.
41754         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41755         * stdlib/strtol_l.c (INTERNAL): Likewise.
41756         * string/memmem.c (memmem): Likewise.
41757         * string/strerror.c (strerror): Likewise.
41758         * string/strnlen.c (__strnlen): Likewise.
41759         * string/test-memmem.c (simple_memmem): Likewise.
41760         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41761         * sunrpc/pm_getport.c (__get_socket): Likewise.
41762         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41763         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41764         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41765         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41766         Likewise.
41767         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41768         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41769         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41770         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41771         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41772         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41773         Likewise.
41774         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41775         Likewise.
41776         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41777         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41778         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41779         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41780         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41782         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41783         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41784         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41785         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41786         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41787         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41788         Likewise.
41789         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41790         Likewise.
41791         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41792         Likewise.
41793         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41794         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41795         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41796         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41797         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41798         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41799         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41800         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41801         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41802         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41803         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41804         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41805         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41806         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41807         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41808         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41809         Likewise.
41810         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41811         Likewise.
41812         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41813         Likewise.
41814         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41815         Likewise.
41816         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41817         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41818         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41819         Likewise.
41820         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41821         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41822         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41823         * sysdeps/posix/sleep.c: Likewise.
41824         * sysdeps/posix/tempname.c: Likewise.
41825         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41826         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41827         Likewise.
41828         * sysdeps/powerpc/powerpc32/dl-machine.h
41829         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41830         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41831         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41832         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41833         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41834         Likewise.
41835         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41836         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41837         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41838         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41839         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41840         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41841         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41842         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41843         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41844         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41845         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41846         (elf_machine_lazy_rel): Likewise.
41847         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41848         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41849         (elf_machine_lazy_rel): Likewise.
41850         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41851         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41852         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41853         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41854         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41855         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41856         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41857         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41858         Likewise.
41859         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41860         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41861         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41862         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41863         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41864         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41865         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41866         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41867         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41868         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41869         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41870         Likewise.
41871         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41872         (__posix_fallocate64_l64): Likewise.
41873         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41874         (posix_fallocate): Likewise.
41875         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41876         Likewise.
41877         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41878         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41879         (getifaddrs_internal): Likewise.
41880         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41881         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41882         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41883         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41884         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41885         (__posix_fallocate64_l64): Likewise.
41886         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41887         Likewise.
41888         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41889         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41890         (__get_clockfreq): Likewise.
41891         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41892         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41893         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41894         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41895         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41896         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41897         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41898         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41899         Likewise.
41900         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41901         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41902         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41903         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41904         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41905         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41906         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41907         Likewise.
41908         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41909         (posix_fallocate): Likewise.
41910         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41911         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41912         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41913         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41914         (elf_machine_rela, elf_machine_rela_relative)
41915         (elf_machine_lazy_rel): Likewise.
41916         * time/asctime.c (asctime_internal): Likewise.
41917         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41918         * time/tzset.c (__tzset_parse_tz): Likewise.
41919         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41920         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41921         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41922         * wcsmbs/wcsmbsload.h: Likewise.
41924         [BZ #15894]
41925         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41927         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41928         (arena_get2): Remove THREAD_STATS conditionals.
41929         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41930         (__malloc_stats, int): Likewise.
41932 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41934         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41935         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41937         * manual/setjmp.texi: Fix typos/grammar errors.
41939         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41940         Only return early when n is <= 0.  Delete unused return statement.
41942         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41943         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41944         * debug/tst-longjmp_chk3.c: New file.
41946         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41947         (test_main): Replace code with set_fortify_handler call.
41948         * debug/test-strcpy_chk.c: Likewise.
41949         * debug/tst-chk1.c: Likewise.
41950         * debug/tst-longjmp_chk.c: Likewise.
41951         * test-skeleton.c: Include fcntl.h & paths.h
41952         (set_fortify_handler): Define.
41954         * debug/tst-longjmp_chk.c: Add header comment and include
41955         ../test-skeleton.c.
41956         (do_test): Mark static.
41957         (TEST_FUNCTION): Define.
41959         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41960         (IP_PMTUDISC_INTERFACE): Likewise.
41961         (IP_MULTICAST_IF): Likewise.
41962         (IP_MULTICAST_TTL): Likewise.
41963         (IP_MULTICAST_LOOP): Likewise.
41964         (IP_ADD_MEMBERSHIP): Likewise.
41965         (IP_DROP_MEMBERSHIP): Likewise.
41966         (IP_UNBLOCK_SOURCE): Likewise.
41967         (IP_BLOCK_SOURCE): Likewise.
41968         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41969         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41970         (IP_MSFILTER): Likewise.
41971         (MCAST_JOIN_GROUP): Likewise.
41972         (MCAST_BLOCK_SOURCE): Likewise.
41973         (MCAST_UNBLOCK_SOURCE): Likewise.
41974         (MCAST_LEAVE_GROUP): Likewise.
41975         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41976         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41977         (MCAST_MSFILTER): Likewise.
41978         (IP_MULTICAST_ALL): Likewise.
41979         (IP_UNICAST_IF): Likewise.
41981         * timezone/Makefile: Delete $(have-ksh) check.
41982         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41983         * timezone/tzselect.ksh: Add +x mode bits.
41985         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41986         (ANON_INODE_FS_MAGIC): Likewise.
41987         (BDEVFS_MAGIC): Likewise.
41988         (BINFMTFS_MAGIC): Likewise.
41989         (BTRFS_TEST_MAGIC): Likewise.
41990         (CRAMFS_MAGIC_WEND): Likewise.
41991         (DEBUGFS_MAGIC): Likewise.
41992         (ECRYPTFS_SUPER_MAGIC): Likewise.
41993         (EXT3_SUPER_MAGIC): Likewise.
41994         (EXT4_SUPER_MAGIC): Likewise.
41995         (FUTEXFS_SUPER_MAGIC): Likewise.
41996         (HOSTFS_SUPER_MAGIC): Likewise.
41997         (HUGETLBFS_MAGIC): Likewise.
41998         (MINIX3_SUPER_MAGIC): Likewise.
41999         (MTD_INODE_FS_MAGIC): Likewise.
42000         (NILFS_SUPER_MAGIC): Likewise.
42001         (OPENPROM_SUPER_MAGIC): Likewise.
42002         (PIPEFS_MAGIC): Likewise.
42003         (PSTOREFS_MAGIC): Likewise.
42004         (QNX6_SUPER_MAGIC): Likewise.
42005         (RAMFS_MAGIC): Likewise.
42006         (REISERFS_SUPER_MAGIC_STRING): Likewise.
42007         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42008         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42009         (SECURITYFS_MAGIC): Likewise.
42010         (SELINUX_MAGIC): Likewise.
42011         (SMACK_MAGIC): Likewise.
42012         (SOCKFS_MAGIC): Likewise.
42013         (SQUASHFS_MAGIC): Likewise.
42014         (STACK_END_MAGIC): Likewise.
42015         (TMPFS_MAGIC): Likewise.
42016         (USBDEVICE_SUPER_MAGIC): Likewise.
42017         (V9FS_MAGIC): Likewise.
42018         (XENFS_SUPER_MAGIC): Likewise.
42019         (CRAMFS_MAGIC): Fix typo in comment.
42020         (EXT2_SUPER_MAGIC): Update comment.
42021         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42023 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
42025         * sysdeps/arm: Move directory from ports/sysdeps/arm.
42026         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42027         * sysdeps/unix/sysv/linux/arm: Move directory from
42028         ports/sysdeps/unix/sysv/linux/arm.
42029         * README: Update listing for arm-*-linux-gnueabi.
42031         * README: Remove mention of am33.
42033 2014-02-07  Roland McGrath  <roland@hack.frob.com>
42035         * bits/sigset.h (__sigemptyset): Use a statement expression rather
42036         than the comma operator, to avoid "rhs of comma has no effect"
42037         compiler warnings.
42038         (__sigfillset, __sigandset, __sigorset): Likewise.
42039         * include/signal.h (__sigemptyset): Likewise.
42040         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42042 2014-02-07  Allan McRae  <allan@archlinux.org>
42044         * version.h (RELEASE): Set to "development".
42045         (VERSION): Set to "2.19.90"
42046         * NEWS: Add 2.20 section.
42048 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
42050         [BZ #16529]
42051         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42053 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42055         * manual/contrib.texi: Update entry for Carlos O'Donell,
42056         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42058 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
42060         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42062         * sysdeps/unix/sysv/linux/kernel-features.h
42063         [__LINUX_KERNEL_VERSION >= 0x020621]
42064         (__ASSUME_PROC_PID_TASK_COMM): Define.
42066 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42068         [BZ #16398]
42069         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42070         conversion when destination buffer does not have enough space.
42071         * libio/tst-ftell-partial-wide.c: New test case.
42072         * libio/Makefile (tests): Add tst-ftell-partial-wide.
42074         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42075         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
42076         Leonard and Allan McRae.
42078 2014-02-04  David S. Miller  <davem@davemloft.net>
42080         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42081         32-bit.
42083 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42086         New file
42087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42088         New file
42089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42090         New file.
42091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42092         New file.
42093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42094         New file.
42095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42096         New file.
42097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42098         New file.
42099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42100         New file.
42101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42102         New file.
42103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42104         New file.
42105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42106         New file.
42107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42108         New file.
42109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42110         New file.
42112 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42114         * nptl/shlib-versions: Change powerpc*le start to 2.17.
42115         * shlib-versions: Likewise.
42117 2014-02-04  Roland McGrath  <roland@hack.frob.com>
42118             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42120         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42121         (abilist-pattern): New variable, set to %-le.abilist.
42123         * Makerules (abilist-pattern): New variable.
42124         (vpath): Use $(abilist-pattern) in place of %.abilist.
42125         (check-abi-% pattern rule): Likewise.
42126         (check-abi, update-abi): Likewise.
42128 2014-02-04  Eric Wong  <normalperson@yhbt.net>
42130         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42132 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
42134         * manual/startup.texi: Add next, previous, and top entries for
42135         the `Program Arguments' and `Environment Variables' nodes.
42137 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
42139         * manual/macros.texi: Add comments before MTASC-safety macros.
42141         * manual/users.texi: Document MTASC-safety properties.
42143         * manual/threads.texi (pthread_key_create, pthread_key_delete)
42144         (pthread_getspecific, pthread_setspecific): Format with
42145         @deftypefun, and add @safety note.
42146         * manual/signal.texi: Move comments that analyze the above
42147         functions to their home place.
42149 2014-02-03  Allan McRae  <allan@archlinux.org>
42151         * po/sl.po: Update Slovenian translation from translation project.
42153 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42155         * manual/time.texi (timegm): Add missing blank after @c.
42156         Reported by Joseph Myers <joseph@codesourcery.com>.
42158 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42160         * manual/check-safety.sh: New.
42161         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42163         * manual/terminal.texi: Document MTASC-safety properties.
42165         * manual/filesys.texi: Document MTASC-safety properties.
42167         * manual/errno.texi: Document MTASC-safety properties.
42169         * manual/intro.texi: Document safety identifiers and
42170         conditionals.
42172         * manual/string.texi (wcstok): Fix prototype.
42173         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42175         * manual/time.texi: Document MTASC-safety properties.
42177         * manual/string.texi: Document MTASC-safety properties.
42179         * manual/threads.texi: Document MTASC-safety properties.
42181         * manual/stdio.texi: Document MTASC-safety properties.
42183         * manual/syslog.texi: Document MTASC-safety properties.
42185         * manual/sysinfo.texi: Document MTASC-safety properties.
42187         * manual/startup.texi: Document MTASC-safety properties.
42189         * manual/socket.texi: Document MTASC-safety properties.
42191         * manual/signal.texi: Document MTASC-safety properties.
42193 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42195         * manual/setjmp.texi: Document MTASC-safety properties.
42197         * manual/search.texi: Document MTASC-safety properties.
42199         * manual/resource.texi: Document MTASC-safety properties.
42201         * manual/process.texi: Document MTASC-safety properties.
42203         * manual/platform.texi: Document MTASC-safety properties.
42205         * manual/pipe.texi: Document MTASC-safety properties.
42207         * manual/pattern.texi: Document MTASC-safety properties.
42209         * manual/message.texi: Document MTASC-safety properties.
42211         [BZ #12751]
42212         * manual/memory.texi: Document MTASC-safety properties.
42214         * manual/math.texi: Document MTASC-safety properties.
42216         * manual/locale.texi: Document MTASC-safety properties.
42218         * manual/llio.texi: Document MTASC-safety properties.
42220         * manual/libdl.texi: New.
42222         * manual/lang.texi: Document MTASC-safety properties.
42224         * manual/job.texi: Document MTASC-safety properties.
42226         * manual/getopt.texi: Document MTASC-safety properties.
42228         * manual/ctype.texi: Document MTASC-safety properties.
42230 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42232         [BZ #16046]
42233         * csu/libc-tls.c (static_map): Remove variable.
42234         (__libc_setup_tls): Use main executable's link map for TLS data.
42235         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42236         casing for LM_ID_BASE and GL(dl_nns).
42237         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42238         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42239         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42240         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42241         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42242         member.
42243         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42244         l_phnum members.
42246 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42248         * manual/debug.texi: Document MTASC-safety properties.
42250 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42252         [BZ #16510]
42253         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42254         of __x86_64__ when disabling x87 inline functions.
42256 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42258         * manual/charset.texi: Document MTASC-safety properties.
42260         * manual/crypt.texi: Document MTASC-safety properties.
42262         * manual/conf.texi: Document MTASC-safety properties.
42264         * manual/arith.texi: Document MTASC-safety properties.
42266         * manual/argp.texi: Document MTASC-safety properties.
42268         * manual/macros.texi: Introduce macros to document multi
42269         thread, asynchronous signal and asynchronous cancellation
42270         safety properties.
42271         * manual/intro.texi: Introduce the properties themselves.
42273 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42275         * sysdeps/sh/sh4/Makefile: New file.
42277 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42279         * math/gen-libm-test.pl ($srcdir): New variable.
42280         ($auto_input): Use it.
42282 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42284         [BZ #16506]
42285         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42286         access beyond array bounds when parsing netgroups file.
42288         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42289         the old buffer before realloc.
42291 2014-01-27  Allan McRae  <allan@archlinux.org>
42293         * po/fr.po: Update French translation from translation project.
42295 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42297         * sysdeps/sh/libm-test-ulps: Regenerate.
42299 2014-01-24  David S. Miller  <davem@davemloft.net>
42301         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42303 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42305         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42306         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42308 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42310         [BZ #16474]
42311         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42312         string pointers after reallocation.
42314 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42316         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42317         __SH4A__ instead of __SH_FPU_ANY__.
42319 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42321         * sysdeps/sh/fpu_control.h: New file.
42322         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42323         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42324         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42325         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42326         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42327         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42328         * sysdeps/sh/sys/ucontext.h: Remove.
42329         * sysdeps/sh/sys: Remove directory.
42331 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42333         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42334         s390/sys/ucontext.h.
42335         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42336         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42338 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42340         [BZ #15605]
42341         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42343 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42345         [BZ#16431]
42346         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42347         Adjust the vDSO correctly for internal calls.
42348         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42350 2014-01-20  Allan McRae  <allan@archlinux.org>
42352         * po/ca.po: Update Catalan translation from translation project.
42354 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42356         * sysdeps/s390/sotruss-lib.c: New file.
42358 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42360         [BZ#16430]
42361         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42362         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42363         local calls issues by not having a PLT stub required for IFUNC calls.
42364         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42366 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42368         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42369         * math/test-fpucw-static.c: Likewise.
42371 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42373         [BZ #16453]
42374         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42376 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42378         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42379         implementation for powerpc.
42381 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42383         [BZ #14782]
42384         * sysdeps/posix/system.c (__libc_system): Do not enable
42385         asynchronous cancellation.
42387 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42389         [BZ #16427]
42390         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42391         handling only for numbers special also in the IEEE case.
42393 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42395         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42397 2014-01-11  Allan McRae  <allan@archlinux.org>
42399         * po/bg.po: Update Bulgarian translation from translation project.
42401         * po/de.po: Update German translation from translation project.
42403 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42405         * sysdeps/generic/gcc-compat.h: New file.
42407 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42409         * benchtests/asin-inputs: Correct slow inputs.
42410         * benchtests/acos-inputs: Likewise.
42412 2014-01-10  Allan McRae  <allan@archlinux.org>
42414         * po:sv.po: Update Swedish translation from translation project.
42416         * po/vi.po: Update Vietnamese translation from translation project.
42418         * po/eo.po: Update Esperanto translation from translation project.
42420         * po/cs.po: Update Czech translation from translation project.
42422         * po/nl.po: Update Dutch translation from translation project.
42424         * po/pl.po: Update Polish translation from translation project.
42426         * po/ru.po: Update Russian translation from translation project.
42428         * po/uk.po: Update Ukrainian translation from translation project.
42430 2014-01-08  Brooks Moses  <bmoses@google.com>
42432         * elf/dl-load.c: Fix comment typo.
42434 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42436         * po/header.pot: Rename to...
42437         * po/pot.header: ... this.
42438         * po/Makefile: Use pot.header.
42440 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42441             Maxim Kuvyrkov  <maxim@kugelworks.com>
42443         [BZ #16394]
42444         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42445         SRC and DEST against LEN.
42447 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42449         [BZ #16414]
42450         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42451         implementation.
42452         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42454 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42458 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42460         [BZ #16408]
42461         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42462         for large positive arguments.
42464 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42466         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42468         * math/auto-libm-test-in: Mark various tests with
42469         xfail-rounding:ldbl-128ibm.
42470         * math/auto-libm-test-out: Regenerated.
42472         [BZ #16407]
42473         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42474         Increase overflow threshold.
42476 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42478         [BZ #14286]
42479         * stdio-common/vfprintf.c: Check for integer overflow.
42481 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42483         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42484         the first argument and return value of __tls_get_addr_internal.
42486 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42488         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42489         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42491 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42493         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42494         * sysdeps/s390/rtld-global-offsets.sym: New file.
42495         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42496         GLIBC_2.19 symbol.
42497         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42498         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42499         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42500         ... this.
42501         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42502         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42503         ... this.
42504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42505         Regenerate.
42506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42507         Regenerate.
42508         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42509         halfs of GPRs for high_gprs contexts.
42510         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42511         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42512         field.
42513         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42514         uc_flags field.
42515         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42516         64 bit versions:
42517         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42518         for high GPRs (uc_high_gprs) and for future extensions
42519         (__reserved).
42520         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42521         for future extensions (__reserved).
42522         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42523         64 bit versions:
42524         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42525         SC_HIGHGPRS offset definition.
42526         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42527         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42529         * Versions.def: Add GLIBC_2.19 for libpthread.
42530         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42531         siglongjmp for libpthread with GLIBC_2.19 symver.
42532         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42533         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42534         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42535         * sysdeps/s390/__longjmp.c: New file.
42536         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42537         * sysdeps/s390/longjmp.c: New file.
42538         * sysdeps/s390/setjmp.S: New file.
42539         * sysdeps/s390/sigjmp.S: New file.
42540         * sysdeps/s390/v1-longjmp.c: New file.
42541         * sysdeps/s390/v1-setjmp.h: New file.
42542         * sysdeps/s390/v1-sigjmp.c: New file.
42543         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42544         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42545         GLIBC_2.19 version.
42546         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42547         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42548         versioned symbols for ____longjmp_chk.
42549         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42550         Likewise.
42551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42552         Regenerate.
42553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42554         Regenerate.
42555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42556         Regenerate.
42557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42558         Regenerate.
42559         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42560         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42561         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42562         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42563         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42564         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42565         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42566         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42567         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42568         * sysdeps/s390/rtld-__longjmp.c: New file.
42569         * sysdeps/s390/rtld-setjmp.S: New file.
42571 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42573         [BZ #16400]
42574         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42575         Return -__logl (x) for small positive arguments without evaluating
42576         a polynomial.
42578 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42580         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42581         Rename to ...
42582         (__ptrace_peeksiginfo_args): ... this.
42583         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42584         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42585         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42587 2014-01-06  Allan McRae  <allan@archlinux.org>
42589         * inet/netinet/in.h: Fix typo in comment.
42591 2014-01-05  Andreas Jaeger  <aj@suse.de>
42593         * sysdeps/i386/fpu/libm-test-ulps: Update.
42595 2014-01-05  Allan McRae  <allan@archlinux.org>
42597         * po/libc.pot: Regenerated.
42599         * malloc/memusagestat.c: Fix gettext call formatting.
42601 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42603         * nscd/nscd.c: Improve usage() output.
42605 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42607         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42608         * sysdeps/unix/sysv/linux/configure: Regenerated.
42609         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42610         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42612 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42614         [BZ #16390]
42615         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42616         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42618 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42620         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42621         extra tokens at end of #undef directive.
42622         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42623         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42624         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42626 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42628         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42630         * math/auto-libm-test-in: Mark various tests with
42631         xfail-rounding:ldbl-128ibm.
42632         * math/auto-libm-test-out: Regenerated.
42634 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42636         [BZ #16386]
42637         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42638         numbers with subnormal high part when calculating exponent.
42640         [BZ #16385]
42641         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42642         fabs.
42644         [BZ #16384]
42645         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42646         M_LN2l.
42647         (__ieee754_acoshl): Use __log1pl not __log1p.
42649 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42651         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42652         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42653         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42654         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42655         (reused_arena, arena_get2): Convert to GNU style.
42656         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42657         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42658         (memalign_check, __malloc_set_state): Likewise.
42659         * malloc/mallocbug.c (main): Likewise.
42660         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42661         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42662         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42663         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42664         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42665         (__posix_memalign, malloc_info): Likewise.
42666         * malloc/malloc.h: Likewise.
42667         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42668         (mallochook, memalignhook, reallochook, mabort): Likewise.
42669         * malloc/mcheck.h: Likewise.
42670         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42671         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42672         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42673         * malloc/morecore.c (__default_morecore): Likewise.
42674         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42675         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42676         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42677         (print_and_abort): Likewise.
42678         * malloc/obstack.h: Likewise.
42679         * malloc/set-freeres.c (__libc_freeres): Likewise.
42680         * malloc/tst-mallocstate.c (main): Likewise.
42681         * malloc/tst-mtrace.c (main): Likewise.
42682         * malloc/tst-realloc.c (do_test): Likewise.
42684 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42686         [BZ #16366]
42687         * nscd/netgroupcache.c (do_notfound): New function.
42688         (addgetnetgrentX): Use it.
42690         [BZ # 16365]
42691         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42692         NSS_STATUS_NOTFOUND.
42694 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42696         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42699 2014-01-01  Allan McRae  <allan@archlinux.org>
42701         * scripts/update-copyrights: Update configure input file suffix.
42703         * NEWS: Update copyright year.
42704         * catgets/gencat.c: Likewise.
42705         * csu/version.c: Likewise.
42706         * debug/catchsegv.sh: Likewise.
42707         * debug/pcprofiledump.c: Likewise.
42708         * debug/xtrace.sh: Likewise.
42709         * elf/ldconfig.c: Likewise.
42710         * elf/ldd.bash.in: Likewise.
42711         * elf/pldd.c: Likewise.
42712         * elf/sotruss.ksh: Likewise.
42713         * elf/sprof.c: Likewise.
42714         * iconv/iconv_prog.c: Likewise.
42715         * iconv/iconvconfig.c: Likewise.
42716         * locale/programs/locale.c: Likewise.
42717         * locale/programs/localedef.c: Likewise.
42718         * login/programs/pt_chown.c: Likewise.
42719         * malloc/memusage.sh: Likewise.
42720         * malloc/memusagestat.c: Likewise.
42721         * malloc/mtrace.pl: Likewise.
42722         * manual/libc.texinfo: Likewise.
42723         * nscd/nscd.c: Likewise.
42724         * nss/getent.c: Likewise.
42725         * nss/makedb.c: Likewise.
42726         * posix/getconf.c: Likewise.
42727         * scripts/test-installation.pl: Likewise.
42729         * All files with FSF copyright notices: Update copyright dates
42730         using scripts/update-copyrights.
42731         * intl/plural.c: Regenerated.
42732         * locale/programs/charmap-kw.h: Likewise.
42733         * locale/programs/locfile-kw.h: Likewise.
42735 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42737         * sysdeps/unix/sysv/linux/configure: Regenerated.
42738         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42739         the linux/fanotify.h header.
42740         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42741         HAVE_LINUX_FANOTIFY_H is defined.
42743 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42745         * benchtests/cos-inputs: New inputs.
42746         * benchtests/sin-inputs: Likewise.
42748         * benchtests/atan-inputs: New inputs. Fix name of multiple
42749         precision fallback inputs.
42751         * benchtests/atanh-inputs: New inputs.
42752         * benchtests/tanh-inputs: Likewise.
42754         * benchtests/acosh-inputs: New inputs.
42755         * benchtests/asinh-inputs: Likewise.
42757         * benchtests/cosh-inputs: New inputs.
42758         * benchtests/sinh-inputs: Likewise.
42760         * benchtests/acos-inputs: Add more inputs.
42761         * benchtests/asin-inputs: Likewise.
42763 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42765         [BZ #16375]
42766         * manual/arith.texi: Fix spelling.
42767         * manual/charset.texi: Likewise.
42768         * manual/errno.texi: Likewise.
42769         * manual/filesys.texi: Likewise.
42770         * manual/lang.texi: Likewise.
42771         * manual/llio.texi: Likewise.
42772         * manual/locale.texi: Likewise.
42773         * manual/message.texi: Likewise.
42774         * manual/resource.texi: Likewise.
42775         * manual/search.texi: Likewise.
42776         * manual/setjmp.texi: Likewise.
42777         * manual/stdio.texi: Likewise.
42778         * manual/string.texi: Likewise.
42779         * manual/sysinfo.texi: Likewise.
42780         * manual/time.texi: Likewise.
42782 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42784         * po/sl.po: New file.
42786 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42788         * .gitignore: Add core/.gdbinit/.gdb_history.
42790 2013-12-27  Allan McRae  <allan@archlinux.org>
42792         [BZ #16369]
42793         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42794         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42796 2013-12-24  Brooks Moses  <bmoses@google.com>
42798         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42799         all compilers that claim C++98 compliance, not just GCC.
42800         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42801         Likewise.
42803 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42805         * NEWS: Restore accidentally deleted bug-fix entries.
42807 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42808             Ondřej Bílka  <neleai@seznam.cz>
42810         [BZ #15073]
42811         * malloc/malloc.c (_int_free): Perform sanity check only if we
42812         have_lock.
42814 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42816         [BZ #12986]
42817         * manual/stdio.texi (String Input Conversions): Clarify that character
42818         classes are not supported.
42820 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42824 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42826         [BZ #16337]
42827         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42828         Calculate results for small negative arguments directly rather
42829         than using reflection formula with special underflow handling.
42831         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42832         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42833         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42834         (fchflags): Likewise.
42835         (revoke): Likewise.
42836         (setlogin): Likewise.
42837         (sigaltstack): Likewise.
42838         (wait4): Likewise.
42839         (sigblock): Remove.
42840         (sigsetmask): Likewise.
42841         (wait3): Likewise.
42842         (waitpid): Likewise.
42843         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42844         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42845         file.
42846         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42847         * sysdeps/unix/bsd/Makefile: ... here.
42848         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42849         * sysdeps/unix/bsd/Versions: ... here.
42850         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42851         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42852         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42853         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42854         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42855         * sysdeps/unix/bsd/sigblock.c: ... here.
42856         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42857         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42858         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42859         * sysdeps/unix/bsd/sigvec.c: ... here.
42860         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42861         * sysdeps/unix/bsd/tcdrain.c: ... here.
42862         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42863         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42864         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42865         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42866         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42867         * sysdeps/unix/bsd/wait.c: ... here.
42868         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42869         * sysdeps/unix/bsd/wait3.c: ... here.
42870         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42871         * sysdeps/unix/bsd/waitpid.c: ... here.
42873 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42875         [BZ #16356]
42876         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42877         round-to-nearest for [!USE_AS_EXPM1L].
42878         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42879         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42880         more tests of exp and exp10.  Expect some exp10 tests to miss
42881         exceptions or fail in directed rounding modes.
42882         * math/auto-libm-test-out: Regenerated.
42883         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42884         (exp10_test_tonearest): New function.
42885         (exp10_towardzero_test_data): New array.
42886         (exp10_test_towardzero): New function.
42887         (exp10_downward_test_data): New array.
42888         (exp10_test_downward): New function.
42889         (exp10_upward_test_data): New array.
42890         (exp10_test_upward): New function.
42891         (main): Call the new functions.
42892         * sysdeps/i386/fpu/libm-test-ulps: Update.
42893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42895 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42897         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42898         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42899         * math/auto-libm-test-out: Regenerated.
42900         * math/libm-test.inc (acosh_test_data): Add more tests.
42901         (atanh_test_data): Likewise.
42902         (ceil_test_data): Likewise.
42903         (copysign_test_data): Likewise.
42904         * sysdeps/i386/fpu/libm-test-ulps: Update.
42905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42907         * timezone/checktab.awk: Update from tzcode 2013i.
42908         * timezone/private.h: Likewise.
42909         * timezone/scheck.c: Likewise.
42910         * timezone/tzfile.h: Likewise.
42911         * timezone/tzselect.ksh: Likewise.
42912         * timezone/zdump.c: Likewise.
42913         * timezone/zic.c: Likewise.
42915         * math/auto-libm-test-in: Add tests of cpow.
42916         * math/auto-libm-test-out: Regenerated.
42917         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42918         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42919         mpc_cc_c.
42920         (func_calc_desc): Add mpc_cc_c union field.
42921         (test_functions): Add cpow.
42922         (special_fill_2pi): New function.
42923         (special_real_inputs): Add 2pi.
42924         (calc_generic_results): Handle mpc_cc_c.
42925         * sysdeps/i386/fpu/libm-test-ulps: Update.
42926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42928         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42929         csqrt, ctan and ctanh.
42930         * math/auto-libm-test-out: Regenerated.
42931         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42932         (TEST_COND_x86): Likewise.
42933         (ccos_test_data): Use AUTO_TESTS_c_c.
42934         (ccosh_test_data): Likewise.
42935         (cexp_test_data): Likewise.
42936         (clog_test_data): Likewise.
42937         (csqrt_test_data): Likewise.
42938         (ctan_test_data): Likewise.
42939         (ctan_tonearest_test_data): Likewise.
42940         (ctan_towardzero_test_data): Likewise.
42941         (ctan_downward_test_data): Likewise.
42942         (ctan_upward_test_data): Likewise.
42943         (ctanh_test_data): Likewise.
42944         (ctanh_tonearest_test_data): Likewise.
42945         (ctanh_towardzero_test_data): Likewise.
42946         (ctanh_downward_test_data): Likewise.
42947         (ctanh_upward_test_data): Likewise.
42948         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42949         mpc_c_c.
42950         (func_calc_desc): Add mpc_c_c union field.
42951         (FUNC_mpc_c_c): New macro.
42952         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42953         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42954         ctanh.
42955         (special_fill_min_subnorm_p120): New function.
42956         (special_real_inputs): Add min_subnorm_p120.
42957         (calc_generic_results): Handle mpc_c_c.
42958         * sysdeps/i386/fpu/libm-test-ulps: Update.
42959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42961 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42963         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42964         (do_sin_slow): New functions.
42965         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42966         (cslow2, csloww1, csloww2): Use the new functions.
42968         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42969         Use M to change sign of result instead of X.  Assume X is
42970         positive.
42971         (csloww1): Likewise.
42972         (__sin): Adjust.
42973         (__cos): Adjust.
42975         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42976         arguments A and DA.
42977         (__sin): Adjust.
42978         (__cos): Likewise.
42980         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42981         (__cos): Likewise.
42982         (sloww1): Don't adjust sign of DX.
42983         (csloww1): Likewise.
42984         (sloww2): Use X directly and don't adjust sign of DX.
42985         (csloww2): Likewise.
42987 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42989         * math/auto-libm-test-in: Add tests of cabs and carg.
42990         * math/auto-libm-test-out: Regenerated.
42991         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42992         (carg_test_data): Likewise.
42993         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42994         mpc_c_f.
42995         (func_calc_desc): Add mpc_c_f union field.
42996         (test_functions): Add cabs and carg.
42997         (calc_generic_results): Handle mpc_c_f.
42999         * sysdeps/powerpc/powerpc32/libgcc-compat.S
43000         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43001         as a macro and a compat symbol.
43002         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43003         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43004         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43005         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43006         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43007         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43008         not use .hidden.
43009         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43010         Likewise.
43011         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43012         Likewise.
43013         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43014         Likewise.
43015         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43016         Likewise.
43017         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43018         Likewise.
43019         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43020         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43021         from GLIBC_2.3.2.
43023 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43027 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43029         * manual/texinfo.tex: Update to version 2013-11-26.10 with
43030         trailing whitespace removed.
43031         * scripts/config.guess: Update to version 2013-11-29.
43032         * scripts/config.sub: Update to version 2013-10-01.
43034         * math/auto-libm-test-in: Add tests of sincos.
43035         * math/auto-libm-test-out: Regenerated.
43036         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43037         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43038         mpfr_f_11.
43039         (func_calc_desc): Add mpfr_f_11 union field.
43040         (test_functions): Add sincos.
43041         (calc_generic_results): Handle mpfr_f_11.
43042         * sysdeps/i386/fpu/libm-test-ulps: Update.
43043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43045 2013-12-19  Andreas Schwab  <schwab@suse.de>
43047         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43048         CALL_MCOUNT.
43049         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43050         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43051         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43053 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43055         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43056         * sysdeps/i386/fpu/libm-test-ulps: Update.
43057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43059         [BZ #16293]
43060         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43061         round-to-nearest mode when using frndint.
43062         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43063         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43064         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43065         Likewise.
43066         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
43067         sinh test to fail.
43068         * math/auto-libm-test-out: Regenerated.
43069         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43070         (TEST_COND_x86): Likewise.
43071         (expm1_tonearest_test_data): New array.
43072         (expm1_test_tonearest): New function.
43073         (expm1_towardzero_test_data): New array.
43074         (expm1_test_towardzero): New function.
43075         (expm1_downward_test_data): New array.
43076         (expm1_test_downward): New function.
43077         (expm1_upward_test_data): New array.
43078         (expm1_test_upward): New function.
43079         (main): Run the new test functions.
43080         * sysdeps/i386/fpu/libm-test-ulps: Update.
43081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43083         * include/features.h: Update comment documenting feature test
43084         macros.  Mention _DEFAULT_SOURCE in comment.
43085         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43086         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43087         _BSD_SOURCE and _SVID_SOURCE.
43088         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43089         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43090         !_SVID_SOURCE]: Likewise.
43091         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43092         (__USE_POSIX_IMPLICITLY): Define.
43093         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43094         (_POSIX_SOURCE): Undefine and redefine.
43095         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43096         (_POSIX_C_SOURCE): Likewise.
43097         * manual/creature.texi (_DEFAULT_SOURCE): Document.
43098         (Feature Test Macros): Update documentation of default features.
43100 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43102         * benchtests/Makefile: Add bench-strtok.
43103         * benchtests/bench-strtok.c: New file: strtok benchtest.
43105 2013-12-19  Allan McRae  <allan@archlinux.org>
43107         * manual/install.texi: Suppress menu for plain text output.
43108         * INSTALL: Regenerated.
43110 2013-12-18  Brooks Moses  <bmoses@google.com>
43112         [BZ #15846]
43113         * misc/getauxval.c: Include errno.h.
43114         (__getauxval): Set errno to ENOENT if the requested type is not
43115         found.
43116         * misc/sys/auxv.h (getauxval): Document that it may set errno;
43117         don't declare with __attribute_const__.
43118         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43119         * manual/startup.texi: Document that getauxval sets errno.
43121 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43123         * math/auto-libm-test-in: Add tests of jn and yn.
43124         * math/auto-libm-test-out: Regenerated.
43125         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43126         (yn_test_data): Likewise.
43127         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43128         mpfr_if_f.
43129         (func_calc_desc): Add mpfr_if_f union field.
43130         (FUNC_mpfr_if_f): New macro.
43131         (test_functions): Add jn and yn.
43132         (calc_generic_results): Assert type of second input for
43133         mpfr_ff_f.  Handle mpfr_if_f.
43134         (output_for_one_input_case): Disable all checking for arguments
43135         fitting floating-point types in case of an integer argument.
43136         * sysdeps/i386/fpu/libm-test-ulps: Update.
43137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43140         Don't expect fegetround reference in libm.so.
43142 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43144         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43145         $(config-cflags-nofma).
43147 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43149         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43150         * math/auto-libm-test-out: Regenerated.
43152         [BZ #16338]
43153         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43154         to determine exponent and adjust argument to have exponent of -1.
43155         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43156         log2.
43157         * math/auto-libm-test-out: Regenerated.
43158         * sysdeps/i386/fpu/libm-test-ulps: Update.
43159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43161 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43163         * manual/probes.texi: Remove cases when per-thread arenas are
43164         disabled.
43166 2013-12-18  Andreas Schwab  <schwab@suse.de>
43168         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43169         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43170         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43171         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43172         * sysdeps/i386/i686/multiarch/Makefile: Update.
43173         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43175 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43177         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43178         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43180 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43182         [BZ #15968]
43183         Support TZ transition times < 00:00:00.
43184         This is needed for version-3 tz-format files; it supports time
43185         stamps past 2037 for America/Godthab (the only entry in the tz
43186         database for which this change is relevant).
43187         * manual/time.texi (TZ Variable): Document transition times
43188         from -167:59:59 through -00:00:01.
43189         * time/tzset.c (tz_rule): Time of day is now signed.
43190         (__tzset_parse_tz): Parse negative time of day.
43192         Document TZ transition times >= 25:00:00.
43193         * manual/time.texi (TZ Variable): Document transition times from
43194         25:00:00 through 167:59:59.  These are already supported, and this
43195         support will help with version-3 tz-format files.
43197         * manual/time.texi (TZ Variable): Modernize North America example
43198         to reflect current (i.e., 2007-and-later) daylight saving rules.
43200         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43202 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43204         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43205         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43206         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43207         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43208         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43209         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43210         * sysdeps/unix/bsd/clock.c: Likewise.
43211         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43212         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43213         * sysdeps/unix/bsd/init-posix.c: Likewise.
43214         * sysdeps/unix/bsd/poll.c: Likewise.
43215         * sysdeps/unix/bsd/ptsname.c: Likewise.
43216         * sysdeps/unix/bsd/seekdir.c: Likewise.
43217         * sysdeps/unix/bsd/setegid.c: Likewise.
43218         * sysdeps/unix/bsd/seteuid.c: Likewise.
43219         * sysdeps/unix/bsd/setgid.c: Likewise.
43220         * sysdeps/unix/bsd/setrgid.c: Likewise.
43221         * sysdeps/unix/bsd/setruid.c: Likewise.
43222         * sysdeps/unix/bsd/setsid.c: Likewise.
43223         * sysdeps/unix/bsd/setuid.c: Likewise.
43224         * sysdeps/unix/bsd/sigaction.c: Likewise.
43225         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43226         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43227         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43228         * sysdeps/unix/bsd/telldir.c: Likewise.
43229         * sysdeps/unix/bsd/times.c: Likewise.
43230         * sysdeps/unix/bsd/usleep.c: Likewise.
43232         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43233         ($(objpfx)libbsd-compat.a): Remove rule.
43235         * include/features.h (__FAVOR_BSD): Do not define.
43236         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43237         features conflicting with POSIX.
43238         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43239         (_BSD_SOURCE): Remove description of not being a subset of other
43240         feature test macros.
43241         * manual/job.texi (getpgrp): Do not document BSD version.
43242         (getpgid): Do not document by reference to BSD getpgrp.
43243         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43244         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43245         * signal/signal.h [__FAVOR_BSD]: Likewise.
43246         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43247         instead of making contents conditional on [__FAVOR_BSD].
43248         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43250 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43254 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43256         [BZ #16314]
43257         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43258         values below 2**-450, not 2**-500.
43259         * math/auto-libm-test-in: Don't allow spurious underflow from
43260         hypot.
43261         * math/auto-libm-test-out: Regenerated.
43263         [BZ #16316]
43264         [BZ #16330]
43265         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43266         values of ha and hb and sort them after adjusting subnormal
43267         arguments.
43268         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43269         Likewise.
43270         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43271         values of ea and eb and sort them after adjusting subnormal
43272         arguments.
43273         * math/auto-libm-test-in: Do not expect some hypot tests of
43274         subnormals to fail.  Add more hypot tests.
43275         * math/auto-libm-test-out: Regenerated.
43277 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43279         [BZ #13304]
43280         * sysdeps/sh/s_fma.c: New file.
43281         * sysdeps/sh/s_fmaf.c: New file.
43282         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43283         version.
43284         * sysdeps/sh/Implies: Add sh/soft-fp.
43286 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43288         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43289         level of indirection to members `objname', `errstring', `malloced'.
43290         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43291         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43292         it as the __longjmp argument (just pass 1 instead).
43293         (_dl_catch_error): Initialize C with argument pointers and address of
43294         volatile local ERRCODE rather than copying values out of C at return.
43296 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43298         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43299         * math/auto-libm-test-out: Regenerated.
43300         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43301         (hypot_test_data): Likewise.
43302         (pow_test_data): Likewise.
43303         (pow_tonearest_test_data): Likewise.
43304         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43305         mpfr_ff_f.
43306         (func_calc_desc): Add mpfr_ff_f union field.
43307         (FUNC_mpfr_ff_f): New macro.
43308         (test_functions): Add atan2, hypot and pow.
43309         (special_fill_min): New function.
43310         (special_fill_minus_min): Likewise.
43311         (special_fill_min_subnorm): Likewise.
43312         (special_fill_minus_min_subnorm): Likewise.
43313         (special_real_inputs): Add min, -min, min_subnorm and
43314         -min_subnorm.
43315         (calc_generic_results): Handle mpfr_ff_f.
43316         * sysdeps/i386/fpu/libm-test-ulps: Update.
43317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43319 2013-12-16  Will Newton  <will.newton@linaro.org>
43321         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43322         (Aligned Memory Blocks): Add documentation for aligned_alloc
43323         and suggest it as an alternative to posix_memalign.
43324         (Hooks for Malloc): Document __memalign_hook is also called
43325         for aligned_alloc.  (Summary of Malloc): Add summary for
43326         aligned alloc.  Document __memalign_hook is also called
43327         for aligned_alloc.
43329 2013-12-16  Will Newton  <will.newton@linaro.org>
43331         * manual/memory.texi (Malloc Examples): Clarify default
43332         alignment documentation.  Suggest posix_memalign rather
43333         than memalign or valloc.
43334         (Aligned Memory Blocks): Remove suggestion to use memalign
43335         or valloc.  Remove obsolete comment about BSD.
43336         Document memalign errno values and mark the function obsolete.
43337         Document posix_memalign returned error codes.  Mark valloc
43338         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43339         called for posix_memalign and valloc.
43340         (Summary of Malloc): Add posix_memalign to function summary.
43341         __memalign_hook is also called for posix_memalign and valloc.
43343 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43345         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43346         TAYLOR_SIN.
43347         (__sin): Adjust.
43348         (__cos): Likewise.
43349         (sloww): Use mynumber union.  Expand ternary operator into
43350         if-else statements.
43351         (cslow): use mynumber union.
43353 2013-12-16  Allan McRae  <allan@archlinux.org>
43355         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43356         * configure: Regenerated.
43358         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43360         [BZ #14120]
43361         * configure.ac: Added --enable-maintainer-mode. Check for
43362         autoconf when enabled.
43363         * configure: Regenerated.
43365         * nscd/nscd.service: New file.
43366         * nscd/nscd.tmpfiles: New file.
43368 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43370         [BZ #12100]
43371         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43372         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43373         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43374         (strstr): Add __strstr_sse2_unaligned ifunc.
43375         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43376         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43377         (strcasestr): Remove __strcasestr_sse42 ifunc.
43378         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43379         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43380         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43382 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43384         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43385         * sysdeps/sh/bits/fenv.h: ... here.
43386         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43388 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43390         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43392         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43393         hypotf multiarch implementations.
43394         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43395         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43396         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43397         multiarch hypot for PPC64.
43398         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43399         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43400         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43401         multiarch hypotf for PPC64.
43403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43404         modff multiarch implementations.
43405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43408         multiarch modf for PPC64.
43409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43412         multiarch modff for PPC64.
43414         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43415         and logl multiarch implementations.
43416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43419         multiarch logb for PPC64.
43420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43423         multiarch logb for PPC64.
43424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43427         multiarch logb for PPC64.
43429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43430         isinff multiarch implementation.
43431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43432         file.
43433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43435         multiarch isinf for PPC64.
43436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43437         file.
43438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43439         multiarch isinff for PPC64.
43441         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43442         finitef multiarch implementation.
43443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43444         file.
43445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43447         multiarch finite for PPC64.
43448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43449         file.
43450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43451         multiarch finitef for PPC64.
43453         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43454         lrint multiarch implementation.
43455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43456         file.
43457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43459         multiarch llrint for PPC64.
43460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43461         multiarch lrint for PPC64.
43463         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43464         copysignf multiarch implementation.
43465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43466         file.
43467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43468         file.
43469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43470         multiarch copysign for PPC64.
43471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43472         multiarch copysignf for PPC64.
43474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43475         multiarch implementation.
43476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43477         file.
43478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43479         file.
43480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43481         file.
43482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43483         file.
43484         multiarch llround for PPC64.
43485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43486         multiarch trunc for PPC64.
43487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43488         multiarch truncf for PPC64.
43490         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43491         multiarch implementation.
43492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43493         file.
43494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43495         file.
43496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43497         file.
43498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43499         file.
43500         multiarch llround for PPC64.
43501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43502         multiarch round for PPC64.
43503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43504         multiarch roundf for PPC64.
43506         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43507         multiarch implementation.
43508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43509         file.
43510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43511         file.
43512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43513         file.
43514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43515         file.
43516         multiarch llround for PPC64.
43517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43518         multiarch floor for PPC64.
43519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43520         multiarch floorf for PPC64.
43522         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43523         multiarch implementation.
43524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43525         file.
43526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43527         file.
43528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43529         file.
43530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43531         file.
43532         multiarch llround for PPC64.
43533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43534         multiarch ceil for PPC64.
43535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43536         multiarch ceilf for PPC64.
43538         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43539         multiarch implementation.
43540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43541         file.
43542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43543         file.
43544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43545         file.
43546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43547         multiarch llround for PPC64.
43548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43549         multiarch lround for PPC64.
43551         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43552         multiarch implementation.
43553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43556         file.
43557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43560         multiarch isnan for PPC64.
43561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43562         multiarch isnanf for PPC64.
43564         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43565         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43566         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43567         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43568         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43571         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43572         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43573         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43574         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43577         multiarch implementations.
43578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43579         (__libc_ifunc_impl_list): Likewise.
43580         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43581         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43582         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43583         multiarch stpcpy for PPC64.
43585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43586         multiarch implementations.
43587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43588         (__libc_ifunc_impl_list): Likewise.
43589         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43590         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43591         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43592         multiarch strcpy for PPC64.
43594         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43595         redefine function name.
43596         (_wordcopy_fwd_dest_aligned): Likewise.
43597         (_wordcopy_bwd_aligned): Likewise.
43598         (_wordcopy_bwd_dest_aligned): Likewise.
43599         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43600         multiarch implementations.
43601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43602         (__libc_ifunc_impl_list): Likewise.
43603         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43604         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43605         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43606         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43607         multiarch wcscpy for PPC64.
43609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43610         multiarch implementations.
43611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43612         (__libc_ifunc_impl_list): Likewise.
43613         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43614         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43615         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43616         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43617         multiarch wcscpy for PPC64.
43619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43620         multiarch implementations.
43621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43622         (__libc_ifunc_impl_list): Likewise.
43623         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43624         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43625         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43626         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43627         multiarch wcsrchr for PPC64.
43629         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43630         multiarch implementations.
43631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43632         (__libc_ifunc_impl_list): Likewise.
43633         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43634         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43635         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43636         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43637         multiarch wcschr for PPC64.
43639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43640         multiarch implementations.
43641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43642         (__libc_ifunc_impl_list): Likewise.
43643         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43644         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43645         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43646         multiarch strchrnul for PPC64.
43648         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43649         implementations.
43650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43651         (__libc_ifunc_impl_list): Likewise.
43652         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43653         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43654         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43655         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43656         strchr for PPC64.
43658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43659         implementations.
43660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43661         (__libc_ifunc_impl_list): Likewise.
43662         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43663         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43664         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43665         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43666         strncmp for PPC64.
43668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43669         multiarch implementations.
43670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43671         (__libc_ifunc_impl_list): Likewise.
43672         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43673         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43674         strncasecmp for PPC64.
43675         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43676         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43677         multiarch strncasecmp_l for PPC64.
43679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43680         multiarch implementations.
43681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43682         (__libc_ifunc_impl_list): Likewise.
43683         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43684         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43685         multiarch strcasecmp for PPC64.
43686         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43687         file.
43688         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43689         multiarch strcasecmp_l for PPC64.
43691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43692         implementations.
43693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43694         (__libc_ifunc_impl_list): Likewise.
43695         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43696         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43697         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43698         strnlen for PPC64.
43700         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43701         implementations.
43702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43703         (__libc_ifunc_impl_list): Likewise.
43704         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43705         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43706         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43707         strlen for PPC64.
43709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43710         implementations.
43711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43712         (__libc_ifunc_impl_list): Likewise.
43713         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43714         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43715         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43716         rawmemrchr for PPC64.
43718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43719         implementation.
43720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43721         (__libc_ifunc_impl_list): Likewise.
43722         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43723         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43724         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43725         memrchr for PPC64.
43727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43728         implementation.
43729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43730         (__libc_ifunc_impl_list): Likewise.
43731         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43732         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43733         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43734         memchr for PPC64.
43736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43737         implementation.
43738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43739         (__libc_ifunc_impl_list): Likewise.
43740         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43741         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43742         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43743         mempcpy for PPC64.
43745         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43746         avoid cretion of __bzero symbol.
43747         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43748         Likewise.
43749         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43750         Likewise.
43751         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43752         Likewise.
43753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43754         multiarch implementations.
43755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43756         (__libc_ifunc_impl_list): Likewise.
43757         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43758         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43759         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43760         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43761         bzero for PPC32.
43762         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43763         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43764         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43765         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43766         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43767         memset for PPC64.
43768         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43770         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43771         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43772         implementations.
43773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43774         (__libc_ifunc_impl_list): Likewise.
43775         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43776         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43777         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43778         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43779         memcmp for PPC64.
43781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43782         multiarch for POWER/PPC64.
43783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43784         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43785         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43786         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43787         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43788         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43789         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43790         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43791         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43792         memcpy for PPC64.
43794         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43795         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43796         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43797         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43798         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43799         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43800         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43801         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43802         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43803         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43804         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43805         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43806         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43807         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43808         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43817 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43819         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43821 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43823         * benchtests/Makefile (bench): Add exp2 and log2.
43824         (LDLIBS-bench-exp2): Add -lm.
43825         (LDLIBS-bench-log2): Likewise.
43826         * benchtests/exp2-inputs: New inputs file.
43827         * benchtests/log2-inputs: New inputs file.
43828         * benchtests/log-inputs: Add new inputs.
43829         * benchtests/tan-inputs: Likewise.
43831 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43833         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43834         definition...
43835         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43836         (csloww2): ... from here.
43838         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43839         instead of structures.
43840         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43841         (POLYNOMIAL): Likewise.
43842         (TAYLOR_SLOW): Likewise.
43843         (__sin): Likewise.
43844         (__cos): Likewise.
43845         (slow1): Likewise.
43846         (slow2): Likewise.
43847         (sloww): Likewise.
43848         (sloww1); Likewise.
43849         (sloww2): Likewise.
43850         (bsloww1): Likewise.
43851         (bsloww2): Likewise.
43852         (cslow2): Likewise.
43853         (csloww): Likewise.
43854         (csloww1): Likewise.
43855         (csloww2): Likewise.
43857 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43859         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43860         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43861         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43862         * malloc/hooks.c (realloc_check): Likewise.
43864         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43865         * malloc/arena.c: Remove PER_THREAD conditional.
43866         [!PER_THREAD]: Remove code.
43867         (ptmalloc_unlock_all2): Likewise.
43868         (ptmalloc_init): Likewise.
43869         (_int_new_arena): Likewise.
43870         (arena_get2): Likewise.
43871         * malloc/hooks.c (__malloc_get_state): Likewise.
43872         (__malloc_set_state): Likewise.
43873         * malloc/malloc.c: Likewise.
43874         (struct malloc_state): Likewise.
43875         (struct malloc_par): Likewise.
43876         (__libc_realloc): Likewise.
43877         (__libc_mallopt): Likewise.
43879 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43881         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43883 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43885         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43886         macro to a function.  Check for zero perturb_byte.
43887         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43889         * malloc/malloc.c: (force_reg): Remove.
43890         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43891         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43892         force_reg by atomic_forced_read.
43893         * malloc/arena.c (ptmalloc_init): Likewise.
43894         * malloc/hooks.c (top_check): Likewise.
43896 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43900 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43904 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43906         * math/auto-libm-test-in: Add tests of lgamma.
43907         * math/auto-libm-test-out: Regenerated.
43908         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43909         (M_LOG_2_SQRT_PIl): Likewise.
43910         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43911         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43912         mpfr_f_f1.
43913         (func_calc_desc): Add mpfr_f_f1 union field.
43914         (ARGS1): New macro.
43915         (ARGS2): Likewise.
43916         (ARGS3): Likewise.
43917         (ARGS4): Likewise.
43918         (RET1): Likewise.
43919         (RET2): Likewise.
43920         (CALC): Likewise.
43921         (FUNC): Likewise.
43922         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43923         (test_functions): Add lgamma.
43924         (calc_generic_results): Handle mpfr_f_f1.
43925         * sysdeps/i386/fpu/libm-test-ulps: Update.
43926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43928 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43930         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43931         __mpn_add_n for PowerPC64/POWER7.
43932         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43933         __mpn_sub_n for PowerPC64/POWER7.
43935         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43936         __mpn_addmul_1 for PowerPC64.
43937         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43938         __mpn_submul_1 for PowerPC64.
43939         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43940         for PowerPC64.
43941         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43942         for PowerPC64.
43944 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43946         [BZ #15089]
43947         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43949 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43951         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43953         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43954         add multiarch folders.
43955         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43956         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43957         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43958         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43959         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43960         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43961         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43962         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43963         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43964         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43965         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43974         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43976         New file.
43977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43978         New file.
43979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43980         multiarch __ieee754_hypot for PowerPC32.
43981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43982         New file.
43983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43984         New file.
43985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43986         multiarch __ieee754_hypotf for PowerPC32.
43988         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43989         long_double_symbol only if __logbl is defined.
43990         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43991         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43992         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43993         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43994         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43995         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43996         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43997         path for implementation.
43998         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43999         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44001         logb, and logbl multiarch implementations for PowerPC32.
44002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44003         file.
44004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44005         file.
44006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44007         multiarch logb for PowerPC32.
44008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44009         file.
44010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44011         file.
44012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44013         multiarch logbf for PowerPC32.
44014         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44016         file.
44017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44018         multiarch logbl implementation for PowerPC32.
44020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44021         and modff multiarch implementations.
44022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44023         New file.
44024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44025         New file.
44026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44027         multiarch modf for PowerPC32.
44028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44029         New file.
44030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44031         New file.
44032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44033         multiarch modff for PowerPC32.
44035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44036         and lrintf multiarch implementations.
44037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44038         New file.
44039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44040         New file.
44041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44042         multiarch lrint for PowerPC32.
44043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44044         file: multiarch lrintf for PowerPC32.
44046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44047         and lroundf multiarch implementations.
44048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44049         New file.
44050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44051         New file.
44052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44053         New file.
44054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44055         multiarch lround for PowerPC32.
44056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44057         file: multiarch lroundf for PowerPC32.
44059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44060         copysign and copysignf multiarch implementations.
44061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44062         New file.
44063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44064         New file.
44065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44066         file: multiarch copysign for PowerPC32.
44067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44068         file: multiarch copysignf for PowerPC32.
44070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44071         and truncf multiarch implementations.
44072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44073         New file.
44074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44075         file.
44076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44077         multiarch trunc for PowerPC32.
44078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44079         New file.
44080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44081         New file.
44082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44083         multiarch truncf for PowerPC32.
44085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44086         and roundf multiarch implementations.
44087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44088         New file.
44089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44090         file.
44091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44092         multiarch round for PowerPC32.
44093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44094         New file.
44095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44096         New file.
44097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44098         multiarch roundf for PowerPC32.
44100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44101         and floorf multiarch implementations.
44102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44103         New file.
44104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44105         file.
44106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44107         multiarch floor for PowerPC32.
44108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44109         New file.
44110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44111         New file.
44112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44113         multiarch floorf for PowerPC32.
44115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44116         and ceilf multiarch implementations.
44117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44118         New file.
44119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44120         file.
44121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44122         multiarch ceil for PowerPC32.
44123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44124         New file.
44125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44126         file.
44127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44128         multiarch ceilf for PowerPC32.
44130         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44131         is defined.
44132         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44133         FINITEF is defined.
44134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44135         and finitef multiarch implementations.
44136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44137         New file.
44138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44139         file.
44140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44141         multiarch finite for PowerPC32.
44142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44143         New file.
44144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44145         file: multiarch finitef for PowerPC32.
44147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44148         and isinff multiarch implementations.
44149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44150         file.
44151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44152         file.
44153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44154         multiarch isinf for PowerPC32.
44155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44156         New file.
44157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44158         multiarch isinff for PowerPC32.
44160         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44161         alias when __isnan is defined.
44162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44163         and isnanf multiarch implementations.
44164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44165         file.
44166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44167         file.
44168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44169         file.
44170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44171         file.
44172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44173         multiarch isnan for PowerPC32.
44174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44175         New file.
44176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44177         New file.
44178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44179         multiarch isnanf for PowerPC32.
44181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44182         and sqrtf multiarch implementations.
44183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44184         file.
44185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44186         file.
44187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44188         multiarch sqrt for PowerPC32.
44189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44190         file.
44191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44192         file.
44193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44194         multiarch sqrtf for PowerPC32.
44196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44197         and llroundf multiarch implementations.
44198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44199         New file.
44200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44201         New file.
44202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44203         New file.
44204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44205         file: multiarch llround for PowerPC32.
44206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44207         file: multiarch llroundf for PowerPC32.
44209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44210         multiarch PowerPC32 fpu implementations.
44211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44212         New file.
44213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44214         New file.
44215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44216         multiarch llrint for PowerPC32.
44217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44218         New file.
44219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44220         New file.
44221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44222         file.
44224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44226         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44227         file.
44228         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44229         file.
44230         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44231         file.
44232         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44233         multiarch wordcopy for PPC32.
44234         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44235         wordcopy objects.
44236         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44237         (__libc_ifunc_impl_list): Likewise.
44238         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44239         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44240         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44241         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44242         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44243         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44245         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44246         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44247         file.
44248         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44249         file.
44250         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44251         file.
44252         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44253         multiarch wcscpy for PPC32.
44254         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44255         multiarch objects.
44256         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44257         (__libc_ifunc_impl_list): Likewise.
44258         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44259         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44260         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44261         sysdeps/powerpc/power6/wcscpy.c.
44263         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44264         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44265         file.
44266         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44267         file.
44268         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44269         file.
44270         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44271         multiarch wcsrchr for PPC32.
44272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44273         multiarch objects.
44274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44275         (__libc_ifunc_impl_list): Likewise.
44276         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44277         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44278         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44279         sysdeps/powerpc/power6/wcsrchr.c.
44281         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44282         file.
44283         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44284         file.
44285         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44286         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44287         multiarch wcschr for PPc32.
44288         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44289         multiarch objects.
44290         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44291         (__libc_ifunc_impl_list): Likewise.
44292         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44293         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44294         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44295         sysdeps/powerpc/power6/wcschr.c.
44297         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44298         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44299         file.
44300         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44301         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44302         file: multiarch strchr for PPC32.
44303         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44304         multiarch objects.
44305         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44306         (__libc_ifunc_impl_list): Likewise.
44308         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44309         name.
44310         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44311         file.
44312         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44313         file.
44314         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44315         multiarch strchrnul for PPC32.
44316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44317         multiarch objects.
44318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44319         (__libc_ifunc_impl_list): Likewise.
44321         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44322         file.
44323         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44324         multiarch strncasecmp for PPC32.
44325         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44326         file.
44327         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44328         multiarch strncasecmp_l for PPC32.
44329         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44330         strncasecmp multiarch objects.
44331         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44332         (__libc_ifunc_impl_list): Likewise.
44334         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44335         file.
44336         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44337         multiarch strncasecmp for PPC32.
44338         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44339         New file.
44340         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44341         multiarch strcasecmp_l for PPC32.
44342         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44343         multiarch objects.
44344         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44345         (__libc_ifunc_impl_list): Likewise.
44347         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44348         file.
44349         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44350         file.
44351         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44352         multiarch strncmp for PPC32.
44353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44354         multiarch objects.
44355         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44356         (__libc_ifunc_impl_list): Likewise.
44358         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44359         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44360         file.
44361         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44362         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44363         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44364         multiarch objects.
44365         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44366         (__libc_ifunc_impl_list): Likewise.
44368         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44369         file.
44370         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44371         file.
44372         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44373         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44374         multiarch objects.
44375         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44376         (__libc_ifunc_impl_list): Likewise.
44378         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44379         file.
44380         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44381         file.
44382         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44383         multiarch rawmemchr for PPC32.
44384         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44385         multiarch objects.
44386         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44387         (__libc_ifunc_impl_list): Likewise.
44389         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44390         file.
44391         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44392         file.
44393         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44394         file: memrchr multiarch for PPC32.
44395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44396         multiarch objects.
44397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44398         (__libc_ifunc_impl_list): Likewise.
44400         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44401         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44402         file.
44403         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44404         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44405         multiarch memchr for PPC32.
44406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44407         multiarch objects.
44408         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44409         (__libc_ifunc_impl_list): Likewise.
44411         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44412         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44413         file.
44414         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44415         file.
44416         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44417         file: multiarch mempcpy for PPC32.
44418         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44419         multiarch objects.
44420         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44421         (__libc_ifunc_impl_list): Likewise.
44423         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44424         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44425         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44426         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44427         multiarch bzero for PPC32.
44428         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44429         file.
44430         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44431         file.
44432         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44433         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44434         file: multiarch memset for PPC32.
44435         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44436         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44437         memset multiarch objects.
44438         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44439         (__libc_ifunc_impl_list): Likewise.
44441         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44442         file.
44443         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44444         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44445         memcmp for PPC32.
44446         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44447         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44448         multiarch objects.
44449         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44450         (__libc_ifunc_impl_list): Likewise.
44452         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44453         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44454         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44455         file.
44456         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44457         file.
44458         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44459         file.
44460         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44461         multiarch memcpy for PPC32.
44462         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44463         multiarch objects.
44464         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44465         (__libc_ifunc_impl_list): Likewise.
44467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44468         support multiarch for POWER/PPC32.
44469         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44470         Likewise.
44471         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44473         Implies file to make multiarch folder appers before the fpu and
44474         default folder for power4 configuration.
44476 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44478         * scripts/bench.pl: Append volatile keyword to type.
44480 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44482         * sysdeps/sh/sotruss-lib.c: New file.
44483         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44485 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44489 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44491         [BZ #6810]
44492         * math/w_tgamma.c: Include <errno.h>.
44493         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44494         * math/w_tgammaf.c: Include <errno.h>.
44495         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44496         * math/w_tgammal.c: Include <errno.h>.
44497         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44498         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44499         underflow.  Add more tgamma tests.
44500         * math/auto-libm-test-out: Regenerated.
44501         * sysdeps/i386/fpu/libm-test-ulps: Update.
44502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44504         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44505         sin, sinh, tan, tanh, tgamma, y0 and y1.
44506         * math/auto-libm-test-out: Regenerated.
44507         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44508         (TEST_COND_x86): Likewise.
44509         (M_E2l): Remove macro.
44510         (M_E3l): Likewise.
44511         (M_2_SQRT_PIl): Likewise.
44512         (M_SQRT_PIl): Likewise.
44513         (M_1_DIV_El): Likewise.
44514         (log_test_data): Use AUTO_TESTS_f_f.
44515         (log10_test_data): Likewise.
44516         (log1p_test_data): Likewise.
44517         (log2_test_data): Likewise.
44518         (sin_test_data): Likewise.
44519         (sin_tonearest_test_data): Likewise.
44520         (sin_towardzero_test_data): Likewise.
44521         (sin_downward_test_data): Likewise.
44522         (sin_upward_test_data): Likewise.
44523         (sinh_test_data): Likewise.
44524         (sinh_tonearest_test_data): Likewise.
44525         (sinh_towardzero_test_data): Likewise.
44526         (sinh_downward_test_data): Likewise.
44527         (sinh_upward_test_data): Likewise.
44528         (tan_test_data): Likewise.
44529         (tan_tonearest_test_data): Likewise.
44530         (tan_towardzero_test_data): Likewise.
44531         (tan_downward_test_data): Likewise.
44532         (tan_upward_test_data): Likewise.
44533         (tanh_test_data): Likewise.
44534         (tgamma_test_data): Likewise.
44535         (y0_test_data): Likewise.
44536         (y1_test_data): Likewise.
44537         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44538         (special_real_inputs): Add pi/4.
44539         * sysdeps/i386/fpu/libm-test-ulps: Update.
44540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44542 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44544         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44545         "longjmp_target" static probes.
44546         (__longjmp): Rename to __longjmp_symbol.
44547         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44548         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44549         on which longjmp to generate.
44550         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44551         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44552         probe.
44553         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44554         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44555         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44556         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44557         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44558         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44560         __longjmp_symbol based on which __longjmp to generate.
44561         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44562         probe.
44563         (setjmp): Rename to setjmp_symbol.
44564         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44565         (_setjmp): Rename to _setjmp_symbol.
44566         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44567         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44568         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44569         which setjmp to generate.
44570         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44571         "longjmp_target" static probes.
44573 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44575         * benchtests/README: Add note about output arguments.
44576         * benchtests/bench-sincos.c: Remove file.
44577         * benchtests/sincos-inputs: New file.
44578         * scripts/bench.pl: Identify output arguments and define
44579         static variables for them.
44581         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44583         [BZ #15941]
44584         * Makefile (INSTALL): Add install-plain.texi as the primary
44585         dependency.
44586         * manual/install-plain.texi: New file.
44587         * manual/install.texi: Include node directive only for
44588         non-plaintext output.
44590 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44592         * stdlib/longlong.h: Update from GCC.
44594         [BZ #6807]
44595         [BZ #15901]
44596         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44597         * math/w_j0f.c (y0f): Likewise.
44598         * math/w_j0l.c (__y0l): Likewise.
44599         * math/w_j1.c (y1): Likewise.
44600         * math/w_j1f.c (y1f): Likewise.
44601         * math/w_j1l.c (__y1l): Likewise.
44602         * math/w_jn.c (yn): Likewise.
44603         * math/w_jnf.c (ynf): Likewise.
44604         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44605         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44606         value for Bessel function domain errors outside _SVID_ mode.
44607         Adjust sign of return value for yn (negative integer, 0).
44608         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44609         by zero in return for negative x and set sign appropriately for
44610         negative n.
44611         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44612         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44613         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44614         expectations in error cases.
44615         (y1_test_data): Likewise.
44616         (yn_test_data): Likewise.
44617         * sysdeps/i386/fpu/libm-test-ulps: Update.
44618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44620 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44622         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44623         "64" to "64-v1".  Add "64-v2".
44624         (abi-64-options): Rename to ...
44625         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44626         (abi-64-condition): Rename to ...
44627         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44628         (abi-64-ld-soname): Rename to ...
44629         (abi-64-v1-ld-soname): ... this.
44630         (abi-64-v2-options): Define.
44631         (abi-64-v2-condition): Likewise.
44632         (abi-64-v2-ld-soname): Likewise.
44633         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44634         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44639 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44640             Alan Modra  <amodra@gmail.com>
44642         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44643         New versions for use with the ELFv2 ABI.
44644         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44645         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44646         declaration.
44647         (struct La_ppc64v2_retval): Likewise.
44648         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44649         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44650         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44651         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44652         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44653         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44654         Do not save or restore CR.
44655         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44656         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44657         return values for ELFv2 ABI.  Fix location of FPR return registers.
44658         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44659         updated values for _CALL_ELF == 2.
44660         (La_regs, La_retval, int_retval): Likewise.
44662 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44664         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44665         (FRAME_MIN_SIZE_PARM): Likewise.
44666         (FRAME_BACKCHAIN): Likewise.
44667         (FRAME_CR_SAVE): Likewise.
44668         (FRAME_LR_SAVE): Likewise.
44669         (FRAME_TOC_SAVE): Likewise.
44670         (FRAME_PARM_SAVE): Likewise.
44671         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44672         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44673         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44674         (call_mcount_parm_offset): New macro.
44675         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44676         (PROF): Use symbolic stack frame offsets.
44677         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44678         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44679         Redefine in terms of FRAME_MIN_SIZE.
44680         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44681         (_dl_profile_resolve): Likewise.  Update comment.
44682         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44683         symbols stack frame offsets.
44684         (__sigsetjmp): Likewise.
44685         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44686         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44687         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44688         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44691         (FRAME_BACKCHAIN): Remove.
44692         (FRAME_CR_SAVE): Likewise.
44693         (FRAME_LR_SAVE): Likewise.
44694         (FRAME_COMPILER_DW): Likewise.
44695         (FRAME_LINKER_DW): Likewise.
44696         (FRAME_TOC_SAVE): Likewise.
44697         (FRAME_PARM_SAVE): Likewise.
44698         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44699         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44700         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44702         (CHECK_SP): Use symbolic stack frame offsets.
44703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44704         zone" instead of caller's parameter save area for temp storage.
44705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44706         Likewise.  Also, use symbolic stack frame offsets.
44707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44708         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44709         our own stack frame instead of the caller's.
44710         (__socket): Use symbolic stack frame offsets.
44712 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44713             Alan Modra  <amodra@gmail.com>
44715         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44716         Define.
44717         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44718         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44719         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44720         New function.
44721         (elf_machine_fixup_plt): Call it.
44722         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44723         reloc arguments.
44724         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44725         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44726         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44727         r2 before calling target.
44729 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44730             Alan Modra  <amodra@gmail.com>
44732         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44733         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44734         versions of macros to support ELFv2 ABI.
44735         (LOCALENTRY): New macro.
44736         (ENTRY, EALIGN): Use it.
44737         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44738         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44739         fall through into ENTRY entry point.
44740         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44741         Only define if _CALL_ELF != 2.
44743         (elf_machine_matches_host): Verify ABI version matches.
44744         (RTLD_START): Use LOCALENTRY.
44745         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44746         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44747         (PLT_ENTRY_WORDS): New macro.
44748         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44749         (elf_machine_runtime_setup): Support ELFv2 ABI.
44750         (elf_machine_fixup_plt): Likewise.
44751         (elf_machine_plt_conflict): Likewise.
44752         (resolve_ifunc): Likewise.
44753         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44754         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44755         Likewise.
44756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44757         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44759         (makecontext): Support ELFv2 ABI.
44760         * elf/elf.h (EF_PPC64_ABI): Define.
44762 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44764         * sysdeps/powerpc/powerpc64/sysdep.h
44765         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44766         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44767         (ENTRY) [ASSEMBLER]: ... but instead here ...
44768         (EALIGN) [ASSEMBLER]: ... and here.
44769         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44770         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44771         (ENTRY_2) [!ASSEMBLER]: Use it.
44772         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44773         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44774         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44775         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44776         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44778         Use PPC64_LOAD_FUNCPTR.
44780         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44782 2013-12-04  Alan Modra  <amodra@gmail.com>
44784         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44785         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44786         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44787         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44789         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44790         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44791         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44792         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44793         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44794         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44796 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44799         (__makecontext): Fix incorrect CFI when backtracing out of
44800         context created via makecontext.
44801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44802         (__setcontext): Fix incorrect CFI during switch to new context.
44803         (__novec_setcontext): Likewise.
44805 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44807         [BZ #4772]
44808         * time/strptime_l.c (__strptime_internal): Allow modifiers
44809         in strptime.
44810         * time/tst-strptime.c (day_tests): Add testcase.
44812 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44814         * scripts/bench.pl: Skip over blank lines.
44816 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44818         [BZ #926]
44819         * manual/time.texi (Calendar Time): Clarify what timezone functions
44820         use.
44822 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44826 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44828         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44829         implementation.
44830         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44831         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44832         * debug/memset_chk.c (__memset_chk): Likewise.
44833         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44834         * debug/strncpy_chk.c: Likewise.
44836 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44838         [BZ #15268]
44839         [BZ #15425]
44840         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44841         (__ieee754_exp): For possibly underflowing results, check size of
44842         result and force underflow exception if required.
44843         * math/auto-libm-test-in: Add more tests of exp.
44844         * math/auto-libm-test-out: Regenerated.
44845         * sysdeps/i386/fpu/libm-test-ulps: Update.
44846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44848         [BZ #16283]
44849         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44850         * math/w_exp2f.c (__exp2f): Likewise.
44851         * math/w_exp2l.c (__exp2l): Likewise.
44852         * math/auto-libm-test-in: Do not allow missing errno on exp2
44853         underflow.
44854         * math/auto-libm-test-out: Regenerated.
44856 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44858         [BZ #16274]
44859         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44860         handle filename validation.
44861         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44862         (do_open): Delete.
44864 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44866         [BZ #6786]
44867         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44868         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44869         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44870         <float.h>.
44871         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44872         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44873         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44874         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44875         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44876         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44877         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44878         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44879         Add more erfc tests.
44880         * math/auto-libm-test-out: Regenerated.
44881         * sysdeps/i386/fpu/libm-test-ulps: Update.
44882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44884         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44885         exp2, expm1, j0 and j1.
44886         * math/auto-libm-test-out: Regenerated.
44887         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44888         (erfc_test_data): Likewise.
44889         (exp_test_data): Likewise.
44890         (exp_tonearest_test_data): Likewise.
44891         (exp_towardzero_test_data): Likewise.
44892         (exp_downward_test_data): Likewise.
44893         (exp_upward_test_data): Likewise.
44894         (exp10_test_data): Likewise.
44895         (exp2_test_data): Likewise.
44896         (expm1_test_data): Likewise.
44897         (j0_test_data): Likewise.
44898         (j1_test_data): Likewise.
44899         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44900         (input_flag_type): Add flag_xfail_rounding.
44901         (input_flags): Add xfail-rounding.
44902         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44903         (output_for_one_input_case): Handle flag_xfail_rounding.
44904         * sysdeps/i386/fpu/libm-test-ulps: Update.
44905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44907 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44909         [BZ #16289]
44910         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44911         division by 0.
44913 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44915         [BZ #16195]
44916         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44917         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44918         (STAP_PROBE0): New macro.
44919         (STAP_PROBE1): Likewise.
44920         (STAP_PROBE2): Likewise.
44921         (STAP_PROBE3): Likewise.
44922         (STAP_PROBE4): Likewise.
44924 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44926         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44928 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44930         * benchtests/Makefile (bench): Add sqrt.
44931         (LDLIBS-bench-sqrt): New.
44932         * benchtests/sqrt-input: New.
44934 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44936         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44937         (GAIH_EAI): Likewise.
44938         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44939         (gaih_inet): Likewise.
44940         (getaddrinfo): Don't use GAIH_EAI.
44942         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44943         (struct gaih): Remove definition.
44945 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44947         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44948         Use HERRNOP directly.
44950 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44954 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44956         * math/gen-auto-libm-tests.c (test_functions): Add more
44957         single-argument functions.
44958         (special_fill_pi_2): New function.
44959         (special_fill_minus_pi_2): Likewise.
44960         (special_fill_pi_6): Likewise.
44961         (special_fill_minus_pi_6): Likewise.
44962         (special_fill_pi_3): Likewise.
44963         (special_fill_2pi_3): Likewise.
44964         (special_fill_e): Likewise.
44965         (special_fill_1_e): Likewise.
44966         (special_fill_e_minus_1): Likewise.
44967         (special_real_inputs): Add more special inputs.
44968         (output_for_one_input_case): Do not require ERANGE on underflow to
44969         zero if round-to-nearest result does not underflow to zero, unless
44970         exact results required.
44971         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44972         atan, atanh, cbrt, cos and cosh.
44973         * math/auto-libm-test-out: Regenerated.
44974         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44975         (acos_tonearest_test_data): Likewise.
44976         (acos_towardzero_test_data): Likewise.
44977         (acos_downward_test_data): Likewise.
44978         (acos_upward_test_data): Likewise.
44979         (acosh_test_data): Likewise.
44980         (asin_test_data): Likewise.
44981         (asin_tonearest_test_data): Likewise.
44982         (asin_towardzero_test_data): Likewise.
44983         (asin_upward_test_data): Likewise.
44984         (asinh_test_data): Likewise.
44985         (atan_test_data): Likewise.
44986         (atanh_test_data): Likewise.
44987         (cbrt_test_data): Likewise.
44988         (cos_test_data): Likewise.
44989         (cos_tonearest_test_data): Likewise.
44990         (cos_towardzero_test_data): Likewise.
44991         (cos_downward_test_data): Likewise.
44992         (cos_upward_test_data): Likewise.
44993         (cosh_test_data): Likewise.
44994         (cosh_tonearest_test_data): Likewise.
44995         (cosh_towardzero_test_data): Likewise.
44996         (cosh_downward_test_data): Likewise.
44997         (cosh_upward_test_data): Likewise.
44998         * sysdeps/i386/fpu/libm-test-ulps: Update.
44999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45001 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
45003         [BZ #6787]
45004         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45005         * math/w_exp10f.c (__exp10f): Likewise.
45006         * math/w_exp10l.c (__exp10l): Likewise.
45007         * math/libm-test.inc (exp10_test_data): Add more tests and expect
45008         errno settings in existing tests.
45010         [BZ #14032]
45011         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45012         precision control set to double precision.
45013         * sysdeps/i386/fpu/w_sqrt.c: New file.
45014         * math/auto-libm-test-in: Add more tests.
45015         * math/auto-libm-test-out: Update.
45017         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45018         (sqrt_test_tonearest): New function.
45019         (sqrt_towardzero_test_data): New variable.
45020         (sqrt_test_towardzero): New function.
45021         (sqrt_downward_test_data): New variable.
45022         (sqrt_test_downward): New function.
45023         (sqrt_upward_test_data): New variable.
45024         (sqrt_test_upward): New function.
45025         (main): Call the new functions.
45027         * math/gen-auto-libm-tests.c: New file.
45028         * math/auto-libm-test-in: Likewise.
45029         * math/auto-libm-test-out: New generated file.
45030         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45031         variables.
45032         (%beautify): Add generated representations of zero.
45033         (top level): Set $auto_input and call parse_auto_input.
45034         (beautify): Remove trailing "f" from hex float constants.
45035         (parse_args): Handle XFAIL_TEST.
45036         (convert_condition): New function.
45037         (or_value): Likewise.
45038         (or_cond_value): Likewise.
45039         (generate_testfile): Handle AUTO_TESTS_* lines.
45040         (parse_auto_input): New function.
45041         * math/libm-test.inc (XFAIL_TEST): New macro.
45042         (ERRNO_UNCHANGED): Update value.
45043         (ERRNO_EDOM): Likewise.
45044         (ERRNO_ERANGE): Likewise.
45045         (IGNORE_RESULT): Likewise.
45046         (TEST_COND_flt_32): New macro.
45047         (TEST_COND_dbl_64): Likewise.
45048         (TEST_COND_ldbl_96_intel): Likewise.
45049         (TEST_COND_ldbl_96_m68k): Likewise.
45050         (TEST_COND_ldbl_128): Likewise.
45051         (TEST_COND_ldbl_128ibm): Likewise.
45052         (TEST_COND_long32): Likewise.
45053         (TEST_COND_long64): Likewise.
45054         (TEST_COND_before_rounding): Likewise.
45055         (TEST_COND_after_rounding): Likewise.
45056         (enable_test): Handle XFAIL_TEST flag.
45057         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45058         with finite results.
45059         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45060         auto-libm-test-out.
45062 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45063             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45065         [BZ #16214]
45066         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45067         __tls_get_addr_internal instead of __tls_get_offset in order to
45068         avoid GOT pointer dependency.  Make rtld export
45069         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45070         __tls_get_addr since we are a __tls_get_offset platform.
45071         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45072         GOT pointer being set up before.
45073         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45075 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
45077         * manual/math.texi (Errors in Math Functions): Document accuracy
45078         goals.
45080         [BZ #15004]
45081         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45082         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45083         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45084         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45085         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45086         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45087         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45088         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45089         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45090         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45091         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45092         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45093         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45094         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45095         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45096         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45098         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45099         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45100         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45101         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45102         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45103         Likewise.
45104         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45105         Likewise.
45106         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45107         Likewise.
45108         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45109         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45110         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45111         atomic-feupdateenv and flt-rounds.
45112         * sysdeps/powerpc/nofpu/Versions (libc): Add
45113         __atomic_feholdexcept, __atomic_feclearexcept,
45114         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45115         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45116         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45117         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45118         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45119         here.
45120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45121         Update.
45123         * manual/arith.texi (FP Exceptions): Document that exceptions may
45124         not be raised when matherr is used.
45125         (Math Error Reporting): Document overflow in directed rounding
45126         modes.  Document that errno may not be set when finite values are
45127         returned on overflow.  Document intent to set errno on underflow
45128         only for underflow to zero.
45130         [BZ #16271]
45131         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45132         round-to-nearest then adjust result for other rounding modes.
45133         * include/fenv.h (fegetround): Use libm_hidden_proto.
45134         * math/fegetround.c (fegetround): Use libm_hidden_def.
45135         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45136         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45137         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45138         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45139         Likewise.
45140         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45141         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45142         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45143         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45145 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45147         [BZ #16077]
45148         * nss/Versions (libnss_files): Add
45149         _nss_files_gethostbyname3_r.
45150         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45151         New function.
45152         (HOST_DB_LOOKUP): Remove macro.
45153         (_nss_files_gethostbyname_r): Implement function without the
45154         HOST_DB_LOOKUP macro.
45155         (_nss_files_gethostbyname2_r): Likewise.
45157 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45159         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45161 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45163         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45164         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45165         warning.
45167 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45169         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45170         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45171         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45172         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45173         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45174         __fe_nomask_env_priv and attribute_hidden.
45175         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45176         (libc_feupdateenv_test_ppc): Likewise.
45177         (libc_feresetround_ppc): Likewise.
45178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45179         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45180         compat_symbol macro.
45181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45182         (__fe_nomask_env): Likewise.
45183         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45185 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45187         * string/Makefile: Remove ifunc tests.
45188         * string/test-string.h: Define TEST_IFUNC.
45189         * string/test-bcopy-ifunc.c: Remove.
45190         * string/test-bzero-ifunc.c: Likewise.
45191         * string/test-memccpy-ifunc.c: Likewise.
45192         * string/test-memchr-ifunc.c: Likewise.
45193         * string/test-memcmp-ifunc.c: Likewise.
45194         * string/test-memcpy-ifunc.c: Likewise.
45195         * string/test-memmem-ifunc.c: Likewise.
45196         * string/test-memmove-ifunc.c: Likewise.
45197         * string/test-mempcpy-ifunc.c: Likewise.
45198         * string/test-memrchr-ifunc.c: Likewise.
45199         * string/test-memset-ifunc.c: Likewise.
45200         * string/test-rawmemchr-ifunc.c: Likewise.
45201         * string/test-stpcpy-ifunc.c: Likewise.
45202         * string/test-stpncpy-ifunc.c: Likewise.
45203         * string/test-strcasecmp-ifunc.c: Likewise.
45204         * string/test-strcasestr-ifunc.c: Likewise.
45205         * string/test-strcat-ifunc.c: Likewise.
45206         * string/test-strchr-ifunc.c: Likewise.
45207         * string/test-strchrnul-ifunc.c: Likewise.
45208         * string/test-strcmp-ifunc.c: Likewise.
45209         * string/test-strcpy-ifunc.c: Likewise.
45210         * string/test-strcspn-ifunc.c: Likewise.
45211         * string/test-strlen-ifunc.c: Likewise.
45212         * string/test-strncasecmp-ifunc.c: Likewise.
45213         * string/test-strncat-ifunc.c: Likewise.
45214         * string/test-strncmp-ifunc.c: Likewise.
45215         * string/test-strncpy-ifunc.c: Likewise.
45216         * string/test-strnlen-ifunc.c: Likewise.
45217         * string/test-strpbrk-ifunc.c: Likewise.
45218         * string/test-strrchr-ifunc.c: Likewise.
45219         * string/test-strspn-ifunc.c: Likewise.
45220         * string/test-strstr-ifunc.c: Likewise.
45222 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45224         * benchtests/Makefile: Remove ifunc tests.
45225         * benchtests/bench-string.h: Define TEST_IFUNC.
45226         * benchtests/bench-bcopy-ifunc.c: Remove.
45227         * benchtests/bench-bzero-ifunc.c: Likewise.
45228         * benchtests/bench-memccpy-ifunc.c: Likewise.
45229         * benchtests/bench-memchr-ifunc.c: Likewise.
45230         * benchtests/bench-memcmp-ifunc.c: Likewise.
45231         * benchtests/bench-memcpy-ifunc.c: Likewise.
45232         * benchtests/bench-memmem-ifunc.c: Likewise.
45233         * benchtests/bench-memmove-ifunc.c: Likewise.
45234         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45235         * benchtests/bench-memrchr-ifunc.c: Likewise.
45236         * benchtests/bench-memset-ifunc.c: Likewise.
45237         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45238         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45239         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45240         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45241         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45242         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45243         * benchtests/bench-strcat-ifunc.c: Likewise.
45244         * benchtests/bench-strchr-ifunc.c: Likewise.
45245         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45246         * benchtests/bench-strcmp-ifunc.c: Likewise.
45247         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45248         * benchtests/bench-strcpy-ifunc.c: Likewise.
45249         * benchtests/bench-strcspn-ifunc.c: Likewise.
45250         * benchtests/bench-strlen-ifunc.c: Likewise.
45251         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45252         * benchtests/bench-strncat-ifunc.c: Likewise.
45253         * benchtests/bench-strncmp-ifunc.c: Likewise.
45254         * benchtests/bench-strncpy-ifunc.c: Likewise.
45255         * benchtests/bench-strnlen-ifunc.c: Likewise.
45256         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45257         * benchtests/bench-strrchr-ifunc.c: Likewise.
45258         * benchtests/bench-strsep-ifunc.c: Likewise.
45259         * benchtests/bench-strspn-ifunc.c: Likewise.
45260         * benchtests/bench-strstr-ifunc.c: Likewise.
45262 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45264         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45266 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45268         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45269         * rt/aio.h: Likewise.
45270         * sysdeps/gnu/bits/utmp.h: Likewise.
45271         * sysdeps/gnu/bits/utmpx.h: Likewise.
45272         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45273         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45274         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45275         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45276         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45277         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45278         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45279         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45280         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45281         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45282         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45283         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45284         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45286         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45287         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45288         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45289         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45290         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45291         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45292         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45293         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45294         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45295         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45296         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45297         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45298         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45299         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45300         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45301         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45302         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45303         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45304         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45305         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45306         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45307         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45308         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45309         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45310         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45311         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45312         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45313         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45315 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45317         [BZ #16245]
45318         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45319         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45321 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45323         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45324         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45325         Likewise.
45327 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45329         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45330         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45331         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45332         (__fesetround): Remove define.
45333         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45334         rounding and exceptions handling.
45335         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45336         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45337         (__fe_nomask_env): Likewise.
45338         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45339         __fegetround instead of fegetround.
45340         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45341         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45343 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45345         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45346         it's there.
45348         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45350 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45352         [BZ #11157]
45353         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45354         (encrypt_r): Likewise.
45355         * malloc/obstack.h (obstack_free): Likewise.
45356         * posix/unistd.h (encrypt): Likewise.
45358 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45360         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45361         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45362         DL_CALL_DT_FINI() that call the functions directly.
45363         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45364         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45365         * elf/dl-fini.c: Likewise.
45367 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45369         * malloc/hooks.c (memalign_check): Add alignment rounding.
45370         * malloc/malloc.c (_mid_memalign): New function.
45371         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45372         Implement by calling _mid_memalign.
45373         * manual/probes.texi (Memory Allocation Probes): Remove
45374         memory_valloc_retry and memory_pvalloc_retry.
45376 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45378         * locale/programs/locarchive.c (open_archive): Add const
45379         qualifier to ARCHIVEFNAME and copy default fname to
45380         DEFAULT_FNAME.
45382         [BZ #15601]
45383         * libio/tst-widetext.input: Rename Oriya to Odia.
45384         * locale/iso-639.def: Likewise.
45386         * manual/probes.texi (Mathematical Function Probes): Add
45387         documentation for sin, cos, asin and acos probes.
45388         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45389         (__sin32): Add slowasin probe.
45390         (__cos32): Add slowacos probe.
45391         (__mpsin): Add slowsin probe.
45392         (__mpcos): Add slowcos probe.
45394 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45396         [BZ #15483]
45397         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45398         thread-local __sim_exceptions_thread and global
45399         __sim_exceptions_global.
45400         (__sim_disabled_exceptions): Change to thread-local
45401         __sim_disabled_exceptions_thread and global
45402         __sim_disabled_exceptions_global.
45403         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45404         and global __sim_round_mode_global.
45405         (__simulate_exceptions): Use thread-local floating-point state and
45406         set global state from it as needed.
45407         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45408         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45409         __sim_round_mode_thread.
45410         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45411         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45412         and global __sim_exceptions_global.
45413         (__sim_disabled_exceptions): Change to thread-local
45414         __sim_disabled_exceptions_thread and global
45415         __sim_disabled_exceptions_global.
45416         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45417         and global __sim_round_mode_global.
45418         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45419         (SIM_SET_GLOBAL): Likewise.
45420         * sysdeps/powerpc/soft-fp/sfp-machine.h
45421         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45422         __sim_round_mode_thread.
45423         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45424         __sim_disabled_exceptions_thread.
45425         (__sim_exceptions): Change to __sim_exceptions_thread.
45426         (__sim_disabled_exceptions): Change to
45427         __sim_disabled_exceptions_thread.
45428         (__sim_round_mode): Change to __sim_round_mode_thread.
45429         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45430         thread-local floating-point state and set global state from it as
45431         needed.
45432         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45433         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45434         (__sim_disabled_exceptions): Remove extern declaration.
45435         (feenableexcept): Use thread-local floating-point state and set
45436         global state from it as needed.
45437         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45438         extern declaration.
45439         (__sim_disabled_exceptions): Likewise.
45440         (__sim_round_mode): Likewise.
45441         (__fegetenv): Use thread-local floating-point state.
45442         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45443         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45444         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45445         floating-point state and set global state from it as needed.
45446         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45447         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45448         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45449         Likewise.
45450         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45451         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45452         Likewise.
45453         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45454         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45455         Use __sim_round_mode_thread.
45456         * math/test-fenv-tls.c: New file.
45457         * math/Makefile (tests): Add test-fenv-tls.
45458         ($(objpfx)test-fenv-tls): Depend on
45459         $(common-objpfx)nptl/libpthread.so.
45461 2013-11-19  Andreas Schwab  <schwab@suse.de>
45463         * locale/programs/locale.c (show_info): Decode wordarray elements.
45464         * locale/categories.def (LC_MONETARY): Add element for
45465         _NL_MONETARY_CRNCYSTR.
45466         * locale/C-monetary.c (conversion_rate): New variable.
45467         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45468         element.
45470 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45472         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45473         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45475 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45477         * elf/Makefile (tst-auxv): New test.
45478         * elf/tst-auxv.c: New
45479         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45481 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45483         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45484         (hidden_proto): Caller changed.
45485         (hidden_tls_proto): New macro.
45486         (libc_hidden_tls_proto): Likewise.
45487         (rtld_hidden_tls_proto): Likewise.
45488         (libm_hidden_tls_proto): Likewise.
45489         (libresolv_hidden_tls_proto): Likewise.
45490         (librt_hidden_tls_proto): Likewise.
45491         (libdl_hidden_tls_proto): Likewise.
45492         (libnss_files_hidden_tls_proto): Likewise.
45493         (libnsl_hidden_tls_proto): Likewise.
45494         (libnss_nisplus_hidden_tls_proto): Likewise.
45495         (libutil_hidden_tls_proto): Likewise.
45497 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45499         [BZ #10253]
45500         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45501         (decompose_rpath): Defer expansion to fillin_rpath.
45502         (_dl_init_paths): Pass linkmap to fillin_rpath.
45504 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45506         * benchtests/Makefile: Add strsep.
45507         * benchtests/bench-strsep.c: New file: strsep benchtest.
45508         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45510 2013-11-18  Andreas Schwab  <schwab@suse.de>
45512         * locale/programs/locale.c (show_info) [case byte]: Check for
45513         '\377' instead of '\177'.
45514         * locale/C-monetary.c (not_available): Always use "\377".
45515         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45516         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45517         detect unavailable sign_posn locale elements.
45518         * locale/localeconv.c (__localeconv): For grouping and
45519         mon_grouping handle "\177" and "\377" like no grouping.
45520         (INT_ELEM): New macro.  Use it to set all numeric members.
45521         * locale/programs/ld-monetary.c (monetary_read)
45522         <tok_mon_grouping>: Normalize single -1 to the empty string.
45523         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45524         Likewise.
45526 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45528         [BZ #16055]
45529         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45530         when we match (nil).
45531         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45533 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45535         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45536         (NO_TEST_INLINE): Update value.
45537         (ERRNO_UNCHANGED): Likewise.
45538         (ERRNO_EDOM): Likewise.
45539         (ERRNO_ERANGE): Likewise.
45540         (IGNORE_RESULT): Likewise.
45541         (check_float_internal): Check signs of NaN results if
45542         TEST_NAN_SIGN used.
45543         (check_complex): Pass TEST_NAN_SIGN flag through to second
45544         check_float_internal call.
45545         (copysign_test_data): Add tests with quiet NaNs as second
45546         argument.  Use TEST_NAN_SIGN.
45547         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45548         TEST_NAN_SIGN.
45549         (signbit_test_data): Add tests of quiet NaN argument.
45550         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45552         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45553         $ignore_result.
45554         (parse_args): Handle function results specified as IGNORE.
45555         * math/libm-test.inc (IGNORE_RESULT): New macro.
45556         (check_float_internal): Do not check numerical result if flag
45557         IGNORE_RESULT set.
45558         (check_complex): Pass through IGNORE_RESULT to second
45559         check_float_internal call.
45560         (check_int): Do not check numerical result if flag IGNORE_RESULT
45561         set.
45562         (check_long): Likewise.
45563         (check_bool): Likewise.
45564         (check_longlong): Likewise.
45565         (lrint_test_data): Add tests of infinite and NaN arguments.
45566         (lrint_tonearest_test_data): Likewise.
45567         (lrint_towardzero_test_data): Likewise.
45568         (lrint_downward_test_data): Likewise.
45569         (lrint_upward_test_data): Likewise.
45570         (llrint_test_data): Likewise.
45571         (llrint_tonearest_test_data): Likewise.
45572         (llrint_towardzero_test_data): Likewise.
45573         (llrint_downward_test_data): Likewise.
45574         (llrint_upward_test_data): Likewise.
45575         (lround_test_data): Likewise.
45576         (llround_test_data): Likewise.
45578         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45579         (ERRNO_UNCHANGED): Update value.
45580         (ERRNO_EDOM): Likewise.
45581         (ERRNO_ERANGE): Likewise.
45582         (NO_TEST_INLINE_FLOAT): New macro.
45583         (NO_TEST_INLINE_DOUBLE): Likewise.
45584         (enable_test): New function.
45585         (RUN_TEST_f_f): Check enable_test before running test.
45586         (RUN_TEST_2_f): Likewise.
45587         (RUN_TEST_fff_f): Likewise.
45588         (RUN_TEST_c_f): Likewise.
45589         (RUN_TEST_f_f1): Likewise.
45590         (RUN_TEST_fF_f1): Likewise.
45591         (RUN_TEST_fI_f1): Likewise.
45592         (RUN_TEST_ffI_f1): Likewise.
45593         (RUN_TEST_c_c): Likewise.
45594         (RUN_TEST_cc_c): Likewise.
45595         (RUN_TEST_f_i): Likewise.
45596         (RUN_TEST_f_i_tg): Likewise.
45597         (RUN_TEST_ff_i_tg): Likewise.
45598         (RUN_TEST_f_b): Likewise.
45599         (RUN_TEST_f_b_tg): Likewise.
45600         (RUN_TEST_f_l): Likewise.
45601         (RUN_TEST_f_L): Likewise.
45602         (RUN_TEST_fFF_11): Likewise.
45603         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45604         conditionals.
45605         (cosh_test_data): Likewise.
45606         (exp_test_data): Likewise.
45607         (expm1_test_data): Likewise.
45608         (hypot_test_data): Likewise.
45609         (pow_test_data): Likewise.
45610         (sinh_test_data): Likewise.
45611         (tanh_test_data): Likewise.
45612         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45613         flags argument.
45615         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45616         tests with quiet NaN input and output.
45617         (acosh_test_data): Likewise.
45618         (asin_test_data): Likewise.
45619         (asinh_test_data): Likewise.
45620         (atan_test_data): Likewise.
45621         (atanh_test_data): Likewise.
45622         (atan2_test_data): Likewise.
45623         (cbrt_test_data): Likewise.
45624         (cos_test_data): Likewise.
45625         (cosh_test_data): Likewise.
45626         (erf_test_data): Likewise.
45627         (erfc_test_data): Likewise.
45628         (exp_test_data): Likewise.
45629         (exp10_test_data): Likewise.
45630         (exp2_test_data): Likewise.
45631         (expm1_test_data): Likewise.
45632         (hypot_test_data): Likewise.
45633         (j0_test_data): Likewise.
45634         (j1_test_data): Likewise.
45635         (jn_test_data): Likewise.
45636         (lgamma_test_data): Likewise.
45637         (log_test_data): Likewise.
45638         (log10_test_data): Likewise.
45639         (log1p_test_data): Likewise.
45640         (log2_test_data): Likewise.
45641         (pow_test_data): Likewise.
45642         (scalb_test_data): Likewise.
45643         (sin_test_data): Likewise.
45644         (sincos_test_data): Likewise.
45645         (sinh_test_data): Likewise.
45646         (tan_test_data): Likewise.
45647         (tanh_test_data): Likewise.
45648         (tgamma_test_data): Likewise.
45649         (y0_test_data): Likewise.
45650         (y1_test_data): Likewise.
45651         (yn_test_data): Likewise.
45653         [BZ #16167]
45654         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45655         argument being NaN and avoid computations with second argument in
45656         that case.
45657         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45658         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45659         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45661 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45663         * locale/iso-639.def: Add Chitwani Tharu (the).
45665 2013-11-14  Andreas Schwab  <schwab@suse.de>
45667         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45668         word instead of empty string.
45670 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45673         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45675         (__fe_nomask_env): Likewise.
45677 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45679         * benchtests/bench-timing.h: Include time.h.
45681 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45683         [BZ #15997]
45684         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45685         to 3.4.0 for x32.
45686         * sysdeps/unix/sysv/linux/configure: Regenerated.
45688 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45690         [BZ #16151]
45691         * stdlib/strtod_l.c (round_and_return): Do not consider
45692         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45693         exponent one less than half the least subnormal exponent.
45694         * stdlib/test-strtod-round-data: Add more tests.
45695         * stdlib/tst-strtod-round.c (tests): Regenerated.
45697 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45699         [BZ #14143]
45700         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45701         (__fe_mask_env): Likewise.
45702         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45703         libm_hidden_proto and add function prototype.
45704         (__fe_mask_env): Add function prototype.
45705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45706         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45708         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45710         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45712 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45714         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45715         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45717 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45719         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45720         of htab_find_slot().
45722 2013-11-11  David S. Miller  <davem@davemloft.net>
45724         [BZ #16150]
45725         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45726         symbol in the non-vis3 case in static builds.
45727         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45728         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45729         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45730         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45732 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45734         [BZ #387]
45735         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45736         it is empty.
45738 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45740         * benchtests/Makefile: Add bench-strtod.
45741         * benchtests/bench-strtod.c: New file: strtod benchtest
45743 2013-11-11  Andreas Schwab  <schwab@suse.de>
45745         [BZ #16153]
45746         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45747         terminating NUL in key length.
45749 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45751         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45752         Add artificial ODP entry for vDSO symbol for PPC64.
45753         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45754         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45756 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45758         [BZ #15374]
45759         * nss/getent.c (services_keys): Recognize services starting with digit.
45761 2013-11-06  David S. Miller  <davem@davemloft.net>
45763         [BZ #15985]
45764         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45765         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45767 2013-11-06  Will Newton  <will.newton@linaro.org>
45769         * manual/memory.texi (Malloc Examples): Remove register
45770         keyword from examples.
45772 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45774         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45776 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45778         [BZ #6981]
45779         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45780         depending on [__GCC_IEC_559 > 0].
45781         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45782         depending on [__GCC_IEC_559_COMPLEX > 0].
45784 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45786         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45787         to iso-639.def.
45789 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45791         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45793 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45795         [BZ #16112]
45796         * malloc/malloc (malloc_info): Do not handle first bin as
45797         special case.
45799 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45801         * locale/iso-639.def: Add Central Nahuatl (nhn).
45803 2013-11-01  Bruno Haible  <bruno@clisp.org>
45805         [BZ #7003]
45806         * manual/math.texi (BSD Random): Specify range upper bound as
45807         in POSIX.
45809 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45811         * locale/iso-639.def: Add Meadow Mari (mhr).
45813 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45815         [BZ #14752], [BZ #15763]
45816         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45817         Validate name.
45818         * rt/tst_shm.c: Add test for escaping directory.
45820 2013-10-31  Andreas Schwab  <schwab@suse.de>
45822         [BZ #15917]
45823         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45824         followed by 'x' as part of digit sequence.
45825         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45827 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45829         [BZ #16037]
45830         * configure.ac: allow GNU Make 4.0 and greater.
45831         * configure: Regenerated.
45833 2013-10-30  Will Newton  <will.newton@linaro.org>
45835         [BZ #16038]
45836         * malloc/hooks.c (memalign_check): Limit alignment to the
45837         maximum representable power of two.
45838         * malloc/malloc.c (__libc_memalign): Likewise.
45839         * malloc/tst-memalign.c (do_test): Add test for very
45840         large alignment values.
45841         * malloc/tst-posix_memalign.c (do_test): Likewise.
45843 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45845         [BZ #11087]
45846         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45847         (munmap_chunk): Likewise.
45848         (mremap_chunk): Likewise.
45850 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45852         [BZ #15799]
45853         * stdlib/div.c (div): Remove obsolete code.
45854         * stdlib/ldiv.c (ldiv): Likewise.
45855         * stdlib/lldiv.c (lldiv): Likewise.
45857 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45859         [BZ #16071]
45860         * nss/nss_files/files-XXX.c (get_contents_ret): New
45861         enumerator.
45862         (get_contents): New function.
45863         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45865 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45867         * configure.in: Moved to ...
45868         * configure.ac: ... here. Change reference to configure.in
45869         to configure.ac.
45870         * sysdeps/arm/preconfigure.ac: ... here.
45871         configure.in to configure.ac.
45872         * sysdeps/gnu/configure.in: Moved to ...
45873         * sysdeps/gnu/configure.ac: ... here.
45874         * sysdeps/i386/configure.in: Moved to ...
45875         * sysdeps/i386/configure.ac: ... here.
45876         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45877         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45878         * sysdeps/mach/configure.in: Moved to ...
45879         * sysdeps/mach/configure.ac: ... here.
45880         * sysdeps/mach/hurd/configure.in: Moved to ...
45881         * sysdeps/mach/hurd/configure.ac: ... here.
45882         * sysdeps/powerpc/configure.in: Moved to ...
45883         * sysdeps/powerpc/configure.ac: ... here.
45884         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45885         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45886         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45887         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45888         * sysdeps/s390/s390-32/configure.in: Moved to ...
45889         * sysdeps/s390/s390-32/configure.ac: ... here.
45890         * sysdeps/s390/s390-64/configure.in: Moved to ...
45891         * sysdeps/s390/s390-64/configure.ac: ... here.
45892         * sysdeps/sh/configure.in: Moved to ...
45893         * sysdeps/sh/configure.ac: ... here.
45894         * sysdeps/sparc/configure.in: Moved to ...
45895         * sysdeps/sparc/configure.ac: ... here.
45896         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45897         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45898         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45899         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45900         * sysdeps/x86_64/configure.in: Moved to ...
45901         * sysdeps/x86_64/configure.ac: ... here.
45902         * sysdeps/x86_64/preconfigure.in: Moved to ...
45903         * sysdeps/x86_64/preconfigure.ac: ... here.
45904         * aclocal.m4: Change reference to configure.in to configure.ac.
45905         * config.h.in: Likewise.
45906         * manual/install.texi: Likewise.
45907         * manual/maint.texi: Likewise.
45908         * Makefile: Likewise.
45909         * malloc/Makefile: Likewise.
45910         * nscd/Makefile: Likewise.
45911         * Makeconfig: Change reference to configure.in and
45912         preconfigure.in to configure.ac and preconfigure.ac
45913         respectively.
45914         * INSTALL: Regenerated.
45915         * configure: Likewise.
45916         * sysdeps/gnu/configure: Likewise.
45917         * sysdeps/i386/configure: Likewise.
45918         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45919         * sysdeps/mach/configure: Likewise.
45920         * sysdeps/mach/hurd/configure: Likewise.
45921         * sysdeps/powerpc/configure: Likewise.
45922         * sysdeps/powerpc/powerpc32/configure: Likewise.
45923         * sysdeps/powerpc/powerpc64/configure: Likewise.
45924         * sysdeps/s390/s390-32/configure: Likewise.
45925         * sysdeps/s390/s390-64/configure: Likewise.
45926         * sysdeps/sh/configure: Likewise.
45927         * sysdeps/sparc/configure: Likewise.
45928         * sysdeps/unix/sysv/linux/configure: Likewise.
45929         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45930         * sysdeps/x86_64/configure: Likewise.
45931         * sysdeps/x86_64/preconfigure: Likewise.
45933 2013-10-29  Andreas Schwab  <schwab@suse.de>
45935         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45937 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45939         * benchtests/pow-inputs: Add new inputs.
45941         * benchtests/exp-inputs: Add new inputs.
45943         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45944         conditional check for return value.
45945         (__cos32): Likewise.
45947 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45949         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45950         to provide a boost for large inputs with word alignment.
45951         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45952         implementation based on optimized PPC64 strcpy.
45953         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45954         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45955         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45956         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45958 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45960         [BZ #2801]
45961         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45963 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45965         [BZ #14876]
45966         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45967         * time/tst-strptime.c (day_tests): Add testcase.
45969 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45971         [BZ #14029]
45972         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45974 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45976         [BZ #16074]
45977         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45978         MAP_FAILED on error.
45980 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45982         [BZ #16072]
45983         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45984         heap for large requests.
45986 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45988         [BZ #9954]
45989         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45990         result if the result has no associated interface.
45991         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45992         interface for all 127.X.Y.Z addresses.
45994 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45996         * locale/iso-639.def: Add Ligurian (lij)
45998 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
46000         [BZ #15825]
46001         * sunrpc/rpc_main.c: Document rpcgen -5.
46003 2013-10-19  Michael Stahl  <mstahl@redhat.com>
46005         * elf/rtld.c (do_preload): Print the reason why preloading failed.
46007 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46009         [BZ #10278]
46010         * posix/glob.c: Match only directories when trailing slash is present.
46011         * posix/tst-gnuglob.c (my_opendir): Do not open files.
46012         (main): Add testcase.
46014 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46016         [BZ #15670]
46017         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46019 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
46021         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46022         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46023         AUTH_DES and cindex for FIPS 140-2.
46024         (DES Encryption): Add cindex FIPS 46-3.
46026         * locale/locarchive.h (struct locarhandle): Add fname.
46027         * locale/programs/localedef.c (main): Pass ARGV[remaining]
46028         if an optional argument was specified to --list-archive,
46029         otherwise NULL.
46030         * locale/programs/locarchive.c (show_archive_content): Take new
46031         argument fname and pass it via ah.fname to open_archive.
46032         * locale/programs/localedef.h: Update decl.
46033         (open_archive): If AH->fname is non-null, open that file
46034         rather than the default file name, and don't ignore ENOENT.
46035         (create_archive): Set AH.fname to NULL.
46036         (delete_locales_from_archive): Likewise.
46037         (add_locales_to_archive): Likewise.
46038         * locale/programs/locfile.c (write_all_categories): Likewise.
46040 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
46041             Aldy Hernandez  <aldyh@redhat.com>
46043         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46044         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46045         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46046         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46047         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46048         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46049         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46050         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46051         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46052         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46053         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46054         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46055         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46056         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46057         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46058         Likewise.
46059         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46060         Likewise.
46061         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46062         Likewise.
46063         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46064         Likewise.
46065         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46066         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46067         Likewise.
46068         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46069         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46070         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46071         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46072         Likewise.
46073         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46074         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46075         * sysdeps/powerpc/preconfigure: Likewise.
46076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46077         Likewise.
46078         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46079         Replace contents of file by #include of <fenv_libc.h>.
46080         * sysdeps/powerpc/soft-fp/sfp-machine.h
46081         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46082         and <sys/prctl.h>.
46083         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46084         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46085         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46086         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46087         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46088         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46089         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46090         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46091         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46092         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46093         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46094         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46096         Allow copysignl PLT reference to be missing.
46098 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
46099             Joseph Myers  <joseph@codesourcery.com
46101         [BZ #15948]
46102         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46103         single character.
46104         (add_to_tablewc): Assert sequence of wide characters is nonempty.
46106 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46108         * elf/tst-tls-dlinfo.c: Don't include tls.h.
46109         * elf/tst-tls1.c: Likewise.
46110         * elf/tst-tls10.h: Likewise.
46111         * elf/tst-tls14.c: Likewise.
46112         * elf/tst-tls2.c: Likewise.
46113         * elf/tst-tls3.c: Likewise.
46114         * elf/tst-tls4.c: Likewise.
46115         * elf/tst-tls5.c: Likewise.
46116         * elf/tst-tls6.c: Likewise.
46117         * elf/tst-tls7.c: Likewise.
46118         * elf/tst-tls8.c: Likewise.
46119         * elf/tst-tls9.c: Likewise.
46120         * elf/tst-tlsmod1.c: Likewise.
46121         * elf/tst-tlsmod13.c: Likewise.
46122         * elf/tst-tlsmod13a.c: Likewise.
46123         * elf/tst-tlsmod14a.c: Likewise.
46124         * elf/tst-tlsmod16a.c: Likewise.
46125         * elf/tst-tlsmod16b.c: Likewise.
46126         * elf/tst-tlsmod2.c: Likewise.
46127         * elf/tst-tlsmod3.c: Likewise.
46128         * elf/tst-tlsmod4.c: Likewise.
46129         * elf/tst-tlsmod5.c: Likewise.
46130         * elf/tst-tlsmod6.c: Likewise.
46132 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
46134         [BZ #12486]
46135         * malloc/malloc.c: remove checks for statistics.
46137 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46139         [BZ #15277]
46140         * inet/inet_net.c (inet_network): Detect additional invalid strings.
46141         * inet/tst-network.c: Add testcase.
46143 2013-10-17  Andreas Schwab  <schwab@suse.de>
46145         [BZ #15218]
46146         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46147         to determine canonical name.
46149 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46151         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46152         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46153         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46154         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46155         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46156         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46157         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46158         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46159         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46160         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46161         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46162         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46163         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46164         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46165         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46166         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46167         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46168         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46169         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46170         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46171         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46172         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46173         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46174         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46175         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46176         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46177         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46178         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46179         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46180         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46181         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46182         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46183         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46184         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46185         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46186         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46187         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46188         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46189         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46190         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46191         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46192         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46193         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46194         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46195         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46196         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46197         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46198         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46199         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46200         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46201         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46202         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46203         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46204         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46205         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46206         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46207         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46208         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46210 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46212         [BZ #16041]
46213         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46214         make result into a quiet NaN.
46216 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46218         * soft-fp/adddf3.c: Fix horizontal whitespace.
46219         * soft-fp/addsf3.c: Likewise.
46220         * soft-fp/addtf3.c: Likewise.
46221         * soft-fp/divdf3.c: Likewise.
46222         * soft-fp/divsf3.c: Likewise.
46223         * soft-fp/divtf3.c: Likewise.
46224         * soft-fp/double.h: Likewise.
46225         * soft-fp/eqdf2.c: Likewise.
46226         * soft-fp/eqsf2.c: Likewise.
46227         * soft-fp/eqtf2.c: Likewise.
46228         * soft-fp/extenddftf2.c: Likewise.
46229         * soft-fp/extended.h: Likewise.
46230         * soft-fp/extendsfdf2.c: Likewise.
46231         * soft-fp/extendsftf2.c: Likewise.
46232         * soft-fp/extendxftf2.c: Likewise.
46233         * soft-fp/fixdfdi.c: Likewise.
46234         * soft-fp/fixdfsi.c: Likewise.
46235         * soft-fp/fixdfti.c: Likewise.
46236         * soft-fp/fixsfdi.c: Likewise.
46237         * soft-fp/fixsfsi.c: Likewise.
46238         * soft-fp/fixsfti.c: Likewise.
46239         * soft-fp/fixtfdi.c: Likewise.
46240         * soft-fp/fixtfsi.c: Likewise.
46241         * soft-fp/fixtfti.c: Likewise.
46242         * soft-fp/fixunsdfdi.c: Likewise.
46243         * soft-fp/fixunsdfsi.c: Likewise.
46244         * soft-fp/fixunsdfti.c: Likewise.
46245         * soft-fp/fixunssfdi.c: Likewise.
46246         * soft-fp/fixunssfsi.c: Likewise.
46247         * soft-fp/fixunssfti.c: Likewise.
46248         * soft-fp/fixunstfdi.c: Likewise.
46249         * soft-fp/fixunstfsi.c: Likewise.
46250         * soft-fp/fixunstfti.c: Likewise.
46251         * soft-fp/floatdidf.c: Likewise.
46252         * soft-fp/floatdisf.c: Likewise.
46253         * soft-fp/floatditf.c: Likewise.
46254         * soft-fp/floatsidf.c: Likewise.
46255         * soft-fp/floatsisf.c: Likewise.
46256         * soft-fp/floatsitf.c: Likewise.
46257         * soft-fp/floattidf.c: Likewise.
46258         * soft-fp/floattisf.c: Likewise.
46259         * soft-fp/floattitf.c: Likewise.
46260         * soft-fp/floatundidf.c: Likewise.
46261         * soft-fp/floatundisf.c: Likewise.
46262         * soft-fp/floatunditf.c: Likewise.
46263         * soft-fp/floatunsidf.c: Likewise.
46264         * soft-fp/floatunsisf.c: Likewise.
46265         * soft-fp/floatunsitf.c: Likewise.
46266         * soft-fp/floatuntidf.c: Likewise.
46267         * soft-fp/floatuntisf.c: Likewise.
46268         * soft-fp/floatuntitf.c: Likewise.
46269         * soft-fp/fmadf4.c: Likewise.
46270         * soft-fp/fmasf4.c: Likewise.
46271         * soft-fp/fmatf4.c: Likewise.
46272         * soft-fp/gedf2.c: Likewise.
46273         * soft-fp/gesf2.c: Likewise.
46274         * soft-fp/getf2.c: Likewise.
46275         * soft-fp/ledf2.c: Likewise.
46276         * soft-fp/lesf2.c: Likewise.
46277         * soft-fp/letf2.c: Likewise.
46278         * soft-fp/muldf3.c: Likewise.
46279         * soft-fp/mulsf3.c: Likewise.
46280         * soft-fp/multf3.c: Likewise.
46281         * soft-fp/negdf2.c: Likewise.
46282         * soft-fp/negsf2.c: Likewise.
46283         * soft-fp/negtf2.c: Likewise.
46284         * soft-fp/op-1.h: Likewise.
46285         * soft-fp/op-2.h: Likewise.
46286         * soft-fp/op-4.h: Likewise.
46287         * soft-fp/op-8.h: Likewise.
46288         * soft-fp/op-common.h: Likewise.
46289         * soft-fp/quad.h: Likewise.
46290         * soft-fp/single.h: Likewise.
46291         * soft-fp/soft-fp.h: Likewise.
46292         * soft-fp/sqrtdf2.c: Likewise.
46293         * soft-fp/sqrtsf2.c: Likewise.
46294         * soft-fp/sqrttf2.c: Likewise.
46295         * soft-fp/subdf3.c: Likewise.
46296         * soft-fp/subsf3.c: Likewise.
46297         * soft-fp/subtf3.c: Likewise.
46298         * soft-fp/truncdfsf2.c: Likewise.
46299         * soft-fp/trunctfdf2.c: Likewise.
46300         * soft-fp/trunctfsf2.c: Likewise.
46301         * soft-fp/trunctfxf2.c: Likewise.
46302         * soft-fp/unorddf2.c: Likewise.
46303         * soft-fp/unordsf2.c: Likewise.
46304         * soft-fp/unordtf2.c: Likewise.
46306 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46308         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46309         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46311 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46313         * elf/dl-libc.c: Clear initfini list after freeing.
46315 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46317         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46318         * soft-fp/addsf3.c: Likewise.
46319         * soft-fp/addtf3.c: Likewise.
46320         * soft-fp/divdf3.c: Likewise.
46321         * soft-fp/divsf3.c: Likewise.
46322         * soft-fp/divtf3.c: Likewise.
46323         * soft-fp/double.h: Likewise.
46324         * soft-fp/eqdf2.c: Likewise.
46325         * soft-fp/eqsf2.c: Likewise.
46326         * soft-fp/eqtf2.c: Likewise.
46327         * soft-fp/extenddftf2.c: Likewise.
46328         * soft-fp/extended.h: Likewise.
46329         * soft-fp/extendsfdf2.c: Likewise.
46330         * soft-fp/extendsftf2.c: Likewise.
46331         * soft-fp/extendxftf2.c: Likewise.
46332         * soft-fp/fixdfdi.c: Likewise.
46333         * soft-fp/fixdfsi.c: Likewise.
46334         * soft-fp/fixdfti.c: Likewise.
46335         * soft-fp/fixsfdi.c: Likewise.
46336         * soft-fp/fixsfsi.c: Likewise.
46337         * soft-fp/fixsfti.c: Likewise.
46338         * soft-fp/fixtfdi.c: Likewise.
46339         * soft-fp/fixtfsi.c: Likewise.
46340         * soft-fp/fixtfti.c: Likewise.
46341         * soft-fp/fixunsdfdi.c: Likewise.
46342         * soft-fp/fixunsdfsi.c: Likewise.
46343         * soft-fp/fixunsdfti.c: Likewise.
46344         * soft-fp/fixunssfdi.c: Likewise.
46345         * soft-fp/fixunssfsi.c: Likewise.
46346         * soft-fp/fixunssfti.c: Likewise.
46347         * soft-fp/fixunstfdi.c: Likewise.
46348         * soft-fp/fixunstfsi.c: Likewise.
46349         * soft-fp/fixunstfti.c: Likewise.
46350         * soft-fp/floatdidf.c: Likewise.
46351         * soft-fp/floatdisf.c: Likewise.
46352         * soft-fp/floatditf.c: Likewise.
46353         * soft-fp/floatsidf.c: Likewise.
46354         * soft-fp/floatsisf.c: Likewise.
46355         * soft-fp/floatsitf.c: Likewise.
46356         * soft-fp/floattidf.c: Likewise.
46357         * soft-fp/floattisf.c: Likewise.
46358         * soft-fp/floattitf.c: Likewise.
46359         * soft-fp/floatundidf.c: Likewise.
46360         * soft-fp/floatundisf.c: Likewise.
46361         * soft-fp/floatunsidf.c: Likewise.
46362         * soft-fp/floatunsisf.c: Likewise.
46363         * soft-fp/floatuntidf.c: Likewise.
46364         * soft-fp/floatuntisf.c: Likewise.
46365         * soft-fp/floatuntitf.c: Likewise.
46366         * soft-fp/fmadf4.c: Likewise.
46367         * soft-fp/fmasf4.c: Likewise.
46368         * soft-fp/fmatf4.c: Likewise.
46369         * soft-fp/gedf2.c: Likewise.
46370         * soft-fp/gesf2.c: Likewise.
46371         * soft-fp/getf2.c: Likewise.
46372         * soft-fp/ledf2.c: Likewise.
46373         * soft-fp/lesf2.c: Likewise.
46374         * soft-fp/letf2.c: Likewise.
46375         * soft-fp/muldf3.c: Likewise.
46376         * soft-fp/mulsf3.c: Likewise.
46377         * soft-fp/multf3.c: Likewise.
46378         * soft-fp/negdf2.c: Likewise.
46379         * soft-fp/negsf2.c: Likewise.
46380         * soft-fp/negtf2.c: Likewise.
46381         * soft-fp/op-1.h: Likewise.
46382         * soft-fp/op-2.h: Likewise.
46383         * soft-fp/op-4.h: Likewise.
46384         * soft-fp/op-8.h: Likewise.
46385         * soft-fp/op-common.h: Likewise.
46386         * soft-fp/quad.h: Likewise.
46387         * soft-fp/single.h: Likewise.
46388         * soft-fp/soft-fp.h: Likewise.
46389         * soft-fp/sqrtdf2.c: Likewise.
46390         * soft-fp/sqrtsf2.c: Likewise.
46391         * soft-fp/sqrttf2.c: Likewise.
46392         * soft-fp/subdf3.c: Likewise.
46393         * soft-fp/subsf3.c: Likewise.
46394         * soft-fp/subtf3.c: Likewise.
46395         * soft-fp/truncdfsf2.c: Likewise.
46396         * soft-fp/trunctfdf2.c: Likewise.
46397         * soft-fp/trunctfsf2.c: Likewise.
46398         * soft-fp/trunctfxf2.c: Likewise.
46399         * soft-fp/unorddf2.c: Likewise.
46400         * soft-fp/unordsf2.c: Likewise.
46401         * soft-fp/unordtf2.c: Likewise.
46403 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46405         [BZ #15672]
46406         * misc/error.c (error_tail): Fix possible buffer overflow.
46408 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46410         [BZ #13028]
46411         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46412         address.
46414 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46416         [BZ #832]
46417         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46418         testing pipefail option.
46420 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46422         * soft-fp/double.h: Indent preprocessor directives inside #if.
46423         * soft-fp/extended.h: Likewise.
46424         * soft-fp/op-2.h: Likewise.
46425         * soft-fp/op-4.h: Likewise.
46426         * soft-fp/op-common.h: Likewise.
46427         * soft-fp/quad.h: Likewise.
46428         * soft-fp/single.h: Likewise.
46429         * soft-fp/soft-fp.h: Likewise.
46431 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46433         * iconv/iconv_prog.c: Fix typos.
46434         * stdio-common/psiginfo-data.h: Likewise.
46436 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46438         [BZ #15764]
46439         * locale/setlocale.c: Fix typo.
46441 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46443         [BZ #16036]
46444         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46445         signaling NaN arguments.
46446         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46447         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46449         [BZ #14910]
46450         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46451         unordered operands.
46452         * soft-fp/gesf2.c (__gesf2): Likewise.
46453         * soft-fp/getf2.c (__getf2): Likewise.
46454         * soft-fp/ledf2.c (__ledf2): Likewise.
46455         * soft-fp/lesf2.c (__lesf2): Likewise.
46456         * soft-fp/letf2.c (__letf2): Likewise.
46458         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46459         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46460         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46461         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46462         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46463         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46464         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46465         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46466         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46467         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46468         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46469         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46470         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46471         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46472         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46473         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46474         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46475         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46476         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46477         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46478         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46479         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46480         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46481         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46482         * soft-fp/floattidf.c (__floattidf): Likewise.
46483         * soft-fp/floattisf.c (__floattisf): Likewise.
46484         * soft-fp/floattitf.c (__floattitf): Likewise.
46485         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46486         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46487         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46488         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46489         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46490         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46491         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46492         * soft-fp/gesf2.c (__gesf2): Likewise.
46493         * soft-fp/getf2.c (__getf2): Likewise.
46494         * soft-fp/ledf2.c (__ledf2): Likewise.
46495         * soft-fp/lesf2.c (__lesf2): Likewise.
46496         * soft-fp/letf2.c (__letf2): Likewise.
46498         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46499         Undefine and redefine.
46500         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46501         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46502         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46503         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46504         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46505         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46506         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46507         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46508         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46509         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46510         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46511         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46512         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46513         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46514         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46516         [BZ #16032]
46517         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46518         without decrementing exponent if mantissa >= that for the
46519         denominator, not >.
46520         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46521         denominator, not >.  Decrement exponent in < case instead of
46522         incrementing in >= case.
46523         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46524         without decrementing exponent if mantissa >= that for the
46525         denominator, not >.
46527         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46528         computing saturated result for unsigned overflow.
46530 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46531             Jeff Law  <law@redhat.com>
46533         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46534         (atan2Mp): Add systemtap probe marker.
46535         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46536         (__ieee754_log): Add systemtap probe marker.
46537         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46538         (atanMp): Add systemtap probe marker.
46539         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46540         (tanMp): Add systemtap probe marker.
46541         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46542         (__slowexp): Add systemtap probe marker.
46543         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46544         (__slowpow): Add systemtap probe marker.
46545         * manual/probes.texi: Document probes.
46547 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46549         [BZ #15362]
46550         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46551         written.
46552         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46553         written.
46554         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46555         written to buffer but not flushed.
46556         * libio/iofwrite_u.c:  Likewise.
46557         * libio/iopadn.c:  Return bytes returned even if EOF was
46558         encountered.
46559         * libio/iowpadn.c:  Likewise.
46560         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46561         if _IO_padn does not write the whole buffer.
46562         [!COMPILE_WPRINTF] (PAD): Likewise.
46564 2013-10-10  David S. Miller  <davem@davemloft.net>
46566         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46567         directory block.
46569 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46571         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46572         instead of FSF address.
46573         * soft-fp/fixdfti.c: Likewise.
46574         * soft-fp/fixsfti.c: Likewise.
46575         * soft-fp/fixtfti.c: Likewise.
46576         * soft-fp/fixunsdfti.c: Likewise.
46577         * soft-fp/fixunssfti.c: Likewise.
46578         * soft-fp/fixunstfti.c: Likewise.
46579         * soft-fp/floattidf.c: Likewise.
46580         * soft-fp/floattisf.c: Likewise.
46581         * soft-fp/floattitf.c: Likewise.
46582         * soft-fp/floatuntidf.c: Likewise.
46583         * soft-fp/floatuntisf.c: Likewise.
46584         * soft-fp/floatuntitf.c: Likewise.
46585         * soft-fp/trunctfxf2.c: Likewise.
46587         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46588         * soft-fp/fixdfti.c: Likewise.
46589         * soft-fp/fixsfti.c: Likewise.
46590         * soft-fp/fixtfti.c: Likewise.
46591         * soft-fp/fixunsdfti.c: Likewise.
46592         * soft-fp/fixunssfti.c: Likewise.
46593         * soft-fp/fixunstfti.c: Likewise.
46594         * soft-fp/floattidf.c: Likewise.
46595         * soft-fp/floattisf.c: Likewise.
46596         * soft-fp/floattitf.c: Likewise.
46597         * soft-fp/floatuntidf.c: Likewise.
46598         * soft-fp/floatuntisf.c: Likewise.
46599         * soft-fp/floatuntitf.c: Likewise.
46600         * soft-fp/trunctfxf2.c: Likewise.
46602 2013-10-10  David S. Miller  <davem@davemloft.net>
46604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46606 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46608         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46609         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46610         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46611         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46612         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46613         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46614         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46616         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46617         for NaNs before doing comparisons on argument.
46618         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46619         Likewise.
46621 2013-10-10  Will Newton  <will.newton@linaro.org>
46623         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46624         passed to _int_memalign does not overflow.
46626 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46628         * scripts/bench.pl: Add include-sources directive.
46629         * benchtests/README: Update documentation.
46631 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46633         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46634         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46635         instead of FP_INIT_ROUNDMODE.
46636         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46637         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46639         [BZ #16034]
46640         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46641         copy class of input value.
46642         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46643         not handle exceptions.
46644         * soft-fp/negsf2.c (__negsf2): Likewise.
46645         * soft-fp/negtf2.c (__negtf2): Likewise.
46646         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46648 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46650         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46651         semicolon.  From Linux kernel.
46653 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46655         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46657 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46659         [BZ #156]
46660         * manual/socket.texi: Added statement about buffer
46661         for gethostbyname2_r.
46663 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46665         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46666         Use .p2align directive instead, throughout.
46667         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46668         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46669         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46670         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46671         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46672         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46673         * sysdeps/x86_64/strchr.S: Likewise.
46674         * sysdeps/x86_64/strrchr.S: Likewise.
46676 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46678         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46680         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46682         * sysdeps/generic/math_private.h (__mpsin1): Remove
46683         declaration.
46684         (__mpcos1): Likewise.
46685         (__mpsin): New argument __range_reduce.
46686         (__mpcos): Likewise.
46687         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46688         (slow): Use __mpsin and __mpcos.
46689         (slow1): Likewise.
46690         (slow2): Likewise.
46691         (sloww): Likewise.
46692         (sloww1): Likewise.
46693         (sloww2): Likewise.
46694         (bsloww): Likewise.
46695         (bsloww1): Likewise.
46696         (bsloww2): Likewise.
46697         (cslow2): Likewise.
46698         (csloww): Likewise.
46699         (csloww1): Likewise.
46700         (csloww2): Likewise.
46701         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46702         range_reduce.  Merge in __mpsin1.
46703         (__mpcos): Likewise.
46704         (__mpsin1): Remove.
46705         (__mpcos1): Likewise.
46707 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46709         * locale/loadlocale.c (_nl_intern_locale_data): Use
46710         LOCFILE_ALIGNED_P.
46711         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46712         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46713         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46714         obstack data is appropriately aligned.
46715         (obstack_int32_grow_fast): Likewise.
46716         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46717         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46718         (add_locale_uint32_array): Likewise.
46720 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46722         * benchtests/Makefile: Remove ARGLIST and RET variables.
46723         ($(objpfx)bench-%.c): Pass only function name to the script.
46724         * benchtests/README: Update documentation.
46725         * benchtests/acos-inputs: Add new directives.
46726         * benchtests/acosh-inputs: Likewise.
46727         * benchtests/asin-inputs: Likewise.
46728         * benchtests/asinh-inputs: Likewise.
46729         * benchtests/atan-inputs: Likewise.
46730         * benchtests/atanh-inputs: Likewise.
46731         * benchtests/cos-inputs: Likewise.
46732         * benchtests/cosh-inputs: Likewise.
46733         * benchtests/exp-inputs: Likewise.
46734         * benchtests/log-inputs: Likewise.
46735         * benchtests/pow-inputs: Likewise.
46736         * benchtests/rint-inputs: Likewise.
46737         * benchtests/sin-inputs: Likewise.
46738         * benchtests/sinh-inputs: Likewise.
46739         * benchtests/tan-inputs: Likewise.
46740         * benchtests/tanh-inputs: Likewise.
46741         * scripts/bench.pl: Add support for new directives.
46743 2013-10-07  Alan Modra  <amodra@gmail.com>
46745         * README: Fix careless merge.
46747 2013-10-05  Alan Modra  <amodra@gmail.com>
46749         * NEWS: Mention powerpc64le support and bugs fixed.
46750         * README: Both big-endian and little-endian powerpc64 supported.
46752 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46754         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46755         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46756         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46757         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46759 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46761         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46762         match prototype.
46764 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46766         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46767         Move -mhard-float appending from
46768         ports/sysdeps/powerpc/powerpc32/Makefile.
46769         [$(with-fp) = yes] (ASFLAGS): Likewise.
46770         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46771         * sysdeps/powerpc/nofpu: Move directory from
46772         ports/sysdeps/powerpc/nofpu.
46773         * sysdeps/powerpc/soft-fp: Move directory from
46774         ports/sysdeps/powerpc/soft-fp.
46775         * sysdeps/powerpc/powerpc32/405: Move directory from
46776         ports/sysdeps/powerpc/powerpc32/405.
46777         * sysdeps/powerpc/powerpc32/440: Move directory from
46778         ports/sysdeps/powerpc/powerpc32/440.
46779         * sysdeps/powerpc/powerpc32/464: Move directory from
46780         ports/sysdeps/powerpc/powerpc32/464.
46781         * sysdeps/powerpc/powerpc32/476: Move directory from
46782         ports/sysdeps/powerpc/powerpc32/476.
46783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46784         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46786         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46788         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46790         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46792         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46793         * README: Update for powerpc-*-linux-gnu software floating point
46794         support in libc.
46796         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46797         case to powerpc/powerpc32*.
46798         * sysdeps/unix/sysv/linux/configure: Regenerated.
46800         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46801         (_FPU_MASK_OM): Define as 0x04.
46802         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46803         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46804         0x00c10080.
46805         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46806         0x0000003c.
46807         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46810         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46811         getcontext_e500.
46812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46813         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46814         setcontext_e500.
46815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46816         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46817         and setcontext_e500.
46819 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46821         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46823 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46825         * manual/threads.texi (Default Thread Attributes): Fix typo.
46827 2013-10-04  Will Newton  <will.newton@linaro.org>
46829         * malloc/Makefile: Add tst-memalign.
46830         * malloc/tst-memalign.c: New file.
46832         * malloc/tst-posix_memalign.c: Add comments.
46833         (do_test): Add comments and call free on all potentially
46834         allocated pointers. Add space after cast.
46836         * malloc/tst-pvalloc.c: Add comments.
46837         (do_test): Add comments and call free on all potentially
46838         allocated pointers. Remove duplicate check for NULL pointer.
46839         Add space after cast.
46841         * malloc/tst-valloc.c: Add comments.
46842         (do_test): Add comments and call free on all potentially
46843         allocated pointers. Remove duplicate check for NULL pointer.
46844         Add space after cast.
46846 2013-10-04  Alan Modra  <amodra@gmail.com>
46848         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46849         Use stdint types in rather than __attribute__((mode())).
46850         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46852 2013-10-04  Alan Modra  <amodra@gmail.com>
46854         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46855         Correct handling of unaligned relocs for little-endian.
46856         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46858 2013-10-04  Alan Modra  <amodra@gmail.com>
46860         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46861         * configure: Regenerate.
46862         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46863         * shlib-versions: Likewise.
46865 2013-10-04  Alan Modra  <amodra@gmail.com>
46867         * string/tester.c (test_memrchr): Increment reported test cycle.
46869 2013-10-04  Alan Modra  <amodra@gmail.com>
46871         * string/test-memcpy.c (do_one_test): When reporting errors, print
46872         string address and don't overrun end of string.
46874 2013-10-04  Alan Modra  <amodra@gmail.com>
46876         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46877         insrdi.  Make better use of reg selection to speed exit slightly.
46878         Schedule entry path a little better.  Remove useless "are we done"
46879         checks on entry to main loop.  Handle wrapping around zero address.
46880         Correct main loop count.  Handle single left-over word from main
46881         loop inline rather than by using loop_small.  Remove extra word
46882         case in loop_small caused by wrong loop count.  Add little-endian
46883         support.
46884         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46885         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46886         cache hint.
46887         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46888         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46889         support.  Avoid rlwimi.
46890         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46892 2013-10-04  Alan Modra  <amodra@gmail.com>
46894         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46895         insrdi.  Formatting.
46896         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46897         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46898         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46899         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46900         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46901         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46903 2013-10-04  Alan Modra  <amodra@gmail.com>
46905         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46906         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46907         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46908         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46909         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46910         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46911         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46912         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46913         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46914         use of regs.  Use power7 mtocrf.  Tidy function tails.
46916 2013-10-04  Alan Modra  <amodra@gmail.com>
46918         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46919         Formatting.  Consistently use rXXX register defines or rN defines.
46920         Use early exit labels that avoid restoring unused non-volatile regs.
46921         Make cr field use more consistent with rWORDn compares.  Rename
46922         regs used as shift registers for unaligned loop, using rN defines
46923         for short lifetime/multiple use regs.
46924         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46925         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46926         addi 1,1,64 to pop stack frame.  Simplify return value code.
46927         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46929 2013-10-04  Alan Modra  <amodra@gmail.com>
46931         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46932         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46933         rather than rlwimi.
46934         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46935         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46936         little-endian support.  Correct typos.
46937         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46938         rather than rlwimi.
46939         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46940         in loop and entry code to keep "and." results.
46941         (strchr): Add little-endian support.  Comment.  Move cntlzd
46942         earlier in tail.
46943         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46945 2013-10-04  Alan Modra  <amodra@gmail.com>
46947         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46948         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46949         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46950         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46952 2013-10-04  Alan Modra  <amodra@gmail.com>
46954         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46955         (rTMP): Define as r11.
46956         (strcmp): Add little-endian support.  Optimise tail.
46957         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46958         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46959         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46960         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46961         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46962         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46963         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46965 2013-10-04  Alan Modra  <amodra@gmail.com>
46967         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46968         little-endian support.  Remove unnecessary "are we done" tests.
46969         Handle "s" wrapping around zero and extremely large "size".
46970         Correct main loop count.  Handle single left-over word from main
46971         loop inline rather than by using small_loop.  Correct comments.
46972         Delete "zero" tail, use "end_max" instead.
46973         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46975 2013-10-04  Alan Modra  <amodra@gmail.com>
46977         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46978         support.  Don't branch over align.
46979         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46980         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46981         support.  Rearrange tmp reg use to suit.  Comment.
46982         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46984 2013-10-04  Alan Modra  <amodra@gmail.com>
46986         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46988 2013-10-04  Alan Modra  <amodra@gmail.com>
46990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46991         conditional form of branch and link when obtaining pc.
46992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46994 2013-10-04  Alan Modra  <amodra@gmail.com>
46996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46997         HIWORD/LOWORD.
46998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47001 2013-10-04  Alan Modra  <amodra@gmail.com>
47003         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47004         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47005         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47006         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47007         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47008         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47009         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47010         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47011         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47012         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47014 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47015             Alistair Popple <alistair@ozlabs.au.ibm.com>
47016             Alan Modra <amodra@gmail.com>
47018         [BZ #15723]
47019         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47020         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47021         _dl_hwcap access for little-endian.
47022         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
47023         destroy vmx regs when saving unaligned.
47024         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47025         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
47026         destroy vmx regs when saving unaligned.
47028 2013-10-04  Alan Modra  <amodra@gmail.com>
47030         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47031         Don't use a union to pack hi/low value.
47033 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47035         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47036         for little-endian.
47037         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47038         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47039         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47040         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47041         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47043 2013-10-04  Alan Modra  <amodra@gmail.com>
47045         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47046         constants to usual value for .cst8 section, and remove redundant
47047         high address load.
47048         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47049         constant for 0x1p52.  Load little-endian words of double from
47050         correct stack offsets.
47052 2013-10-04  Alan Modra  <amodra@gmail.com>
47054         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47055         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47056         words of double from correct stack offsets.
47057         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47058         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47059         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47060         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47061         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47062         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47063         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47064         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47065         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47066         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47067         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47068         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47069         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47070         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47071         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47072         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47073         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47075 2013-10-04  Alan Modra  <amodra@gmail.com>
47077         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47078         64-bit int/double union.
47079         (_FPU_SETCW): Likewise.
47080         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47081         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47083 2013-10-04  Alan Modra  <amodra@gmail.com>
47085         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47086         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47088 2013-10-04  Alan Modra  <amodra@gmail.com>
47090         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47091         use vector int constants.
47092         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47094 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47096         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47097         array with long long.
47098         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47099         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47100         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47101         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47102         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47103         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47104         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47105         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47106         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47107         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47108         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47109         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47110         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47112 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47114         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47115         (__signbit): Likewise.  Correct for little-endian.
47116         (__signbitl): Call __signbit.
47117         (lrint): Correct for little-endian.
47118         (lrintf): Call lrint.
47120 2013-10-04  Alan Modra  <amodra@gmail.com>
47122         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47123         union 32-bit int array member with 64-bit int array.
47124         (t515, tm256): Double rather than long double.
47125         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47127 2013-10-04  Alan Modra  <amodra@gmail.com>
47129         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47130         Delete.
47131         (IEEE854_LONG_DOUBLE_BIAS): Delete.
47132         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47133         version of math_ldbl.h.
47135 2013-10-04  Alan Modra  <amodra@gmail.com>
47137         [BZ #15734], [BZ #15735]
47138         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47139         all uses of ieee875 long double macros and unions.  Simplify test
47140         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
47141         ldbl_extract_mantissa value for ix,iy exponents.  Properly
47142         normalize after ldbl_extract_mantissa, and don't add hidden bit
47143         already handled.  Don't treat low word of ieee854 mantissa like
47144         low word of IBM long double and mask off bit when testing for
47145         zero.
47146         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47147         all uses of ieee875 long double macros and unions.  Simplify tests
47148         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47149         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47150         two1022, instead use their values.  Recognise that tests for large
47151         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47152         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47153         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47154         test for 0.0L and nan.  Correct negation.
47155         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47156         ieee875 long double macros and unions.  Correct output for large
47157         magnitude x.  Correct absolute value calculation.
47158         (__erfcl): Likewise.
47159         * math/libm-test.inc: Add tests for errors discovered in IBM long
47160         double versions of fmodl, remainderl, erfl and erfcl.
47162 2013-10-04  Alan Modra  <amodra@gmail.com>
47164         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47165         all uses of ieee854 long double macros and unions.  Simplify tests
47166         for long doubles that are fully specified by the high double.
47167         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47168         Likewise.
47169         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47170         Remove dead code too.
47171         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47172         (__ieee754_ynl): Likewise.
47173         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47174         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47175         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47176         Remove dead code too.
47177         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47178         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47179         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47180         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47181         Simplify.
47182         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47183         Simplify.
47184         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47185         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47186         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47187         Comment on variable precision.
47188         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47189         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47190         Likewise.
47191         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47192         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47193         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47194         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47195         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47197 2013-10-04  Alan Modra  <amodra@gmail.com>
47199         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47200         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47201         all uses of ieee854 long double macros and unions.
47202         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47203         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47204         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47205         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47206         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47207         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47208         Likewise.
47209         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47210         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47211         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47212         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47213         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47214         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47215         Simplify sign and nan test too.
47216         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47217         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47218         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47219         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47220         Likewise.
47221         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47222         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47223         Likewise.
47224         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47225         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47226         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47227         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47228         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47229         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47231 2013-10-04  Alan Modra  <amodra@gmail.com>
47233         * stdio-common/printf_size.c (__printf_size): Don't use
47234         union ieee854_long_double in fpnum union.
47235         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47236         signbit macro to retrieve sign from long double.
47237         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47238         retrieve sign from long double.
47239         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47240         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47241         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47242         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47243         * math/test-misc.c (main): Don't use union ieee854_long_double.
47245 2013-10-04  Alan Modra  <amodra@gmail.com>
47247         [BZ #15680]
47248         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47249         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47250         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47251         calculation.  Remove unnecessary test for denormal exponent.
47252         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47253         Correct handling of denormals.  Avoid undefined shift behaviour.
47254         Correct normalisation of low mantissa when low double is denormal.
47255         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47256         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47257         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47258         Correct normalisation of low mantissa.  Test for overflow of high
47259         mantissa and normalise.
47260         (ldbl_nearbyint): Use more readable constant for two52.
47261         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47262         (__mpn_construct_long_double): Fix test for overflow of high
47263         mantissa and correct normalisation.  Avoid undefined shift.
47265 2013-10-04  Alan Modra  <amodra@gmail.com>
47267         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47268         (union ibm_extended_long_double): Define as an array of ieee754_double.
47269         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47270         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47271         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47272         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47273         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47274         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47275         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47276         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47277         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47278         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47279         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47281 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47283         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47284         page size instead of calling getpagesize.
47286         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47287         (LOCFILE_ALIGN_MASK): Likewise.
47288         (LOCFILE_ALIGN_UP): Likewise.
47289         (LOCFILE_ALIGNED_P): Likewise.
47290         * locale/programs/ld-collate.c (collate_output): Use the new
47291         macros instead of __alignof__ (int32_t).
47292         * locale/weight.h (findidx): Likewise.
47294 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47296         [BZ #431]
47297         * manual/string.texi: Fix strncat and wcsncat.
47299 2013-10-03  Brooks Moses  <bmoses@google.com>
47301         [BZ #15915]
47302         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47303         * Makerules: ...here, and adjust associated comments.
47305 2013-10-02  Will Newton  <will.newton@linaro.org>
47307         * malloc/Makefile: Add tst-pvalloc.
47308         * malloc/tst-pvalloc.c: New file.
47310 2013-10-02  Will Newton  <will.newton@linaro.org>
47312         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47313         improve test coverage.
47315 2013-10-02  Will Newton  <will.newton@linaro.org>
47317         * malloc/Makefile: Add tst-posix_memalign.
47318         * malloc/tst-posix_memalign.c: New file.
47320 2013-10-01  Eric Blake  <eblake@redhat.com>
47322         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47323         Use __THROWNL rather than __THROW on static functions.
47325 2013-09-30  Petr Machata  <pmachata@redhat.com>
47327         * elf/elf.h (R_AARCH64_ABS16): New macro.
47328         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47329         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47330         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47331         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47332         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47333         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47334         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47335         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47336         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47337         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47338         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47339         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47340         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47341         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47342         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47343         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47344         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47345         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47346         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47347         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47348         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47349         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47350         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47351         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47352         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47353         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47354         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47355         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47356         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47357         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47358         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47359         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47360         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47361         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47362         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47363         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47364         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47365         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47366         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47367         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47368         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47369         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47370         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47371         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47372         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47373         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47374         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47375         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47376         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47377         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47378         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47379         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47380         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47381         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47382         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47383         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47384         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47385         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47386         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47387         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47388         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47389         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47390         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47391         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47392         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47393         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47394         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47395         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47396         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47397         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47398         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47399         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47400         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47401         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47402         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47403         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47404         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47405         (R_AARCH64_TLSDESC_LDR): Likewise.
47406         (R_AARCH64_TLSDESC_ADD): Likewise.
47407         (R_AARCH64_TLSDESC_CALL): Likewise.
47409 2013-09-30  Andreas Schwab  <schwab@suse.de>
47411         [BZ #15048]
47412         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47413         the nss database lookup.
47414         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47415         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47417 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47419         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47421 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47423         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47424         ${Bash-specific parameter/pattern/string} parameter expansion.
47425         * sysdeps/unix/make-syscalls.sh: Likewise.
47427 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47429         * sysdeps/sh/stackguard-macros.h: New file.
47431 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47433         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47434         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47435         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47436         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47437         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47438         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47440 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47442         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47443         Fix thread ID register.
47445 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47447         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47448         [POSIX || UNIX98]: Require rather than permitting all symbols from
47449         <time.h>.
47450         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47451         element of struct sched_param.
47452         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47453         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47454         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47455         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47456         constant.
47458 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47460         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47461         argument calculation.
47463 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47465         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47466         Expect macro.
47467         [POSIX] (pthread_attr_t): Do not require type.
47468         [POSIX] (pthread_cond_t): Likewise.
47469         [POSIX] (pthread_condattr_t): Likewise.
47470         [POSIX] (pthread_key_t): Likewise.
47471         [POSIX] (pthread_mutex_t): Likewise.
47472         [POSIX] (pthread_mutexattr_t): Likewise.
47473         [POSIX] (pthread_once_t): Likewise.
47474         [POSIX] (pthread_t): Likewise.
47475         [POSIX-based standards] (pthread_atfork): Expect function.
47477 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47478             Richard Sandiford  <richard@codesourcery.com>
47480         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47481         (swap_endianness_p): New extern variable.
47482         (set_big_endian): New inline function.
47483         (maybe_swap_uint32): Likewise.
47484         (maybe_swap_uint32_array): Likewise.
47485         (maybe_swap_uint32_obstack): Likewise.
47486         * locale/programs/locfile.c: Include <stdbool.h>.
47487         (swap_endianness_p): New variable.
47488         (add_locale_uint32): Call maybe_swap_uint32.
47489         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47490         (write_locale_data): Call maybe_swap_uint32_array.
47491         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47492         maybe_swap_uint32.
47493         (obstack_int32_grow_fast): Likewise.
47494         (output_weightwc): Call maybe_swap_uint32_obstack.
47495         (collate_output): Likewise.
47496         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47497         (OPT_LITTLE_ENDIAN): Likewise.
47498         (options): Add --little-endian and --big-endian options.
47499         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47500         * locale/programs/locarchive.c: Include "locfile.h".
47501         (GET): New macro.
47502         (SET): Likewise.
47503         (INC): Likewise.
47504         (create_archive): Use the new macros to access fields of
47505         structures directly mapped from or written to locale archives.
47506         (oldlocrecentcmp): Likewise.
47507         (enlarge_archive): Likewise.
47508         (insert_name): Likewise.
47509         (add_alias): Likewise.
47510         (add_locale): Likewise.
47511         (delete_locales_from_archive): Likewise.
47512         (show_archive_content): Likewise.
47513         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47514         locale data.
47516 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47518         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47519         http://www.gnu.org/doc/freemanuals.texi.
47520         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47522 2013-09-24  Will Newton  <will.newton@linaro.org>
47524         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47525         macro.
47527 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47529         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47530         unsigned char.
47532 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47534         * manual/threads.texi (POSIX Threads): Fix a typo.
47536 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47538         [BZ #14547]
47539         * string/tst-strcoll-overflow.c: New test case.
47540         * string/Makefile (xtests): Add tst-strcoll-overflow.
47541         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47542         cache if string sizes may cause integer overflow.
47544         [BZ #14547]
47545         * string/strcoll_l.c (coll_seq): New members rule, idx,
47546         save_idx and back_us.
47547         (get_next_seq_nocache): New function.
47548         (do_compare_nocache): New function.
47549         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47550         when malloc fails.
47552 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47554         [BZ #15754]
47555         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47556         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47557         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47559         [BZ #15754]
47560         * elf/Makefile (tests): Add tst-ptrguard1.
47561         (tests-static): Add tst-ptrguard1-static.
47562         (tst-ptrguard1-ARGS): Define.
47563         (tst-ptrguard1-static-ARGS): Define.
47564         * elf/tst-ptrguard1.c: New file.
47565         * elf/tst-ptrguard1-static.c: New file.
47566         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47567         * sysdeps/i386/stackguard-macros.h: Likewise.
47568         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47569         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47570         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47571         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47572         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47573         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47575 2013-09-23  Hector Marco  <hecmargi@upv.es>
47576             Ismael Ripoll  <iripoll@disca.upv.es>
47577             Carlos O'Donell  <carlos@redhat.com>
47579         [BZ #15754]
47580         * sysdeps/generic/stackguard-macros.h: Define
47581         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47582         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47583         Define __pointer_chk_guard_local.
47584         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47585         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47587 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47589         [BZ #15859]
47590         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47592 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47594         * include/string.h (__ffs): Declare as hidden.
47595         * string/ffs.c (__ffs): Define as hidden.
47596         * sysdeps/i386/ffs.c (__ffs): Likewise.
47597         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47598         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47599         * sysdeps/s390/ffs.c (__ffs): Likewise.
47600         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47602 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47604         * NEWS: Mention malloc probes.
47606         * malloc/arena.c (new_heap): New memory_heap_new probe.
47607         (grow_heap): New memory_heap_more probe.
47608         (shrink_heap): New memory_heap_less probe.
47609         (heap_trim): New memory_heap_free probe.
47610         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47611         (systrim): New memory_sbrk_less probe.
47612         * manual/probes.texi: Document them.
47614         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47615         * manual/probes.texi: Document it.
47617         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47618         (__libc_realloc): Add memory_realloc_retry probe.
47619         (__libc_memalign): Add memory_memalign_retry probe.
47620         (__libc_valloc): Add memory_valloc_retry probe.
47621         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47622         (__libc_calloc): Add memory_calloc_retry probe.
47623         * manual/probes.texi: Document them.
47625         * malloc/arena.c (get_free_list): Add probe
47626         memory_arena_reuse_free_list.
47627         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47628         and memory_arena_reuse.
47629         (arena_get2) [!PER_THREAD]: Likewise.
47630         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47631         memory_arena_reuse_realloc.
47632         * manual/probes.texi: Document them.
47634         * malloc/malloc.c (__libc_free): Add
47635         memory_mallopt_free_dyn_thresholds probe.
47636         (__libc_mallopt): Add multiple memory_mallopt probes.
47637         * manual/probes.texi: Document them.
47639         * malloc/malloc.c: Include stap-probe.h.
47640         (__libc_mallopt): Add memory_mallopt probe.
47641         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47642         * manual/probes.texi: New.
47643         * manual/Makefile (chapters): Add probes.
47644         * manual/threads.texi: Set next node.
47646 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47648         [BZ #15963, #13985]
47649         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47650         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47651         Add `Chinese' to `nan' entry name.
47653 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47655         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47656         (POLYNOMIAL): Likewise.
47657         (TAYLOR_SINCOS): Likewise.
47658         (TAYLOR_SLOW): Likewise.
47659         (__sin): Use TAYLOR_SINCOS.
47660         (__cos): Likewise.
47661         (slow): Use TAYLOR_SLOW.
47662         (sloww): Likewise.
47663         (bsloww): Likewise.
47664         (csloww): Likewise.
47666 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47668         * stdlib/strtod_l.c: Fix buffer overrun.
47670 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47672         * benchtests/Makefile (bench): Add sincos.
47673         * benchtests/bench-sincos.c: New file.
47675         * math/libm-test.inc (cos_test_data): New test inputs.
47676         (sin_test_data): Likewise.
47678         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47679         macro.
47680         (__sin): Use it.
47681         (__cos): Likewise.
47682         (slow1): Likewise.
47683         (slow2): Likewise.
47684         (sloww1): Likewise.
47685         (sloww2): Likewise.
47686         (bsloww1): Likewise.
47687         (bsloww2): Likewise.
47688         (cslow2): Likewise.
47689         (csloww1): Likewise.
47690         (csloww2): Likewise.
47692         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47693         function.
47694         (__sin): Use it.
47695         (__cos): Likewise.
47697         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47698         gotos.
47699         (__cos): Likewise.
47701 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47703         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47704         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47705         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47706         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47707         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47708         * elf/cache.c (print_entry): Handle the new cache flags.
47710 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47711             Aldy Hernandez  <aldyh@redhat.com>
47713         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47714         Change condition to [_SOFT_FLOAT].
47715         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47716         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47717         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47718         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47719         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47720         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47721         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47722         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47723         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47724         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47725         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47726         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47727         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47728         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47730         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47731         declaration.
47733 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47735         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47736         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47737         (__longjmp): Use LOAD_GP to load saved GPRs.
47738         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47739         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47740         (__sigsetjmp): Use SAVE_GP to save GPRs.
47742         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47743         Do not append -msoft-float.
47744         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47746 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47748         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47750 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47752         [BZ #15966]
47753         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47754         (_FPU_GETCW): Use initial "__" on variable and field names but not
47755         on macro parameter name.
47756         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47757         parentheses around reference to macro parameter.
47759 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47761         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47762         prototype.
47763         (ctype_startup): Use uint32_t in cast and sizeof for
47764         ctype->charnames.
47766 2013-09-11  Jia Liu  <proljc@gmail.com>
47768         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47769         __daddr_t_defined.
47770         [__FreeBSD__]: Likewise.
47772 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47774         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47775         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47776         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47777         (strchr): Remove __strchr_sse42 ifunc selection.
47778         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47779         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47781 2013-09-11  Will Newton  <will.newton@linaro.org>
47783         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47784         parameter to RES. Remove hardcoded 1000 value.
47785         * benchtests/bench-skeleton.c (main): Pass RES parameter
47786         to TIMING_INIT and multiply result by 1000.
47788 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47792 2013-09-11  Andreas Schwab  <schwab@suse.de>
47794         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47795         if not defined.
47796         (O_TMPFILE) [__USE_GNU]: Define.
47797         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47798         Define.
47800 2013-09-11  Will Newton  <will.newton@linaro.org>
47802         [BZ #15857]
47803         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47804         does not overflow.
47806 2013-09-11  Will Newton  <will.newton@linaro.org>
47808         [BZ #15856]
47809         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47810         does not overflow.
47812 2013-09-11  Will Newton  <will.newton@linaro.org>
47814         [BZ #15855]
47815         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47816         does not overflow.
47818 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47820         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47821         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47822         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47823         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47824         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47826 2013-09-10  Allan McRae  <allan@archlinux.org>
47828         [BZ #15748]
47829         * manual/arith.texi (Parsing of Floats): Clarify
47830         cross-reference.
47832         [BZ #15849]
47833         * manual/install.texi (Running make install): Mention
47834         --enable-pt-chown.
47835         * INSTALL: Regenerated.
47837 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47839         * csu/init-first.c (_init): Remove the !SHARED condition around
47840         FPU control word initialization.
47841         * elf/dl-support.c (_dl_fpu_control): New variable.
47842         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47843         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47844         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47845         * math/test-fpucw-static.c: New file.
47846         * math/test-fpucw-ieee.c: New file.
47847         * math/test-fpucw-ieee-static.c: New file.
47848         * math/Makefile (tests): Add `test-fpucw-ieee' and
47849         `$(tests-static)'.
47850         (tests-static): New variable.
47851         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47852         dependency to...
47853         [($(build-shared),yes)]
47854         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47855         ... this.
47856         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47857         New dependency.
47859 2013-09-09  Allan McRae  <allan@archlinux.org>
47861         [BZ #15939]
47862         * manual/string.texi (Collation Functions): Fix typo in
47863         strcoll example.
47864         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47866         [BZ #15893]
47867         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47869         [BZ #15892]
47870         * libio/memstream.c (open_memstream): Fix memory leak.
47871         * libio/wmemstream.c (open_wmemstream): Likewise.
47873         [BZ #15895]
47874         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47876 2013-09-09  Will Newton  <will.newton@linaro.org>
47878         * malloc/Makefile: Add tst-realloc to tests.
47879         * malloc/tst-realloc.c: New file.
47881 2013-09-09  Allan McRae  <allan@archlinux.org>
47883         [BZ #15844]
47884         * COPYING: Update from GNU website to fix FSF address.
47885         * COPYING.LIB: Likewise.
47887 2013-09-06  David S. Miller  <davem@davemloft.net>
47889         * po/zh_TW.po: Update Chinese (traditional) translation from
47890         translation project.
47892 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47893             Joseph Myers  <joseph@codesourcery.com>
47895         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47896         "localeinfo.h".
47897         (obstack_chunk_alloc): New macro.
47898         (obstack_chunk_free): Likewise.
47899         (record_offset): New function.
47900         (init_locale_data): Likewise.
47901         (align_locale_data): Likewise.
47902         (add_locale_empty): Likewise.
47903         (add_locale_raw_data): Likewise.
47904         (add_locale_raw_obstack): Likewise.
47905         (add_locale_string): Likewise.
47906         (add_locale_wstring): Likewise.
47907         (add_locale_uint32): Likewise.
47908         (add_locale_uint32_array): Likewise.
47909         (add_locale_char): Likewise.
47910         (start_locale_structure): Likewise.
47911         (end_locale_structure): Likewise.
47912         (start_locale_prelude): Likewise.
47913         (end_locale_prelude): Likewise.
47914         (write_locale_data): Take locale_file structure rather than an
47915         iovec.
47916         * locale/programs/locfile.h: Include "obstack.h".
47917         (struct locale_file): Change to store locale file contents instead
47918         of header.
47919         (init_locale_data): New prototype.
47920         (align_locale_data): Likewise.
47921         (add_locale_empty): Likewise.
47922         (add_locale_raw_data): Likewise.
47923         (add_locale_raw_obstack): Likewise.
47924         (add_locale_string): Likewise.
47925         (add_locale_wstring): Likewise.
47926         (add_locale_uint32): Likewise.
47927         (add_locale_uint32_array): Likewise.
47928         (add_locale_char): Likewise.
47929         (start_locale_structure): Likewise.
47930         (end_locale_structure): Likewise.
47931         (start_locale_prelude): Likewise.
47932         (end_locale_prelude): Likewise.
47933         (write_locale_data): Update prototype.
47934         * locale/programs/3level.h (struct TABLE): Remove result field.
47935         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47936         Use new locale_file interface.
47937         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47938         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47939         * locale/programs/ld-address.c (address_output): Use new
47940         locale_file interface.
47941         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47942         NO_ADD_LOCALE.
47943         (collate_finish): Don't call collseq_table_finalize.
47944         (collate_output): Use new locale_file interface.
47945         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47946         in file.
47947         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47948         (TABLE): Move defines earlier in file.
47949         (ELEMENT): Likewise.
47950         (DEFAULT): Likewise.
47951         (wctrans_table_add): Move macro and inline function earlier in
47952         file.
47953         (struct wctype_table): Move type earlier in file.
47954         (add_locale_wctype_table): New static prototype.
47955         (struct locale_ctype_t): Use logical types instead of struct iovec
47956         pointers for members.
47957         (ctype_output): Use new locale_file interface.
47958         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47959         new locale_file interface.
47960         (allocate_arrays): Update for use of new locale_file interface.
47961         * locale/programs/ld-identification.c (identification_output): Use
47962         new locale_file interface.
47963         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47964         * locale/programs/ld-messages.c (messages_output): Likewise.
47965         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47966         * locale/programs/ld-name.c (name_output): Likewise.
47967         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47968         * locale/programs/ld-paper.c (paper_output): Likewise.
47969         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47970         * locale/programs/ld-time.c (time_output): Likewise.
47972 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47974         * benchtests/Makefile: Add memrchr benchmark.
47975         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47976         benchmark as memrchr.
47977         * benchtests/bench-memrchr-ifunc.c: New file.
47978         * benchtests/bench-memrchr.c: New file.
47980 2013-09-06   Will Newton  <will.newton@linaro.org>
47982         * benchtests/Makefile (string-bench): Add memcpy.
47984 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47985             Cong Wang  <amwang@redhat.com>
47987         [BZ #15850]
47988         * sysdeps/unix/sysv/linux/bits/in.h
47989         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47990         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47991         before __USE_KERNEL_IPV6_DEFS uses.
47992         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47993         IPPROTO_BEETPH.
47994         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47995         sockaddr_in6, or ipv6_mreq.
47997 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47999         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48000         memory access for final bytes in some large inputs.
48001         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48003 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48005         * string/test-memrchr.c: New file.
48006         * string/test-memrchr-ifunc.c: New file.
48007         * string/Makefile: Add new memrchr testcase.
48009 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
48011         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48012         fanotify_init returns EPERM.
48014 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48016         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48017         errors.
48018         (top level): Treat second token from macro or constant entries for
48019         allowed headers as allowed.
48020         * include/complex.h: Condition internal declarations on
48021         [!_ISOMAC].
48022         * include/fenv.h: Condition include of <stdbool.h> and internal
48023         declarations on [!_ISOMAC].
48025 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
48027         [BZ #15923]
48028         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48030 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48032         * configure.in (--enable-versioning): Remove configure option.
48033         (libc_cv_asm_symver_directive): Remove configure test.
48034         (libc_cv_ld_version_script_option): Likewise.
48035         (VERSIONING): Remove variable and AC_SUBST.
48036         (DO_VERSIONING): Remove AC_DEFINE.
48037         * configure: Regenerated.
48038         * config.h.in (DO_VERSIONING): Remove macro.
48039         * Makerules [$(versioning) = yes]: Change conditionals to
48040         [$(build-shared) = yes].
48041         * config.make.in (versioning): Remove variable.
48042         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48043         [$(build-shared) = yes].
48044         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48045         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48046         * elf/Makefile [$(versioning) = yes]: Change conditionals to
48047         [$(build-shared) = yes].
48048         * extra-lib.mk [$(versioning) = yes]: Likewise.
48049         * hurd/Makefile [$(versioning) = yes]: Likewise.
48050         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48051         [SHARED].
48052         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48053         [SHARED].
48054         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48055         [SHARED && !NO_HIDDEN].
48056         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48057         [SHARED].
48058         [SHARED && DO_VERSIONING]: Likewise..
48059         * libio/Makefile [$(versioning) = yes]: Change conditionals to
48060         [$(build-shared) = yes].
48061         * manual/install.texi (--disable-versioning): Remove
48062         documentation.
48063         * INSTALL: Regenerated.
48064         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48065         to [SHARED].
48066         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48067         [$(build-shared) = yes].
48068         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48069         * sysdeps/i386/i686/multiarch/strstr-c.c
48070         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48071         [SHARED && !NO_HIDDEN].
48072         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48073         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48074         * sysdeps/powerpc/powerpc32/dl-machine.c
48075         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48076         * sysdeps/powerpc/powerpc32/sysdep.h
48077         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48078         to [SHARED && PIC && !NO_HIDDEN].
48079         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48080         conditional to [SHARED].
48082 2013-09-04   Will Newton  <will.newton@linaro.org>
48084         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48085         * benchtests/bench-string.h: Include bench-timing.h instead
48086         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48087         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48088         call to HP_TIMING_DIFF_INIT.
48089         * benchtests/bench-memccpy.c: Use bench-timing.h macros
48090         instead of hp-timing.h macros.
48091         * benchtests/bench-memchr.c: Likewise.
48092         * benchtests/bench-memcmp.c: Likewise.
48093         * benchtests/bench-memcpy.c: Likewise.
48094         * benchtests/bench-memmem.c: Likewise.
48095         * benchtests/bench-memmove.c: Likewise.
48096         * benchtests/bench-memset.c: Likewise.
48097         * benchtests/bench-rawmemchr.c: Likewise.
48098         * benchtests/bench-strcasecmp.c: Likewise.
48099         * benchtests/bench-strcasestr.c: Likewise.
48100         * benchtests/bench-strcat.c: Likewise.
48101         * benchtests/bench-strchr.c: Likewise.
48102         * benchtests/bench-strcmp.c: Likewise.
48103         * benchtests/bench-strcpy.c: Likewise.
48104         * benchtests/bench-strcpy_chk.c: Likewise.
48105         * benchtests/bench-strlen.c: Likewise.
48106         * benchtests/bench-strncasecmp.c: Likewise.
48107         * benchtests/bench-strncat.c: Likewise.
48108         * benchtests/bench-strncmp.c: Likewise.
48109         * benchtests/bench-strncpy.c: Likewise.
48110         * benchtests/bench-strnlen.c: Likewise.
48111         * benchtests/bench-strpbrk.c: Likewise.
48112         * benchtests/bench-strrchr.c: Likewise.
48113         * benchtests/bench-strspn.c: Likewise.
48114         * benchtests/bench-strstr.c: Likewise.
48116 2013-09-04  Will Newton  <will.newton@linaro.org>
48118         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48120 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
48122         [BZ #15427]
48123         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48124         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48125         * math/libm-test.inc (lgamma_test_data): Add more tests.
48126         * sysdeps/i386/fpu/libm-test-ulps: Update.
48127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48129 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
48131         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48132         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48133         Add ifunc.
48134         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48135         Add strcmp-sse2-unaligned
48136         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48138 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48140         * Versions.def (libc): Add GLIBC_2.19.
48142 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48144         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48145         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48147 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48149         [BZ #14155]
48150         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48151         intermediate calculations in recurrence.
48152         (__ieee754_ynf): Likewise.
48153         * math/libm-test.inc (jn_test_data): Do not allow spurious
48154         underflow exception.  Add more tests.
48155         (yn_test_data): Add more tests.
48156         * sysdeps/i386/fpu/libm-test-ulps: Update.
48157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48159 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48161         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48163 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48165         * csu/init-first.c: Fix then/than typos.
48166         * locale/programs/ld-collate.c: Likewise.
48167         * locale/programs/linereader.h: Likewise.
48168         * manual/charset.texi: Likewise.
48169         * manual/filesys.texi: Likewise.
48170         * manual/stdio.texi: Likewise.
48171         * manual/string.texi: Likewise.
48172         * stdlib/fmtmsg.c: Likewise.
48173         * sysdeps/i386/stpncpy.S: Likewise.
48174         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48175         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48176         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48177         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48179 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48181         * elf/dl-open.c: Fix typos.
48182         * iconvdata/gbbig5.c: Likewise.
48183         * iconvdata/iso-2022-jp.c: Likewise.
48184         * iconv/gconv_int.h: Likewise.
48185         * iconv/loop.c: Likewise.
48186         * nis/rpcsvc/nis.h: Likewise.
48187         * resolv/ns_name.c: Likewise.
48188         * stdio-common/vfscanf.c: Likewise.
48189         * streams/stropts.h: Likewise.
48190         * sunrpc/rpc_thread.c: Likewise.
48191         * sysdeps/i386/strpbrk.S: Likewise.
48192         * sysdeps/ieee754/k_standard.c: Likewise.
48193         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48194         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48195         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48196         * sysdeps/mach/hurd/profil.c: Likewise.
48197         * sysdeps/s390/dl-procinfo.h: Likewise.
48198         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48199         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48200         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48201         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48202         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48204 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48206         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48207         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48209 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48211         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48212         aix specific files.
48213         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48214         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48215         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48216         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48217         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48218         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48219         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48220         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48222 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48223             Roland McGrath  <roland@hack.frob.com>
48225         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48226         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48228 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48230         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48231         __executable_start symbol instead of _start.
48233 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48235         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48236         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48237         Move macros to...
48238         * sysdeps/gnu/ldsodefs.h: ... this new file.
48240         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48241         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48242         instead of ELFOSABI_LINUX.
48244         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48245         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48246         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48247         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48248         Likewise.
48249         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48250         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48251         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48252         Likewise.
48253         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48254         (ibm_extended_long_double): Add ieee_nan member.
48255         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48256         (do_test): New function.
48258         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48259         TEST_TRUNC.
48260         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48261         functions, renamed from truncdfsf_test, trunctfsf_test,
48262         trunctfdf_test.
48263         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48264         functions.
48265         (do_test): Run all these.
48267 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48269         * argp/argp-help.c: Fix typos.
48270         * argp/argp-parse.c: Likewise.
48271         * debug/backtracesyms.c: Likewise.
48272         * elf/elf.h: Likewise.
48273         * malloc/malloc.c: Likewise.
48274         * nis/nis_print.c: Likewise.
48275         * resolv/res_comp.c: Likewise.
48276         * stdlib/stdlib.h: Likewise.
48277         * sunrpc/clnt_tcp.c: Likewise.
48278         * sunrpc/clnt_udp.c: Likewise.
48279         * sunrpc/clnt_unix.c: Likewise.
48280         * sysdeps/unix/bsd/ptsname.c: Likewise.
48281         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48282         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48284         Likewise.
48285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48286         Likewise.
48287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48288         Likewise.
48289         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48291 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48293         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48296 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48298         [BZ #15897]
48299         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48300         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48301         ($(objpfx)bug-dl-leaf): New rule.
48302         ($(objpfx)bug-dl-leaf.so): Likewise.
48303         ($(objpfx)bug-dl-leaf.out): Likewise.
48304         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48305         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48306         * dlfcn/bug-dl-leaf.c: New test.
48307         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48308         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48309         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48310         (dlclose): Likewise.
48311         (dlmopen): Likewise.
48313 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48315         * include/netdb.h [!_ISOMAC]:
48316         Don't include <tls.h>.
48317         (h_errno, __libc_h_errno): Move declaration and macros out of
48318         [_LIBC_REENTRANT].
48320         * include/resolv.h [_RESOLV_H_]:
48321         Don't include <tls.h>.
48322         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48323         * resolv/res_libc.c: Don't include <tls.h>.
48324         (_res): Use __attribute__ ((nocommon)) in place of
48325         __attribute__ ((section (".bss"))).
48327         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48328         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48330         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48332         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48333         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48335         * resolv/res_mkquery.c: Include <sys/time.h>.
48337         * inet/ifreq.c: Moved to ...
48338         * sysdeps/unix/ifreq.c: ... here.
48339         * inet/ifreq.c: New file, true stub version.
48341         * socket/sa_len.c: New file.
48342         * socket/Makefile (aux): Add it.
48343         * sysdeps/unix/sysv/linux/Makefile
48344         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48345         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48346         and #include <socket/sa_len.c>.
48347         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48348         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48350         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48351         * bits/socket.h: ... here.
48353         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48354         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48355         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48357 2013-08-27  Andreas Schwab  <schwab@suse.de>
48359         [BZ #15736]
48360         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48361         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48362         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48363         * string/test-strcasecmp.c (test_main): Run tests in several
48364         locales.
48365         * string/test-strncasecmp.c (test_main): Likewise.
48367         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48368         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48369         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48370         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48371         (__strncasecmp_ssse3) [PIC]: Likewise.
48373 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48375         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48377         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48378         instead of explicitly declaring xdecrypt.
48379         * nis/nss_nis/nis-publickey.c: Likewise.
48381 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48383         [BZ #15890]
48384         * nscd/aicache.c: Include res_hconf.h.
48385         (addhstaiX): Initialize res_hconf.
48387 2013-08-26  Andreas Schwab  <schwab@suse.de>
48389         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48390         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48392 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48394         * nscd/aicache.c (addhstaiX): Fix indentation.
48396 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48398         * configure.ac: Quote $build_pt_chown test.
48399         * configure: Regenerated.
48401 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48403         [BZ #15532]
48404         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48405         * math/s_cexpf.c (__cexpf): Likewise.
48406         * math/s_cexpl.c (__cexpl): Likewise.
48407         * math/libm-test.inc (cexp_test_data): Correct expected return
48408         value for NaN + i0.  Add another test.
48410 2013-08-22  David S. Miller  <davem@davemloft.net>
48412         * po/ca.po: Update Catalan translation from translation project.
48413         * po/uk.po: Add Ukrainian translations from translation project.
48415 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48417         [BZ #15797]
48418         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48419         is infinite, not alongside NaN test.
48420         * math/s_fdimf.c (__fdimf): Likewise.
48421         * math/s_fdiml.c (__fdiml): Likewise.
48422         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48423         errno is unchanged.
48425 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48427         * argp/argp-help.c: Fix typos.
48428         * crypt/speeds.c: Likewise.
48429         * csu/check_fds.c: Likewise.
48430         * elf/dl-load.c: Likewise.
48431         * elf/dl-open.c: Likewise.
48432         * elf/reldep3.c: Likewise.
48433         * elf/reldep.c: Likewise.
48434         * elf/sprof.c: Likewise.
48435         * iconv/iconv_charmap.c: Likewise.
48436         * iconv/skeleton.c: Likewise.
48437         * iconv/strtab.c: Likewise.
48438         * io/lockf64.c: Likewise.
48439         * libio/libioP.h: Likewise.
48440         * resolv/gai_notify.c: Likewise.
48441         * resolv/ns_name.c: Likewise.
48442         * resolv/ns_samedomain.c: Likewise.
48443         * resolv/res_send.c: Likewise.
48444         * stdlib/random.c: Likewise.
48445         * sunrpc/rpc/xdr.h: Likewise.
48446         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48447         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48448         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48449         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48450         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48451         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48452         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48453         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48454         * sysdeps/mach/hurd/check_fds.c: Likewise.
48455         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48456         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48457         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48458         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48459         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48460         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48461         * sysdeps/pthread/aio_notify.c: Likewise.
48462         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48463         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48464         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48465         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48466         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48468 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48470         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48471         version if bit_Slow_SSE4_2 is set.
48472         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48473         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48475 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48477         [BZ #15867]
48478         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48479         trampoline stack frame information.
48480         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48481         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48482         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48483         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48484         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48485         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48486         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48487         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48488         sa_flags value.
48489         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48490         interrupting a syscall and set with option SA_SIGINFO.
48492 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48494         [BZ #15531]
48495         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48496         argument is infinite.
48497         * math/s_cprojf.c (__cprojf): Likewise.
48498         * math/s_cprojl.c (__cprojl): Likewise.
48499         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48500         * math/libm-test.inc (cproj_test_data): Add more tests.
48502         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48504         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48505         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48506         size.  Use __ffs to determine corresponding shift.
48508 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48509             Roland McGrath  <roland@hack.frob.com>
48511         * Makefile (INSTALL): Remove trailing blank lines from output of
48512         makeinfo.
48514 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48516         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48517         Align 32 bit compat elf_greg to 8 bytes.
48519 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48521         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48523 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48525         * string/strcoll_l.c (coll_seq): New structure.
48526         (get_next_seq_cached): New function.
48527         (get_next_seq): New function.
48528         (do_compare): New function.
48529         (STRCOLL): Use GNU style definition.  Simplify implementation
48530         by using get_next_seq, get_next_seq_cached and do_compare.
48532 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48534         [BZ #14699]
48535         CVE-2013-4237
48536         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48537         member.
48538         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48539         member.
48540         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48541         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48542         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48543         conditional.
48544         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48545         GETDENTS_64BIT_ALIGNED.
48546         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48547         * manual/filesys.texi (Reading/Closing Directory): Document
48548         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48549         strongly.
48550         * manual/conf.texi (Limits for Files): Add portability note to
48551         NAME_MAX, PATH_MAX.
48552         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48554 2013-08-13  Andreas Schwab  <schwab@suse.de>
48556         [BZ #15749]
48557         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48558         of fabs.
48559         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48560         LDBL_MAX_EXP >= 16384]: Add tests for it.
48562 2013-08-12  David S. Miller  <davem@davemloft.net>
48564         * version.h (RELEASE): Set to "development".
48565         (VERSION): Set to "2.18.90".
48566         * NEWS: Add 2.19 section.
48568 2013-08-03  David S. Miller  <davem@davemloft.net>
48570         * po/ko.po: Update Korean translation from translation project.
48572 2013-08-01  David S. Miller  <davem@davemloft.net>
48574         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48575         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48576         Bilka.
48578 2013-07-30  David S. Miller  <davem@davemloft.net>
48580         * po/fr.po: Update French translation from translation project.
48582 2013-07-28  David S. Miller  <davem@davemloft.net>
48584         * po/cs.po: Update Czech translation from translation project.
48586         * po/sv.po: Update Swedish translation from translation project.
48588 2013-07-27  David S. Miller  <davem@davemloft.net>
48590         * po/eo.po: Update Esperanto translation from translation project.
48592         * po/vi.po: Update Vietnamese translation from translation project.
48594         * po/de.po: Update German translation from translation project.
48596 2013-07-26  David S. Miller  <davem@davemloft.net>
48598         * po/bg.po: Update Bulgarian translation from translation project.
48600         * po/nl.po: Update Dutch translation from translation project.
48601         * po/pl.po: Update Polish translation from translation project.
48602         * po/ru.po: Update Russian translation from translation project.
48604 2013-07-24  David S. Miller  <davem@davemloft.net>
48606         * po/libc.pot: Update.
48608 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48610         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48611         variable page size.
48612         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48613         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48614         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48616 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48618         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48620 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48621             Andreas Schwab  <schwab@suse.de>
48622             Roland McGrath  <roland@hack.frob.com>
48623             Joseph Myers  <joseph@codesourcery.com>
48624             Carlos O'Donell  <carlos@redhat.com>
48626         [BZ #15755]
48627         * config.h.in: Define HAVE_PT_CHOWN.
48628         * config.make.in (build-pt-chown): New variable.
48629         * configure.in (--enable-pt_chown): New configure option.
48630         * configure: Regenerate.
48631         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48632         build-pt-chown is enabled.
48633         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48634         pt_chown to fix pty ownership.
48635         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48636         CLOSE_ALL_FDS.
48637         * manual/install.texi (Configuring and compiling): Mention
48638         --enable-pt_chown. Add @findex for grantpt.
48639         * INSTALL: Regenerate.
48641 2013-07-20  David S. Miller  <davem@davemloft.net>
48643         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48644         difference between 32-bit and 64-bit.
48646 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48648         [BZ #15711]
48649         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48650         Avoid system header dependency with -ffreestanding.
48651         ($(objpfx)bits/syscall%d): Likewise.
48653 2013-07-13  David S. Miller  <davem@davemloft.net>
48655         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48656         underflows from atanl/atan2l due to bug 15319.
48657         (casinh_test_data): Likewise.
48659 2013-07-07  David S. Miller  <davem@davemloft.net>
48661         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48663 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48665         * sysdeps/i386/fpu/libm-test-ulps: Update.
48666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48668 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48670         * configure.in (--enable-lock-elision): Fix message text.
48671         * INSTALL: Regenerate.
48672         * configure: Regenerate.
48674 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48678 2013-07-03  Andreas Jaeger  <aj@suse.de>
48680         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48681         define.
48682         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48683         (ptrace_peeksiginfo_args): Add.
48684         (__ptrace_peeksiginfo_flags): Add.
48685         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48686         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48687         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48689 2013-07-03  Allan McRae  <allan@archlinux.org>
48691         * sysdeps/i386/fpu/libm-test-ulps: Update.
48693 2013-07-02  David S. Miller  <davem@davemloft.net>
48695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48697 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48699         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48701 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48703         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48706 2013-07-02  Andi Kleen <ak@linux.intel.com>
48708         * config.h.in (ENABLE_LOCK_ELISION): Add.
48709         * configure.in (--enable-lock-elision): Add option.
48710         * manual/install.texi: Document --enable lock elision.
48711         * configure: Regenerate
48712         * INSTALL: Regenerate.
48714 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48716         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48717         SSE4.2 strcasecmp for libc.a.
48718         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48720 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48722         [BZ #13304]
48723         * soft-fp/op-common.h (_FP_FMA): New macro.
48724         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48725         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48726         (_FP_MUL_MEAT_1_imm): ... here.
48727         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48728         (_FP_MUL_MEAT_1_wide): ... here.
48729         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48730         (_FP_MUL_MEAT_1_hard): ... here.
48731         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48732         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48733         (_FP_MUL_MEAT_2_wide): ... here.
48734         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48735         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48736         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48737         (_FP_MUL_MEAT_2_gmp): ... here.
48738         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48739         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48740         (_FP_MUL_MEAT_4_wide): ... here.
48741         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48742         (_FP_MUL_MEAT_4_gmp): ... here.
48743         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48744         (_FP_WFRACBITS_DW_S): Likewise.
48745         (_FP_WFRACXBITS_DW_S): Likewise.
48746         (_FP_HIGHBIT_DW_S): Likewise.
48747         (FP_FMA_S): Likewise.
48748         (_FP_FRAC_HIGH_DW_S): Likewise.
48749         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48750         (_FP_WFRACBITS_DW_D): Likewise.
48751         (_FP_WFRACXBITS_DW_D): Likewise.
48752         (_FP_HIGHBIT_DW_D): Likewise.
48753         (FP_FMA_D): Likewise.
48754         (_FP_FRAC_HIGH_DW_D): Likewise.
48755         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48756         (_FP_WFRACBITS_DW_E): Likewise.
48757         (_FP_WFRACXBITS_DW_E): Likewise.
48758         (_FP_HIGHBIT_DW_E): Likewise.
48759         (FP_FMA_E): Likewise.
48760         (_FP_FRAC_HIGH_DW_E): Likewise.
48761         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48762         (_FP_WFRACBITS_DW_Q): Likewise.
48763         (_FP_WFRACXBITS_DW_Q): Likewise.
48764         (_FP_HIGHBIT_DW_Q): Likewise.
48765         (FP_FMA_Q): Likewise.
48766         (_FP_FRAC_HIGH_DW_Q): Likewise.
48767         * soft-fp/fmasf4.c: New file.
48768         * soft-fp/fmadf4.c: Likewise.
48769         * soft-fp/fmatf4.c: Likewise.
48771 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48773         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48774         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48775         Silvermont.
48776         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48777         macro.
48778         (index_Slow_SSE4_2): Likewise.
48779         (index_Prefer_PMINUB_for_stringop): Likewise.
48780         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48781         bit_Slow_SSE4_2 is set.
48782         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48783         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48785 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48787         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48788         rtld_global._dl_hwcap2.
48789         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48790         POWER8.
48791         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48792         POWER8 feature descriptions defined in _dl_hwcap2.
48793         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48794         string handling for POWER8 feature bits.
48795         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48796         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48797         _dl_powerpc_cap_flags.
48798         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48799         * sysdeps/powerpc/rtld-global-offsets.sym
48800         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48801         _dl_hwcap2 in the rtld_global_ro structure.
48803 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48805         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48806         hardware capabilities in support of AT_HWCAP2.
48807         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48808         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48809         GLRO(dl_hwcap2).
48810         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48811         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48812         explicitly the unknown a_type display mechanism is used.
48813         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48814         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48815         struct member.
48816         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48817         to macro prototype for AT_HWCAP2 support.
48818         * sysdeps/i386/dl-procinfo.h: Likewise.
48819         * sysdeps/s390/dl-procinfo.h: Likewise.
48820         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48821         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48822         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48823         return -1 for unknown a_type display fallback.
48824         * sysdeps/sparc/dl-procinfo.h: Likewise.
48825         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48826         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48828 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48830         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48831         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48833 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48835         [BZ #12492]
48836         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48837         mprotect making __stack_prot writable.
48839 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48840             Joseph Myers  <joseph@codesourcery.com>
48842         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48843         as being properly aligned.
48845 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48847         * dlfcn/modstatic5.c: New file.
48848         * dlfcn/tststatic5.c: New file.
48849         * dlfcn/Makefile (tests): Add tststatic5.
48850         (tests-static): Likewise.
48851         (modules-names): Add modstatic5.
48852         (tststatic5-ENV): New variable.
48853         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48855         [BZ #15022]
48856         * elf/dl-support.c (_dl_main_map): New variable.
48857         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48858         (_dl_nns, _dl_load_adds): Set to 1.
48859         (_dl_initial_searchlist): Refer to _dl_main_map.
48860         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48861         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48862         call to _dl_get_origin.
48863         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48864         around call_map.
48865         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48866         * dlfcn/modstatic3.c: New file.
48867         * dlfcn/tststatic3.c: New file.
48868         * dlfcn/tststatic4.c: New file.
48869         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48870         (tests-static): Likewise.
48871         (modules-names): Add modstatic3.
48872         (tststatic3-ENV, tststatic4-ENV): New variables.
48873         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48874         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48876 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48878         * configure.in (CC): Require GCC version 4.4 or later.
48879         * configure: Regenerated.
48880         * manual/install.texi (Tools for Compilation): Update GCC version
48881         requirement.
48882         * INSTALL: Regenerated.
48884 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48886         [BZ #15674]
48887         * string/test-memcmp.c (check2): New.
48888         (main): Call check2.
48890         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48892 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48894         [BZ #15022]
48895         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48896         over to...
48897         (dl_open_worker) [!SHARED]: ... here.
48899 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48901         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48903 2013-06-25  Richard Henderson  <rth@redhat.com>
48905         * locale/programs/locarchive.c: Include <libc-internal.h>
48907 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48909         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48910         trailing whitespace removed.
48912 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48914         [BZ #10283]
48915         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48916         * locale/programs/locarchive.c: Include libc-mmap.h.
48917         (prepare_address_space): Take two new outputs (the mmap base and len).
48918         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48919         values.
48920         (create_archive): Declare new mmap base and len values for
48921         prepare_address_space, and store the result in ah.
48922         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48923         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48924         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48925         Declare new mmap base and len values for
48926         prepare_address_space, and store the result in new_ah.
48927         (open_archive): Declare new mmap base and len values for
48928         prepare_address_space, and store the result in ah.
48929         (close_archive): If ah->mmap_base is not NULL, use that and
48930         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48931         * sysdeps/generic/libc-mmap.h: New file.
48933 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48935         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48936         (ALIGN_UP): Likewise.
48937         (PTR_ALIGN_DOWN): Likewise.
48938         (PTR_ALIGN_UP): Likewise.
48940 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48942         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48943         entry mapped to PPC_PLATFORM_POWER8.
48944         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48945         POWER8.
48946         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48947         (_dl_string_platform): Add case for exporting platform position for
48948         POWER8.
48949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48950         search path to sysdeps/powerpc/powerpc32/power8 directory.
48951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48952         search path to sysdeps/powerpc/powerpc64/power8 directory.
48953         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48954         power7 directories.
48955         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48956         power7 directories.
48958 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48960         * INSTALL: Regenerate.
48962         * nscd/connections.c (nscd_init): Fix comment.
48964 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48966         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48968         [BZ #15667]
48969         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48970         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48972 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48974         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48975         DL_DST_REQ_STATIC.
48976         (DL_DST_REQ_STATIC): Remove macro.
48978 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48980         [BZ #7006]
48981         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48982         with a shift of 0 bits.
48984 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48986         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48987         $(tststatic-ENV).
48989 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48991         [BZ #15655]
48992         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48994 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48996         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48997         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48998         accepts -fno-tree-loop-distribute-patterns.
48999         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49000         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49001         recursive call.
49002         * string/memset.c (memset): Likewise.
49003         * string/test-memmove.c (simple_memmove): Disable loop transformation
49004         to library calls.
49005         * string/test-memset.c (simple_memset): Likewise.
49006         * benchtests/bench-memmove.c (simple_memmove): Likewise.
49007         * benchtests/bench-memset.c (simple_memset): Likewise.
49008         * configure: Regenerated.
49010 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
49012         * math/test-misc.c (main): Ignore fesetround failure when failures
49013         of subsequent rounding tests would be ignored.
49015         [BZ #15654]
49016         * math/fedisblxcpt.c (fedisableexcept): Return 0.
49017         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49018         * math/fegetenv.c (__fegetenv): Return 0.
49019         * math/fegetexcept.c (fegetexcept): Return 0.
49020         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49021         FE_TONEAREST.
49022         * math/feholdexcpt.c (feholdexcept): Return 0.
49023         * math/fesetenv.c (__fesetenv): Return 0.
49024         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49025         argument FE_TONEAREST.
49026         * math/feupdateenv.c (__feupdateenv): Return 0.
49027         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49029 2013-06-18  Roland McGrath  <roland@hack.frob.com>
49031         * elf/rtld-Rules (rtld-compile-command.S): New variable.
49032         (rtld-compile-command.s, rtld-compile-command.c): New variables.
49033         ($(objpfx)rtld-%.os rules): Use them.
49035 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49037         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49038         fields.
49040 2013-06-17  Roland McGrath  <roland@hack.frob.com>
49042         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49043         length of target pattern, then descending length of dependency pattern.
49044         * configure.in (AWK): Require gawk 3.1.2 or newer.
49045         * manual/install.texi (Tools for Compilation): Say that we do.
49046         * configure: Regenerated.
49048         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49049         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49050         * scripts/sysd-rules.awk: ... this new script.
49051         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49052         than a glob-style pattern.
49054 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
49056         * math/test-misc.c (main): Do not treat incorrectly rounded
49057         conversions as failure unless ROUNDING_TESTS passes.
49059 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
49061         [BZ #15631]
49062         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49063         restore exception state around main square root computation, then
49064         check for inexactness explicitly.
49066         * math/libm-test.inc (fma_test_data): Add another test.
49068 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49070         * manual/threads.texi (Non-POSIX Extensions): New document
49071         node.  Document pthread_getattr_default_np and
49072         pthread_setattr_default_np.
49074         * Versions.def (libpthread): Add GLIBC_2.18.
49075         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49077         Likewise.
49078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49079         Likewise.
49080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49081         Likewise.
49082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49083         Likewise.
49084         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49085         Likewise.
49086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49087         Likewise.
49088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49089         Likewise.
49090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49091         Likewise.
49092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49093         Likewise.
49095 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49097         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49098         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49100 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49101             H.J. Lu  <hjl.tools@gmail.com>
49103         [BZ #15627]
49104         * sysdeps/x86_64/rtld-memset.c: Remove file.
49105         * sysdeps/x86_64/rtld-memset.S: New file.
49107 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
49109         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49110         (test_in_one_mode): Take arguments for whether the rounding mode
49111         is supported for each floating-point type.
49112         (do_test): Pass new arguments to test_in_one_mode using
49113         ROUNDING_TESTS.
49115 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49117         * posix/tst-waitid.c (do_test): Distinguish different instances of
49118         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
49119         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49120         before entering the kernel for waitpid.
49122 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49124         * NEWS: Fix note on clock function precision.  Text by Roland
49125         McGrath.
49127 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49129         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49130         it into place only when and if the sanity check passes.
49132 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
49134         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49135         output for whether conversion result is exact.  Take argument
49136         indicating whether type is IBM long double.
49137         (round_for_all): Change need_exact field to ibm_ld.
49138         * stdlib/tst-strtod-round.c (struct exactness): New type.
49139         (struct test): Change bool ld_ok field to struct exactness exact.
49140         (TEST): Update all definitions for change to field.
49141         (tests): Regenerate array contents.
49142         (test_in_one_mode): Take pointer to new field instead of old ld_ok
49143         field value.  Check for IBM long double here.
49144         (do_test): Update calls to test_in_one_mode.
49146 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49148         [BZ #12515]
49149         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49150         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49152 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49154         [BZ #15605]
49155         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49156         generated by the compiler on loop optimizations.
49157         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49158         general definitions.
49160 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49162         * math/bug-nextafter.c: Include <math-tests.h>.
49163         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49164         the relevant type.
49165         * math/bug-nexttoward.c: Include <math-tests.h>.
49166         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49167         the relevant type.
49168         * math/test-misc.c: Include <math-tests.h>.
49169         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49170         the relevant type.
49172 2013-06-12  Andreas Jaeger  <aj@suse.de>
49174         * po/ia.po: Update Interlingua translation from translation
49175         project.
49177 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49179         * include/fenv.h: Include stdbool.h.
49180         (struct rm_ctx): New structure.
49181         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49182         Define macro.
49183         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49184         (SET_RESTORE_ROUNDF): Likewise.
49185         (SET_RESTORE_ROUNDL): Likewise.
49186         (SET_RESTORE_ROUND_NOEX): Likewise.
49187         (SET_RESTORE_ROUND_NOEXF): Likewise.
49188         (SET_RESTORE_ROUND_NOEXL): Likewise.
49189         (SET_RESTORE_ROUND_53BIT): Likewise.
49190         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49191         (libc_feresetround_noexf_ctx): Likewise.
49192         (libc_feresetround_noexl_ctx): Likewise.
49193         (libc_feholdsetround_53bit_ctx): Likewise.
49194         (libc_feresetround_53bit_ctx): Likewise.
49195         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49196         (libc_feholdexcept_setround_sse_ctx): New function.
49197         (libc_fesetenv_sse_ctx): Likewise.
49198         (libc_feupdateenv_sse_ctx): Likewise.
49199         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49200         (libc_feholdexcept_setround_387_ctx): Likewise.
49201         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49202         (libc_feholdsetround_387_prec_ctx): Likewise.
49203         (libc_feholdsetround_387_ctx): Likewise.
49204         (libc_feholdsetround_387_53bit_ctx): Likewise.
49205         (libc_feholdsetround_sse_ctx): Likewise.
49206         (libc_feresetround_sse_ctx): Likewise.
49207         (libc_feresetround_387_ctx): Likewise.
49208         (libc_feupdateenv_387_ctx): Likewise.
49209         (libc_feholdexcept_setroundf_ctx): Define macro.
49210         (libc_fesetenvf_ctx): Likewise.
49211         (libc_feupdateenvf_ctx): Likewise.
49212         (libc_feholdsetroundf_ctx): Likewise.
49213         (libc_feresetroundf_ctx): Likewise.
49214         (libc_feholdexcept_setround_ctx): Likewise.
49215         (libc_fesetenv_ctx): Likewise.
49216         (libc_feupdateenv_ctx): Likewise.
49217         (libc_feholdsetround_ctx): Likewise.
49218         (libc_feresetround_ctx): Likewise.
49219         (libc_feholdexcept_setroundl_ctx): Likewise.
49220         (libc_feupdateenvl_ctx): Likewise.
49221         (libc_feholdsetroundl_ctx): Likewise.
49222         (libc_feresetroundl_ctx): Likewise.
49223         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49224         (libc_feresetround_53bit_ctx): Likewise.
49226 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49228         * locale/iso-639.def: Convert to UTF-8.
49230 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49232         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49233         (EXCEPTION_TESTS_double): Likewise.
49234         (EXCEPTION_TESTS_long_double): Likewise.
49235         (EXCEPTION_TESTS): Likewise.
49236         * math/libm-test.inc (test_exceptions): Only test exceptions if
49237         EXCEPTION_TESTS (FLOAT).
49239 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49241         * benchtests/Makefile (string-bench): Add strcpy_chk and
49242         stpcpy_chk.
49243         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49244         * benchtests/bench-stpcpy_chk.c: New file.
49245         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49246         * benchtests/bench-strcpy_chk.c: New file.
49247         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49248         code.
49249         (do_test): Likewise.
49251 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49253         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49254         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49255         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49256         with tabs where appropriate.
49257         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49258         dl-procinfo.h.
49259         [PPC_PLATFORM_PPC440]: Likewise.
49260         [PPC_PLATFORM_PPC464]: Likewise.
49261         [PPC_PLATFORM_PPC476]: Likewise.
49262         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49263         ppc464, and ppc476 platform strings merging from ports/
49264         dl-procinfo.h.
49266 2013-06-11  Andreas Schwab  <schwab@suse.de>
49268         [BZ #14991]
49269         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49270         (from_ucs4_idx): Regenerate.
49271         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49272         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49273         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49274         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49275         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49276         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49277         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49278         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49279         from FROM_LOOP and TO_LOOP specific macros.
49280         (BODY): Handle combining characters.
49281         * iconvdata/BIG5HKSCS.irreversible: Update.
49282         * iconvdata/BIG5HKSCS.precomposed: New file.
49283         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49284         characters.
49285         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49287 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49289         * include/sys/time.h: Fix indentation and add copyright header.
49291         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49292         (do_test): Likewise.
49293         * string/test-memchr.c (do_one_test): Likewise.
49294         (do_test): Likewise.
49295         * string/test-memcmp.c (do_one_test): Likewise.
49296         (do_test): Likewise.
49297         * string/test-memcpy.c (do_one_test): Likewise.
49298         (do_test): Likewise.
49299         * string/test-memmem.c (do_one_test): Likewise.
49300         (do_test): Likewise.
49301         (do_random_tests): Likewise.
49302         * string/test-memmove.c (do_one_test): Likewise.
49303         (do_test): Likewise.
49304         * string/test-memset.c (do_one_test): Likewise.
49305         (do_test): Likewise.
49306         * string/test-rawmemchr.c (do_one_test): Likewise.
49307         (do_test): Likewise.
49308         * string/test-strcasecmp.c (do_one_test): Likewise.
49309         (do_test): Likewise.
49310         * string/test-strcasestr.c (do_one_test): Likewise.
49311         (do_test): Likewise.
49312         * string/test-strcat.c (do_one_test): Likewise.
49313         (do_test): Likewise.
49314         * string/test-strchr.c (do_one_test): Likewise.
49315         (do_test): Likewise.
49316         * string/test-strcmp.c (do_one_test): Likewise.
49317         (do_test): Likewise.
49318         * string/test-strcpy.c (do_one_test): Likewise.
49319         (do_test): Likewise.
49320         * string/test-string.h: Likewise.
49321         (test_init): Likewise.
49322         * string/test-strlen.c (do_one_test): Likewise.
49323         (do_test): Likewise.
49324         * string/test-strncasecmp.c (do_one_test): Likewise.
49325         (do_test): Likewise.
49326         * string/test-strncat.c (do_one_test): Likewise.
49327         (do_test): Likewise.
49328         * string/test-strncmp.c (do_one_test): Likewise.
49329         (do_test_limit): Likewise.
49330         (do_test): Likewise.
49331         * string/test-strncpy.c (do_one_test): Likewise.
49332         (do_test): Likewise.
49333         * string/test-strnlen.c (do_one_test): Likewise.
49334         (do_test): Likewise.
49335         * string/test-strpbrk.c (do_one_test): Likewise.
49336         (do_test): Likewise.
49337         * string/test-strrchr.c (do_one_test): Likewise.
49338         (do_test): Likewise.
49339         * string/test-strspn.c (do_one_test): Likewise.
49340         (do_test): Likewise.
49341         * string/test-strstr.c (do_one_test): Likewise.
49342         (do_test): Likewise.
49344         * benchtests/Makefile (string-bench): Add string benchmarks.
49345         * benchtests/bench-bcopy-ifunc.c: New file.
49346         * benchtests/bench-bcopy.c: New file.
49347         * benchtests/bench-bzero-ifunc.c: New file.
49348         * benchtests/bench-bzero.c: New file.
49349         * benchtests/bench-memccpy-ifunc.c: New file.
49350         * benchtests/bench-memccpy.c: New file.
49351         * benchtests/bench-memchr-ifunc.c: New file.
49352         * benchtests/bench-memchr.c: New file.
49353         * benchtests/bench-memcmp-ifunc.c: New file.
49354         * benchtests/bench-memcmp.c: New file.
49355         * benchtests/bench-memmem-ifunc.c: New file.
49356         * benchtests/bench-memmem.c: New file.
49357         * benchtests/bench-memmove-ifunc.c: New file.
49358         * benchtests/bench-memmove.c: New file.
49359         * benchtests/bench-mempcpy-ifunc.c: New file.
49360         * benchtests/bench-mempcpy.c: New file.
49361         * benchtests/bench-memset-ifunc.c: New file.
49362         * benchtests/bench-memset.c: New file.
49363         * benchtests/bench-rawmemchr-ifunc.c: New file.
49364         * benchtests/bench-rawmemchr.c: New file.
49365         * benchtests/bench-stpcpy-ifunc.c: New file.
49366         * benchtests/bench-stpcpy.c: New file.
49367         * benchtests/bench-stpncpy-ifunc.c: New file.
49368         * benchtests/bench-stpncpy.c: New file.
49369         * benchtests/bench-strcasecmp-ifunc.c: New file.
49370         * benchtests/bench-strcasecmp.c: New file.
49371         * benchtests/bench-strcasestr-ifunc.c: New file.
49372         * benchtests/bench-strcasestr.c: New file.
49373         * benchtests/bench-strcat-ifunc.c: New file.
49374         * benchtests/bench-strcat.c: New file.
49375         * benchtests/bench-strchr-ifunc.c: New file.
49376         * benchtests/bench-strchr.c: New file.
49377         * benchtests/bench-strchrnul-ifunc.c: New file.
49378         * benchtests/bench-strchrnul.c: New file.
49379         * benchtests/bench-strcmp-ifunc.c: New file.
49380         * benchtests/bench-strcmp.c: New file.
49381         * benchtests/bench-strcpy-ifunc.c: New file.
49382         * benchtests/bench-strcpy.c: New file.
49383         * benchtests/bench-strcspn-ifunc.c: New file.
49384         * benchtests/bench-strcspn.c: New file.
49385         * benchtests/bench-strlen-ifunc.c: New file.
49386         * benchtests/bench-strlen.c: New file.
49387         * benchtests/bench-strncasecmp-ifunc.c: New file.
49388         * benchtests/bench-strncasecmp.c: New file.
49389         * benchtests/bench-strncat-ifunc.c: New file.
49390         * benchtests/bench-strncat.c: New file.
49391         * benchtests/bench-strncmp-ifunc.c: New file.
49392         * benchtests/bench-strncmp.c: New file.
49393         * benchtests/bench-strncpy-ifunc.c: New file.
49394         * benchtests/bench-strncpy.c: New file.
49395         * benchtests/bench-strnlen-ifunc.c: New file.
49396         * benchtests/bench-strnlen.c: New file.
49397         * benchtests/bench-strpbrk-ifunc.c: New file.
49398         * benchtests/bench-strpbrk.c: New file.
49399         * benchtests/bench-strrchr-ifunc.c: New file.
49400         * benchtests/bench-strrchr.c: New file.
49401         * benchtests/bench-strspn-ifunc.c: New file.
49402         * benchtests/bench-strspn.c: New file.
49403         * benchtests/bench-strstr-ifunc.c: New file.
49404         * benchtests/bench-strstr.c: New file.
49406         * benchtests/Makefile: Disable parallel execution of targets.
49407         (string-bench): Add memcpy.
49408         (benchset): New variable to store a list of benchmark sets.
49409         (bench-func): Renamed from bench.
49410         (bench-set): New target.
49411         (bench): Depend on bench-func and bench-set.
49412         * benchtests/README: Add section on benchmark sets.
49413         * benchtests/bench-memcpy-ifunc.c: New file.
49414         * benchtests/bench-memcpy.c: New file.
49415         * benchtests/bench-string.h: New file.
49417 2013-06-11  Andreas Schwab  <schwab@suse.de>
49419         [BZ #15577]
49420         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49421         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49422         values in the triple.
49423         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49424         terminator in the group key.
49426 2013-06-11  Andreas Jaeger  <aj@suse.de>
49428         * po/zh_TW.po: Update Chinese (traditional) translation from
49429         translation project.
49431 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49433         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49434         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49435         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49436         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49437         (clock_getcpuclockid): Likewise.
49438         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49439         Add weak_alias and libc_hidden_def.
49440         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49441         * rt/clock_gettime.c (clock_gettime): Rename to
49442         __clock_gettime.  Add weak_alias and libc_hidden_def.
49443         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49444         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49445         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49446         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49447         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49448         Likewise.
49449         * rt/clock_settime.c (clock_settime): Rename to
49450         __clock_settime.  Add weak_alias and libc_hidden_def.
49451         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49453 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49455         * mach/err_boot.sub: Remove trailing whitespace.
49456         * mach/err_ipc.sub: Likewise.
49457         * mach/err_mach.sub: Likewise.
49459         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49460         (ROUNDING_TESTS_double): Likewise.
49461         (ROUNDING_TESTS_long_double): Likewise.
49462         (ROUNDING_TESTS): Likewise.
49463         * math/libm-test.inc: Include <math-tests.h>.
49464         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49465         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49466         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49467         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49469 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49471         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49472         of assigning.
49474 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49476         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49477         otherwise empty TRANS lines.
49478         * sysdeps/gnu/errlist.c: Regenerated.
49480         * catgets/gencat.c (error_print): Use (void) in function
49481         definition.
49482         * crypt/crypt_util.c (__init_des): Likewise.
49483         * crypt/speeds.c (Stop): Likewise.
49484         (main): Likewise.
49485         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49486         * inet/ruserpass.c (token): Likewise.
49487         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49488         * intl/localealias.c (extend_alias_table): Likewise.
49489         * intl/plural-exp.c (init_germanic_plural): Likewise.
49490         * libio/fcloseall.c (__fcloseall): Likewise.
49491         * libio/genops.c (_IO_flush_all): Likewise.
49492         (_IO_flush_all_linebuffered): Likewise.
49493         (_IO_cleanup): Likewise.
49494         (_IO_iter_begin): Likewise.
49495         (_IO_iter_end): Likewise.
49496         (_IO_list_lock): Likewise.
49497         (_IO_list_unlock): Likewise.
49498         (_IO_list_resetlock): Likewise.
49499         * libio/getchar.c (getchar): Likewise.
49500         * libio/getchar_u.c (getchar_unlocked): Likewise.
49501         * libio/getwchar.c (getwchar): Likewise.
49502         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49503         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49504         * login/getpt.c (__getpt): Likewise.
49505         * login/tst-utmp.c (main): Likewise.
49506         * malloc/hooks.c (__malloc_check_init): Likewise.
49507         * malloc/malloc.c (__malloc_stats): Likewise.
49508         * malloc/mtrace.c (tr_break): Likewise.
49509         (mtrace): Likewise.
49510         (muntrace): Likewise.
49511         * misc/fstab.c (endfsent): Likewise.
49512         * misc/getclktck.c (__getclktck): Likewise.
49513         * misc/getdtsz.c (__getdtablesize): Likewise.
49514         * misc/gethostid.c (gethostid): Likewise.
49515         * misc/getpagesize.c (__getpagesize): Likewise.
49516         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49517         (__get_nprocs): Likewise.
49518         (__get_phys_pages): Likewise.
49519         (__get_avphys_pages): Likewise.
49520         * misc/getttyent.c (getttyent): Likewise.
49521         (setttyent): Likewise.
49522         (endttyent): Likewise.
49523         * misc/getusershell.c (getusershell): Likewise.
49524         (endusershell): Likewise.
49525         (setusershell): Likewise.
49526         (initshells): Likewise.
49527         * misc/hsearch.c (__hdestroy): Likewise.
49528         * misc/sync.c (sync): Likewise.
49529         * misc/syslog.c (closelog_internal): Likewise.
49530         (closelog): Likewise.
49531         * misc/ttyslot.c (ttyslot): Likewise.
49532         * misc/vhangup.c (vhangup): Likewise.
49533         * posix/fork.c (__fork): Likewise.
49534         * posix/getegid.c (__getegid): Likewise.
49535         * posix/geteuid.c (__geteuid): Likewise.
49536         * posix/getgid.c (__getgid): Likewise.
49537         * posix/getpid.c (__getpid): Likewise.
49538         * posix/getppid.c (__getppid): Likewise.
49539         * posix/getuid.c (__getuid): Likewise.
49540         * posix/pause.c (pause): Likewise.
49541         * posix/setpgrp.c (setpgrp): Likewise.
49542         * posix/setsid.c (__setsid): Likewise.
49543         * posix/test-vfork.c (noop): Likewise.
49544         * resolv/gethnamaddr.c (_endhtent): Likewise.
49545         (_gethtent): Likewise.
49546         (ht_endhostent): Likewise.
49547         (gethostent): Likewise.
49548         (dns_service): Likewise.
49549         * stdlib/drand48.c (drand48): Likewise.
49550         * stdlib/lrand48.c (lrand48): Likewise.
49551         * stdlib/mrand48.c (mrand48): Likewise.
49552         * stdlib/rand.c (rand): Likewise.
49553         * stdlib/random.c (__random): Likewise.
49554         * stdlib/setenv.c (clearenv): Likewise.
49555         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49556         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49557         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49558         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49559         (__get_nprocs): Likewise.
49560         (__get_phys_pages): Likewise.
49561         (__get_avphys_pages): Likewise.
49562         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49563         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49564         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49565         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49566         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49567         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49568         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49569         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49570         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49571         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49572         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49573         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49574         * sysdeps/posix/clock.c (clock): Likewise.
49575         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49576         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49577         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49578         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49579         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49580         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49581         (__get_nprocs_conf): Likewise.
49582         (__get_phys_pages): Likewise.
49583         (__get_avphys_pages): Likewise.
49584         * time/clock.c (clock): Likewise.
49585         * time/tzset.c (__tzname_max): Likewise.
49587 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49589         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49590         (__bswap_32): Do not use "register".
49591         * crypt/crypt.c (_ufc_doit_r): Likewise.
49592         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49593         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49594         * gmon/gmon.c (__monstartup): Likewise.
49595         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49596         * hurd/hurdmalloc.c (more_memory): Likewise.
49597         (malloc): Likewise.
49598         (free): Likewise.
49599         (realloc): Likewise.
49600         (malloc_fork_prepare): Likewise.
49601         (malloc_fork_parent): Likewise.
49602         (malloc_fork_child): Likewise.
49603         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49604         (_svcauth_des): Likewise.
49605         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49606         * inet/inet_net.c (inet_network): Likewise.
49607         * inet/inet_netof.c (inet_netof): Likewise.
49608         * inet/rcmd.c (__validuser2_sa): Likewise.
49609         * io/fts.c (fts_open): Likewise.
49610         (fts_load): Likewise.
49611         (fts_close): Likewise.
49612         (fts_read): Likewise.
49613         (fts_children): Likewise.
49614         (fts_build): Likewise.
49615         (fts_stat): Likewise.
49616         (fts_sort): Likewise.
49617         (fts_alloc): Likewise.
49618         (fts_lfree): Likewise.
49619         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49620         (_IO_file_xsgetn): Likewise.
49621         (_IO_file_xsgetn_mmap): Likewise.
49622         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49623         (_IO_cookie_write): Likewise.
49624         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49625         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49626         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49627         * malloc/obstack.c (_obstack_begin): Likewise.
49628         (_obstack_begin_1): Likewise.
49629         (_obstack_newchunk): Likewise.
49630         (_obstack_allocated_p): Likewise.
49631         (obstack_free): Likewise.
49632         (_obstack_memory_used): Likewise.
49633         * misc/getttyent.c (getttynam): Likewise.
49634         (getttyent): Likewise.
49635         (skip): Likewise.
49636         (value): Likewise.
49637         * misc/getusershell.c (initshells): Likewise.
49638         * misc/syslog.c (__vsyslog_chk): Likewise.
49639         * misc/ttyslot.c (ttyslot): Likewise.
49640         * nis/nis_hash.c (__nis_hash): Likewise.
49641         * posix/fnmatch_loop.c (FCT): Likewise.
49642         * posix/getconf.c (print_all): Likewise.
49643         (main): Likewise.
49644         * posix/getopt.c (exchange): Likewise.
49645         * posix/glob.c (globfree): Likewise.
49646         (prefix_array): Likewise.
49647         (__glob_pattern_type): Likewise.
49648         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49649         (NS_GET32): Likewise.
49650         (NS_PUT16): Likewise.
49651         (NS_PUT32): Likewise.
49652         * resolv/gethnamaddr.c (getanswer): Likewise.
49653         (gethostbyname2): Likewise.
49654         (gethostbyaddr): Likewise.
49655         (_gethtent): Likewise.
49656         (_gethtbyname2): Likewise.
49657         (_gethtbyaddr): Likewise.
49658         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49659         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49660         * resolv/res_init.c (__res_vinit): Likewise.
49661         (net_mask): Likewise.
49662         * resolv/res_mkquery.c (outchar): Likewise.
49663         (PRINT): Likewise.
49664         * stdio-common/printf_fp.c (outchar): Likewise.
49665         (PRINT): Likewise.
49666         * stdio-common/printf_fphex.c (outchar): Likewise.
49667         (PRINT): Likewise.
49668         * stdio-common/printf_size.c (outchar): Likewise.
49669         (PRINT): Likewise.
49670         * stdio-common/test_rdwr.c (main): Likewise.
49671         * stdio-common/tfformat.c (matches): Likewise.
49672         * stdio-common/vfprintf.c (outchar): Likewise.
49673         (printf_unknown): Likewise.
49674         (buffered_vfprintf): Likewise.
49675         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49676         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49677         (ReadFile): Likewise.
49678         * stdlib/qsort.c (SWAP): Likewise.
49679         (_quicksort): Likewise.
49680         * stdlib/setenv.c (__add_to_environ): Likewise.
49681         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49682         * stdlib/strtol_l.c (__strtol_l): Likewise.
49683         * stdlib/tst-strtod.c (main): Likewise.
49684         * stdlib/tst-strtol.c (main): Likewise.
49685         * stdlib/tst-strtoll.c (main): Likewise.
49686         * string/bits/string2.h (__strcmp_cc): Likewise.
49687         (__strcmp_cg): Likewise.
49688         (__strcspn_c1): Likewise.
49689         (__strcspn_c2): Likewise.
49690         (__strcspn_c3): Likewise.
49691         (__strspn_c1): Likewise.
49692         (__strspn_c2): Likewise.
49693         (__strspn_c3): Likewise.
49694         (__strsep_1c): Likewise.
49695         (__strsep_2c): Likewise.
49696         (__strsep_3c): Likewise.
49697         * string/memccpy.c (__memccpy): Likewise.
49698         * string/stpcpy.c (__stpcpy): Likewise.
49699         * string/strcmp.c (strcmp): Likewise.
49700         * string/strrchr.c (strrchr): Likewise.
49701         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49702         Likewise.
49703         * sysdeps/mach/hurd/getcwd.c
49704         (_hurd_canonicalize_directory_name_internal): Likewise.
49705         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49706         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49707         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49708         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49709         Likewise, in both definitions.
49710         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49711         definitions.
49712         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49713         64] (__bswap_64): Likewise.
49714         * time/test_time.c (main): Likewise.
49715         * time/tzfile.c (__tzfile_read): Likewise.
49716         (__tzfile_compute): Likewise.
49717         * time/tzset.c (__tzset_parse_tz): Likewise.
49718         (tzset_internal): Likewise.
49719         (compute_change): Likewise.
49720         * wcsmbs/wcscat.c (__wcscat): Likewise.
49721         * wcsmbs/wcschr.c (wcschr): Likewise.
49722         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49723         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49724         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49725         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49726         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49727         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49728         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49729         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49730         * wcsmbs/wmemset.c (wmemset): Likewise.
49732 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49734         * scripts/config.guess: Update to version 2013-05-16.
49735         * scripts/config.sub: Update to version 2013-04-24.
49736         * scripts/install-sh: Update to version 2011-11-20.07.
49737         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49738         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49740 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49742         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49743         * elf/sln.c: Likewise.
49744         * hurd/hurd/ioctl.h: Likewise.
49745         * hurd/hurdmalloc.c: Likewise.
49746         * hurd/xattr.c: Likewise.
49747         * include/shlib-compat.h: Likewise.
49748         * inet/ruserpass.c: Likewise.
49749         * libio/iofgets_u.c: Likewise.
49750         * libio/iofgetws_u.c: Likewise.
49751         * locale/programs/ld-identification.c: Likewise.
49752         * locale/programs/ld-time.c: Likewise.
49753         * mach/msg-destroy.c: Likewise.
49754         * nss/nss_files/files-netgrp.c: Likewise.
49755         * resolv/res_data.c: Likewise.
49756         * soft-fp/op-1.h: Likewise.
49757         * soft-fp/op-2.h: Likewise.
49758         * soft-fp/op-4.h: Likewise.
49759         * soft-fp/op-common.h: Likewise.
49760         * stdio-common/printf_fphex.c: Likewise.
49761         * stdlib/strtod_l.c: Likewise.
49762         * sunrpc/rpc/clnt.h: Likewise.
49763         * sysdeps/generic/framestate.c: Likewise.
49764         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49765         * sysdeps/i386/bsd-setjmp.S: Likewise.
49766         * sysdeps/i386/__longjmp.S: Likewise.
49767         * sysdeps/i386/setjmp.S: Likewise.
49768         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49769         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49770         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49771         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49772         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49773         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49774         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49775         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49776         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49777         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49778         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49779         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49780         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49781         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49782         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49783         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49784         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49785         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49786         * sysdeps/ieee754/support.c: Likewise.
49787         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49788         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49789         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49790         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49791         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49792         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49793         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49794         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49795         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49796         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49797         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49798         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49799         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49800         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49801         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49802         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49803         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49806 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49808         * posix/transbug.c: Remove executable mode.
49810 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49812         * crypt/speeds.c: Remove trailing whitespace.
49813         * dlfcn/default.c: Likewise.
49814         * elf/ifuncdep2.c: Likewise.
49815         * elf/ifuncmain1.c: Likewise.
49816         * elf/ifuncmain1vis.c: Likewise.
49817         * elf/testobj.h: Likewise.
49818         * elf/tst-stackguard1.c: Likewise.
49819         * gmon/sys/gmon.h: Likewise.
49820         * hurd/hurdmsg.c: Likewise.
49821         * hurd/new-fd.c: Likewise.
49822         * hurd/ports-get.c: Likewise.
49823         * iconvdata/ibm1008_420.c: Likewise.
49824         * inet/tst-getni1.c: Likewise.
49825         * inet/tst-getni2.c: Likewise.
49826         * libio/ioungetc.c: Likewise.
49827         * libio/wfiledoalloc.c: Likewise.
49828         * manual/libm-err-tab.pl: Likewise.
49829         * math/w_dremf.c: Likewise.
49830         * misc/ftruncate.c: Likewise.
49831         * posix/bug-glob2.c: Likewise.
49832         * posix/tst-pcre.c: Likewise.
49833         * posix/wait4.c: Likewise.
49834         * resolv/README: Likewise.
49835         * resolv/res_debug.h: Likewise.
49836         * resolv/tst-inet_ntop.c: Likewise.
49837         * setjmp/bug269-setjmp.c: Likewise.
49838         * soft-fp/extended.h: Likewise.
49839         * soft-fp/op-1.h: Likewise.
49840         * soft-fp/op-2.h: Likewise.
49841         * soft-fp/op-4.h: Likewise.
49842         * soft-fp/op-8.h: Likewise.
49843         * soft-fp/testit.c: Likewise.
49844         * stdio-common/bug16.c: Likewise.
49845         * stdlib/random.c: Likewise.
49846         * sunrpc/rpcsvc/rquota.x: Likewise.
49847         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49848         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49849         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49850         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49851         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49852         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49853         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49854         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49855         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49856         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49857         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49858         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49859         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49860         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49861         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49862         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49863         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49864         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49865         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49866         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49867         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49868         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49869         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49870         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49871         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49872         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49873         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49874         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49875         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49876         * sysdeps/ieee754/s_lib_version.c: Likewise.
49877         * sysdeps/mach/hurd/check_fds.c: Likewise.
49878         * sysdeps/mach/hurd/getsockname.c: Likewise.
49879         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49880         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49881         * sysdeps/powerpc/bits/link.h: Likewise.
49882         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49883         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49884         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49885         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49886         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49887         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49888         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49889         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49890         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49891         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49892         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49893         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49894         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49895         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49896         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49897         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49898         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49899         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49900         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49901         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49902         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49903         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49904         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49905         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49906         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49907         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49908         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49909         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49910         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49911         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49912         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49913         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49914         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49915         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49916         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49917         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49918         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49919         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49920         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49921         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49922         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49923         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49924         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49925         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49926         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49927         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49928         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49929         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49930         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49931         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49932         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49933         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49934         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49935         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49936         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49937         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49938         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49939         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49940         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49941         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49942         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49943         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49944         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49945         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49946         * sysdeps/powerpc/sysdep.h: Likewise.
49947         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49948         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49949         * sysdeps/sh/dl-trampoline.S: Likewise.
49950         * sysdeps/sh/memset.S: Likewise.
49951         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49952         * sysdeps/sh/strlen.S: Likewise.
49953         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49954         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49955         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49956         * sysdeps/sparc/sparc32/rem.S: Likewise.
49957         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49958         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49959         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49960         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49961         * sysdeps/sparc/sparc32/urem.S: Likewise.
49962         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49963         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49964         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49965         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49966         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49967         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49968         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49969         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49970         * sysdeps/unix/bsd/times.c: Likewise.
49971         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49972         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49976         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49977         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49978         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49979         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49980         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49981         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49982         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49983         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49984         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49985         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49986         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49987         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49988         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49989         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49990         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49991         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49992         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49993         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49994         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49995         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49996         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49997         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49998         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49999         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50000         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50001         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50002         * sysdeps/x86_64/strcspn.S: Likewise.
50004 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50006         * locale/C-translit.h: Revert #include <stdint.h> because this is a
50007         generated file.  Regenerate properly from gen-translit.pl.
50008         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
50009         locale/C-translit.h.
50011 2013-06-05  Andreas Schwab  <schwab@suse.de>
50013         [BZ #15100]
50014         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50015         week as 6 instead of -1.
50016         * time/tst-strptime.c (day_tests): Add test case.
50018 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50020         * sysdeps/generic/math_private.h
50021         (libc_feholdexcept_setround_53bit): Replace with
50022         libc_feholdsetround_53bit.
50023         (libc_feupdateenv_53bit): Replace with
50024         libc_feresetround_53bit.
50025         (SET_RESTORE_ROUND_53BIT): Adjust.
50027 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50029         * string/test-strchrnul.c: Add copyright header.
50031         * posix/tst-getaddrinfo4.c: Increase test timeout.
50033 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
50035         [BZ #15536]
50036         * math/libm-test.inc (MAX_EXP): Remove
50037         (MIN_EXP): Define.
50038         (ulp): Use MIN_EXP - MANT_DIG.
50039         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50041 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
50043         * po/be.po: Revert last change.
50044         * po/zh_CN.po: Likewise.
50045         * po/header.pot: Likewise.
50047 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
50049         * Makefile ($(common-objpfx)linkobj/libc.so): Define
50050         link-libc-deps to empty as target-specific variable.
50051         * Makerules (link-libc-args): New variable.
50052         (libc-for-link): Likewise.
50053         (link-libc-deps): Likewise.
50054         (lib%.so): Depend on $(link-libc-deps).  Link with
50055         $(link-libc-args).
50056         (build-module): Link with $(link-libc-args).
50057         (build-module-asneeded): Likewise.
50058         (build-module-helper-objlist): Filter out $(link-libc-deps) from
50059         list of objects.
50060         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50061         target-specific variable.
50062         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50063         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50064         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50065         libc.
50066         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50067         libc and ld.so.
50068         ($(objpfx)libpcprofile.so): Likewise.
50069         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50070         libc_nonshared.a.
50071         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50072         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50073         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50074         $(link-libc-deps).
50075         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50076         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50077         * login/Makefile ($(objpfx)libutil.so): Likewise.
50078         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50079         * math/Makefile ($(objpfx)libm.so): Likewise.
50080         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50081         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50082         variable instead of depending directly on libc.
50083         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50084         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50085         $(link-libc-deps).
50086         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50087         libc.
50088         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50089         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50090         ($(objpfx)libanl.so): Likewise.
50091         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50092         ld.so.
50093         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50094         $(link-libc-deps).
50095         * sysdeps/i386/fpu/Makefile: Remove file.
50096         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50097         ($(objpfx)libm.so): Remove dependency on ld.so.
50099 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
50101         [BZ # 15553]
50102         * nis/yp_xdr.c (XDRMAXNAME): Define.
50103         (XDRMAXRECORD): Define.
50104         (xdr_domainname): Use XDRMAXNAME.
50105         (xdr_mapname): Likewise.
50106         (xdr_peername): Likewise.
50107         (xdr_keydat): Use XDRMAXRECORD.
50108         (xdr_valdat): Likewise.
50110 2013-05-30  Jeff Law  <law@redhat.com>
50112         [BZ #14256]
50113         * manual/errno.texi (ESTALE): Update to account for more than
50114         just NFS file systems.
50115         * sysdeps/gnu/errlist.c: Regenerated.
50117 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50119         [BZ #15465]
50120         * elf/Makefile (tests): Add tst-null-argv.
50121         (modules-names):  Add tst-null-argv-lib.
50122         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50123         (tst-null-argv-ENV): Set environment for tst-null-argv.
50124         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50125         (RTLD_PROGNAME): New macro.
50126         * elf/tst-null-argv.c: New test case.
50127         * elf/tst-null-argv-lib.c: Library for test case.
50128         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50129         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50130         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50131         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50132         * elf/dl-init.c (call_init): Likewise.
50133         (_dl_init): Likewise.
50134         * elf/dl-load.c (print_search_path): Likewise.
50135         (_dl_map_object): Likewise.
50136         * elf/dl-lookup.c (do_lookup_x): Likewise.
50137         (add_dependency): Likewise.
50138         (_dl_lookup_symbol_x): Likewise.
50139         (_dl_debug_bindings): Likewise.
50140         * elf/dl-open.c (_dl_show_scope): Likewise.
50141         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50142         * elf/dl-version.c (match_symbol): Likewise.
50143         (_dl_check_map_versions): Likewise.
50144         * elf/rtld.c (dl_main): Likewise.
50145         (print_unresolved): Use RTLD_PROGNAME.
50146         (print_missing_version): Likewise.
50147         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50148         (elf_machine_rela): Likewise.
50149         * sysdeps/powerpc/powerpc32/dl-machine.c
50150         (__process_machine_rela): Likewise.
50151         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50152         Likewise.
50153         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50154         Likewise.
50155         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50156         Likewise.
50157         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50158         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50159         Likewise.
50160         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50161         Likewise.
50162         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50164 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50166         * po/be.po: Add descriptive title.
50167         * po/zh_CN.po: Likewise.
50168         * po/header.pot: Likewise.
50170 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50172         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50173         error message.
50174         (enlarge_archive): Likewise.
50176 2013-05-28  Ben North  <ben@redfrontdoor.org>
50178         * manual/arith.texi (frexp): It is the magnitude of the return
50179         value which lies in [0.5, 1), not the return value itself.
50181 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50185 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50187         * stdio-common/bug26.c (main): Correct fscanf template.
50189         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50190         declare _dl_skip_args.
50192         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50193         Don't declare.
50195         * manual/platform.texi: Add missing @end deftypefun.
50197 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50199         [BZ #15529]
50200         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50201         bit of mantissa of 2^16382.
50202         * math/libm-test.inc (hypot_test_data): Add more tests.
50204         * math/libm-test.inc: Add drem and pow10 to list of tested
50205         functions.
50206         (pow10_test): New function.
50207         (drem_test): Likewise.
50208         (drem_test_tonearest): Likewise.
50209         (drem_test_towardzero): Likewise.
50210         (drem_test_downward): Likewise.
50211         (drem_test_upward): Likewise.
50212         (main): Call the new functions.
50214         * math/libm-test.inc (finite_test_data): Remove.
50215         (finite_test): Run tests from isfinite_test_data.
50216         (gamma_test_data): Remove.
50217         (gamma_test): Run tests from lgamma_test_data.
50218         * sysdeps/i386/fpu/libm-test-ulps: Update.
50219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50221 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50223         * manual/platform.texi: Add PowerPC PPR function set documentation.
50224         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50225         implementation.
50227 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50229         * math/libm-test.inc (MAX_EXP): Define.
50230         (ULPDIFF): Define.
50231         (ulp): New function.
50232         (check_float_internal): Use ULPDIFF.
50233         (cpow_test): Disable failing test.
50234         (check_ulp): Test ulp() implemetnation.
50235         (main): Call check_ulp before starting tests.
50237 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50239         * math/gen-libm-test.pl (generate_testfile): Do not handle
50240         START_DATA and END_DATA.
50241         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50242         END_DATA.
50243         (acos_tonearest_test_data): Likewise.
50244         (acos_towardzero_test_data): Likewise.
50245         (acos_downward_test_data): Likewise.
50246         (acos_upward_test_data): Likewise.
50247         (acosh_test_data): Likewise.
50248         (asin_test_data): Likewise.
50249         (asin_tonearest_test_data): Likewise.
50250         (asin_towardzero_test_data): Likewise.
50251         (asin_downward_test_data): Likewise.
50252         (asin_upward_test_data): Likewise.
50253         (asinh_test_data): Likewise.
50254         (atan_test_data): Likewise.
50255         (atanh_test_data): Likewise.
50256         (atan2_test_data): Likewise.
50257         (cabs_test_data): Likewise.
50258         (cacos_test_data): Likewise.
50259         (cacosh_test_data): Likewise.
50260         (carg_test_data): Likewise.
50261         (casin_test_data): Likewise.
50262         (casinh_test_data): Likewise.
50263         (catan_test_data): Likewise.
50264         (catanh_test_data): Likewise.
50265         (cbrt_test_data): Likewise.
50266         (ccos_test_data): Likewise.
50267         (ccosh_test_data): Likewise.
50268         (ceil_test_data): Likewise.
50269         (cexp_test_data): Likewise.
50270         (cimag_test_data): Likewise.
50271         (clog_test_data): Likewise.
50272         (clog10_test_data): Likewise.
50273         (conj_test_data): Likewise.
50274         (copysign_test_data): Likewise.
50275         (cos_test_data): Likewise.
50276         (cos_tonearest_test_data): Likewise.
50277         (cos_towardzero_test_data): Likewise.
50278         (cos_downward_test_data): Likewise.
50279         (cos_upward_test_data): Likewise.
50280         (cosh_test_data): Likewise.
50281         (cosh_tonearest_test_data): Likewise.
50282         (cosh_towardzero_test_data): Likewise.
50283         (cosh_downward_test_data): Likewise.
50284         (cosh_upward_test_data): Likewise.
50285         (cpow_test_data): Likewise.
50286         (cproj_test_data): Likewise.
50287         (creal_test_data): Likewise.
50288         (csin_test_data): Likewise.
50289         (csinh_test_data): Likewise.
50290         (csqrt_test_data): Likewise.
50291         (ctan_test_data): Likewise.
50292         (ctan_tonearest_test_data): Likewise.
50293         (ctan_towardzero_test_data): Likewise.
50294         (ctan_downward_test_data): Likewise.
50295         (ctan_upward_test_data): Likewise.
50296         (ctanh_test_data): Likewise.
50297         (ctanh_tonearest_test_data): Likewise.
50298         (ctanh_towardzero_test_data): Likewise.
50299         (ctanh_downward_test_data): Likewise.
50300         (ctanh_upward_test_data): Likewise.
50301         (erf_test_data): Likewise.
50302         (erfc_test_data): Likewise.
50303         (exp_test_data): Likewise.
50304         (exp_tonearest_test_data): Likewise.
50305         (exp_towardzero_test_data): Likewise.
50306         (exp_downward_test_data): Likewise.
50307         (exp_upward_test_data): Likewise.
50308         (exp10_test_data): Likewise.
50309         (exp2_test_data): Likewise.
50310         (expm1_test_data): Likewise.
50311         (fabs_test_data): Likewise.
50312         (fdim_test_data): Likewise.
50313         (finite_test_data): Likewise.
50314         (floor_test_data): Likewise.
50315         (fma_test_data): Likewise.
50316         (fma_towardzero_test_data): Likewise.
50317         (fma_downward_test_data): Likewise.
50318         (fma_upward_test_data): Likewise.
50319         (fmax_test_data): Likewise.
50320         (fmin_test_data): Likewise.
50321         (fmod_test_data): Likewise.
50322         (fpclassify_test_data): Likewise.
50323         (frexp_test_data): Likewise.
50324         (gamma_test_data): Likewise.
50325         (hypot_test_data): Likewise.
50326         (ilogb_test_data): Likewise.
50327         (isfinite_test_data): Likewise.
50328         (isgreater_test_data): Likewise.
50329         (isgreaterequal_test_data): Likewise.
50330         (isinf_test_data): Likewise.
50331         (isless_test_data): Likewise.
50332         (islessequal_test_data): Likewise.
50333         (islessgreater_test_data): Likewise.
50334         (isnan_test_data): Likewise.
50335         (isnormal_test_data): Likewise.
50336         (issignaling_test_data): Likewise.
50337         (isunordered_test_data): Likewise.
50338         (j0_test_data): Likewise.
50339         (j1_test_data): Likewise.
50340         (jn_test_data): Likewise.
50341         (ldexp_test_data): Likewise.
50342         (lgamma_test_data): Likewise.
50343         (lrint_test_data): Likewise.
50344         (lrint_tonearest_test_data): Likewise.
50345         (lrint_towardzero_test_data): Likewise.
50346         (lrint_downward_test_data): Likewise.
50347         (lrint_upward_test_data): Likewise.
50348         (llrint_test_data): Likewise.
50349         (llrint_tonearest_test_data): Likewise.
50350         (llrint_towardzero_test_data): Likewise.
50351         (llrint_downward_test_data): Likewise.
50352         (llrint_upward_test_data): Likewise.
50353         (log_test_data): Likewise.
50354         (log10_test_data): Likewise.
50355         (log1p_test_data): Likewise.
50356         (log2_test_data): Likewise.
50357         (logb_test_data): Likewise.
50358         (logb_downward_test_data): Likewise.
50359         (lround_test_data): Likewise.
50360         (llround_test_data): Likewise.
50361         (modf_test_data): Likewise.
50362         (nearbyint_test_data): Likewise.
50363         (nextafter_test_data): Likewise.
50364         (nexttoward_test_data): Likewise.
50365         (pow_test_data): Likewise.
50366         (pow_tonearest_test_data): Likewise.
50367         (pow_towardzero_test_data): Likewise.
50368         (pow_downward_test_data): Likewise.
50369         (pow_upward_test_data): Likewise.
50370         (remainder_test_data): Likewise.
50371         (remainder_tonearest_test_data): Likewise.
50372         (remainder_towardzero_test_data): Likewise.
50373         (remainder_downward_test_data): Likewise.
50374         (remainder_upward_test_data): Likewise.
50375         (remquo_test_data): Likewise.
50376         (rint_test_data): Likewise.
50377         (rint_tonearest_test_data): Likewise.
50378         (rint_towardzero_test_data): Likewise.
50379         (rint_downward_test_data): Likewise.
50380         (rint_upward_test_data): Likewise.
50381         (round_test_data): Likewise.
50382         (scalb_test_data): Likewise.
50383         (scalbn_test_data): Likewise.
50384         (scalbln_test_data): Likewise.
50385         (signbit_test_data): Likewise.
50386         (sin_test_data): Likewise.
50387         (sin_tonearest_test_data): Likewise.
50388         (sin_towardzero_test_data): Likewise.
50389         (sin_downward_test_data): Likewise.
50390         (sin_upward_test_data): Likewise.
50391         (sincos_test_data): Likewise.
50392         (sinh_test_data): Likewise.
50393         (sinh_tonearest_test_data): Likewise.
50394         (sinh_towardzero_test_data): Likewise.
50395         (sinh_downward_test_data): Likewise.
50396         (sinh_upward_test_data): Likewise.
50397         (sqrt_test_data): Likewise.
50398         (tan_test_data): Likewise.
50399         (tan_tonearest_test_data): Likewise.
50400         (tan_towardzero_test_data): Likewise.
50401         (tan_downward_test_data): Likewise.
50402         (tan_upward_test_data): Likewise.
50403         (tanh_test_data): Likewise.
50404         (tgamma_test_data): Likewise.
50405         (trunc_test_data): Likewise.
50406         (y0_test_data): Likewise.
50407         (y1_test_data): Likewise.
50408         (yn_test_data): Likewise.
50409         (significand_test_data): Likewise.
50411         * math/gen-libm-test.pl (@functions): Remove variable.
50412         (generate_testfile): Don't handle START and END lines.
50413         * math/libm-test.inc (START): New macro.
50414         (END): Likewise.
50415         (END_COMPLEX): Likewise.
50416         (acos_test): Use END macro without arguments.
50417         (acos_test_tonearest): Likewise.
50418         (acos_test_towardzero): Likewise.
50419         (acos_test_downward): Likewise.
50420         (acos_test_upward): Likewise.
50421         (acosh_test): Likewise.
50422         (asin_test): Likewise.
50423         (asin_test_tonearest): Likewise.
50424         (asin_test_towardzero): Likewise.
50425         (asin_test_downward): Likewise.
50426         (asin_test_upward): Likewise.
50427         (asinh_test): Likewise.
50428         (atan_test): Likewise.
50429         (atanh_test): Likewise.
50430         (atan2_test): Likewise.
50431         (cabs_test): Likewise.
50432         (cacos_test): Use END_COMPLEX macro without arguments.
50433         (cacosh_test): Likewise.
50434         (carg_test): Use END macro without arguments.
50435         (casin_test): Use END_COMPLEX macro without arguments.
50436         (casinh_test): Likewise.
50437         (catan_test): Likewise.
50438         (catanh_test): Likewise.
50439         (cbrt_test): Use END macro without arguments.
50440         (ccos_test): Use END_COMPLEX macro without arguments.
50441         (ccosh_test): Likewise.
50442         (ceil_test): Use END macro without arguments.
50443         (cexp_test): Use END_COMPLEX macro without arguments.
50444         (cimag_test): Use END macro without arguments.
50445         (clog_test): Use END_COMPLEX macro without arguments.
50446         (clog10_test): Likewise.
50447         (conj_test): Likewise.
50448         (copysign_test): Use END macro without arguments.
50449         (cos_test): Likewise.
50450         (cos_test_tonearest): Likewise.
50451         (cos_test_towardzero): Likewise.
50452         (cos_test_downward): Likewise.
50453         (cos_test_upward): Likewise.
50454         (cosh_test): Likewise.
50455         (cosh_test_tonearest): Likewise.
50456         (cosh_test_towardzero): Likewise.
50457         (cosh_test_downward): Likewise.
50458         (cosh_test_upward): Likewise.
50459         (cpow_test): Use END_COMPLEX macro without arguments.
50460         (cproj_test): Likewise.
50461         (creal_test): Use END macro without arguments.
50462         (csin_test): Use END_COMPLEX macro without arguments.
50463         (csinh_test): Likewise.
50464         (csqrt_test): Likewise.
50465         (ctan_test): Likewise.
50466         (ctan_test_tonearest): Likewise.
50467         (ctan_test_towardzero): Likewise.
50468         (ctan_test_downward): Likewise.
50469         (ctan_test_upward): Likewise.
50470         (ctanh_test): Likewise.
50471         (ctanh_test_tonearest): Likewise.
50472         (ctanh_test_towardzero): Likewise.
50473         (ctanh_test_downward): Likewise.
50474         (ctanh_test_upward): Likewise.
50475         (erf_test): Use END macro without arguments.
50476         (erfc_test): Likewise.
50477         (exp_test): Likewise.
50478         (exp_test_tonearest): Likewise.
50479         (exp_test_towardzero): Likewise.
50480         (exp_test_downward): Likewise.
50481         (exp_test_upward): Likewise.
50482         (exp10_test): Likewise.
50483         (exp2_test): Likewise.
50484         (expm1_test): Likewise.
50485         (fabs_test): Likewise.
50486         (fdim_test): Likewise.
50487         (finite_test): Likewise.
50488         (floor_test): Likewise.
50489         (fma_test): Likewise.
50490         (fma_test_towardzero): Likewise.
50491         (fma_test_downward): Likewise.
50492         (fma_test_upward): Likewise.
50493         (fmax_test): Likewise.
50494         (fmin_test): Likewise.
50495         (fmod_test): Likewise.
50496         (fpclassify_test): Likewise.
50497         (frexp_test): Likewise.
50498         (gamma_test): Likewise.
50499         (hypot_test): Likewise.
50500         (ilogb_test): Likewise.
50501         (isfinite_test): Likewise.
50502         (isgreater_test): Likewise.
50503         (isgreaterequal_test): Likewise.
50504         (isinf_test): Likewise.
50505         (isless_test): Likewise.
50506         (islessequal_test): Likewise.
50507         (islessgreater_test): Likewise.
50508         (isnan_test): Likewise.
50509         (isnormal_test): Likewise.
50510         (issignaling_test): Likewise.
50511         (isunordered_test): Likewise.
50512         (j0_test): Likewise.
50513         (j1_test): Likewise.
50514         (jn_test): Likewise.
50515         (ldexp_test): Likewise.
50516         (lgamma_test): Likewise.
50517         (lrint_test): Likewise.
50518         (lrint_test_tonearest): Likewise.
50519         (lrint_test_towardzero): Likewise.
50520         (lrint_test_downward): Likewise.
50521         (lrint_test_upward): Likewise.
50522         (llrint_test): Likewise.
50523         (llrint_test_tonearest): Likewise.
50524         (llrint_test_towardzero): Likewise.
50525         (llrint_test_downward): Likewise.
50526         (llrint_test_upward): Likewise.
50527         (log_test): Likewise.
50528         (log10_test): Likewise.
50529         (log1p_test): Likewise.
50530         (log2_test): Likewise.
50531         (logb_test): Likewise.
50532         (logb_test_downward): Likewise.
50533         (lround_test): Likewise.
50534         (llround_test): Likewise.
50535         (modf_test): Likewise.
50536         (nearbyint_test): Likewise.
50537         (nextafter_test): Likewise.
50538         (nexttoward_test): Likewise.
50539         (pow_test): Likewise.
50540         (pow_test_tonearest): Likewise.
50541         (pow_test_towardzero): Likewise.
50542         (pow_test_downward): Likewise.
50543         (pow_test_upward): Likewise.
50544         (remainder_test): Likewise.
50545         (remainder_test_tonearest): Likewise.
50546         (remainder_test_towardzero): Likewise.
50547         (remainder_test_downward): Likewise.
50548         (remainder_test_upward): Likewise.
50549         (remquo_test): Likewise.
50550         (rint_test): Likewise.
50551         (rint_test_tonearest): Likewise.
50552         (rint_test_towardzero): Likewise.
50553         (rint_test_downward): Likewise.
50554         (rint_test_upward): Likewise.
50555         (round_test): Likewise.
50556         (scalb_test): Likewise.
50557         (scalbn_test): Likewise.
50558         (scalbln_test): Likewise.
50559         (signbit_test): Likewise.
50560         (sin_test): Likewise.
50561         (sin_test_tonearest): Likewise.
50562         (sin_test_towardzero): Likewise.
50563         (sin_test_downward): Likewise.
50564         (sin_test_upward): Likewise.
50565         (sincos_test): Likewise.
50566         (sinh_test): Likewise.
50567         (sinh_test_tonearest): Likewise.
50568         (sinh_test_towardzero): Likewise.
50569         (sinh_test_downward): Likewise.
50570         (sinh_test_upward): Likewise.
50571         (sqrt_test): Likewise.
50572         (tan_test): Likewise.
50573         (tan_test_tonearest): Likewise.
50574         (tan_test_towardzero): Likewise.
50575         (tan_test_downward): Likewise.
50576         (tan_test_upward): Likewise.
50577         (tanh_test): Likewise.
50578         (tgamma_test): Likewise.
50579         (trunc_test): Likewise.
50580         (y0_test): Likewise.
50581         (y1_test): Likewise.
50582         (yn_test): Likewise.
50583         (significand_test): Likewise.
50585 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50587         [BZ #15381]
50588         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50590 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50592         [BZ #14894]
50593         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50594         __ppc_mdoio and __ppc_mdoom.
50595         * manual/platform.texi: Document new functions __ppc_yield,
50596         __ppc_mdoio and __ppc_mdoom.
50598 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50600         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50601         (main): Mention "tls" pseudo-hwcap is legacy.
50602         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50604 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50606         * math/gen-libm-test.pl (parse_args): Output only string of
50607         arguments as text for test name, not full call or descriptions of
50608         tests for extra outputs.
50609         (generate_testfile): Do not pass function name to parse_args.
50610         Generate this_func variable from START.
50611         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50612         field to arg_str.
50613         (struct test_ff_f_data): Likewise.
50614         (test_ff_f_data_nexttoward): Likewise.
50615         (struct test_fi_f_data): Likewise.
50616         (struct test_fl_f_data): Likewise.
50617         (struct test_if_f_data): Likewise.
50618         (struct test_fff_f_data): Likewise.
50619         (struct test_c_f_data): Likewise.
50620         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50621         (struct test_fF_f1_data): Likewise.
50622         (struct test_ffI_f1_data): Likewise.
50623         (struct test_c_c_data): Rename test_name field to arg_str.
50624         (struct test_cc_c_data): Likewise.
50625         (struct test_f_i_data): Likewise.
50626         (struct test_ff_i_data): Likewise.
50627         (struct test_f_l_data): Likewise.
50628         (struct test_f_L_data): Likewise.
50629         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50630         and extra2_name.
50631         (COMMON_TEST_SETUP): New macro.
50632         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50633         (COMMON_TEST_CLEANUP): Likewise.
50634         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50635         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50636         macros.
50637         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50638         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50639         macros.
50640         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50641         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50642         cleanup macros.
50643         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50644         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50645         macros.
50646         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50647         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50648         macros.
50649         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50650         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50651         cleanup macros.
50652         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50653         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50654         cleanup macros.
50655         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50656         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50657         cleanup macros.
50658         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50659         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50660         macros.
50661         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50662         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50663         macros.
50664         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50665         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50666         macros.
50667         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50668         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50669         cleanup macros.
50670         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50671         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50672         cleanup macros.
50673         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50674         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50675         macros.
50676         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50677         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50678         cleanup macros.
50679         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50680         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50681         macros.
50682         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50683         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50684         macros.
50685         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50686         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50687         cleanup macros.
50688         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50690 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50692         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50693         to _sifields.sigfault.
50694         (si_addr_lsb): Define new macro.
50695         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50696         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50697         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50699 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50701         [BZ #15441]
50702         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50703         returns -1.
50704         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50705         null return -1.
50706         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50707         loading the domain.
50709 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50711         * math/gen-libm-test.pl (parse_args): Do not include expected
50712         result in test name.
50713         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50714         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50715         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50716         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50717         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50720 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50722         * benchtests/Makefile: Sort function entries.
50724         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50725         tanh, asinh, acosh, atanh.
50726         * benchtests/acos-inputs: New file.
50727         * benchtests/acosh-inputs: New file.
50728         * benchtests/asin-inputs: New file.
50729         * benchtests/asinh-inputs: New file.
50730         * benchtests/atanh-inputs: New file.
50731         * benchtests/cosh-inputs: New file.
50732         * benchtests/log-inputs: New file.
50733         * benchtests/sinh-inputs: New file.
50734         * benchtests/tanh-inputs: New file.
50736 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50738         [BZ #15339]
50739         * posix/tst-getaddrinfo4.c: New test.
50740         * posix/Makefile (tests): Add it.
50742 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50744         [BZ #15339]
50745         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50746         when no services were used.
50747         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50748         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50750 2013-05-21  Andreas Schwab  <schwab@suse.de>
50752         [BZ #15014]
50753         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50754         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50755         successful.
50756         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50757         redundant variable declarations and reallocation of buffer when
50758         parsing as IPv6 address.  Always set NSS status when called from
50759         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50760         buffer too small.  Correct computation of needed size.
50761         * nss/Makefile (tests): Add test-digits-dots.
50762         * nss/test-digits-dots.c: New test.
50764 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50766         * benchtests/Makefile: Remove instructions for adding
50767         benchmark tests.
50768         * benchtests/README: New file to explain how to execute and
50769         enhance the benchmark tests.
50771 2013-05-21  Andreas Schwab  <schwab@suse.de>
50773         [BZ #15493]
50774         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50775         * setjmp/tst-sigsetjmp.c: New test.
50777 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50779         * sysdeps/x86_64/memset.S (memset): New implementation.
50780         (__bzero): Likewise.
50781         (__memset_tail): New function.
50783 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50785         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50786         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50787         __memcpy_sse2_unaligned ifunc selection.
50788         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50789         Add memcpy-sse2-unaligned.S.
50790         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50791         Add: __memcpy_sse2_unaligned.
50793 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50795         [BZ #15490]
50796         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50797         math_force_eval before restoring floating-point envrionment.
50798         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50799         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50800         Likewise.
50801         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50802         <math_private.h>.
50803         (__nearbyintl): Use math_force_eval before restoring
50804         floating-point environment.
50805         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50807         * math/gen-libm-test.pl (special_functions): Remove.
50808         (parse_args): Don't handle TEST_extra.  Handle functions with no
50809         return value.
50810         * math/libm-test.inc (struct test_sincos_data): Replace with
50811         struct test_fFF_11_data.
50812         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50813         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50814         (sincos_test_data): Change element type to struct
50815         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50816         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50817         RUN_TEST_LOOP_sincos.
50818         * math/README.libm-test: Don't mention special handling of
50819         individual functions.
50820         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50821         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50822         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50823         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50824         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50827         * math/gen-libm-test.pl (get_variable): Remove function.
50828         (parse_args): Don't show pointer parameters to call in test
50829         names.  Use "extra output N" in test names for extra outputs
50830         rather than naming variables.
50832 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50834         [BZ #15488]
50835         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50836         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50837         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50838         double tests.
50839         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50840         disable.
50841         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50842         check_long_double.
50844         * math/gen-libm-test.pl (@tests): Remove variable.
50845         ($count): Likewise.
50846         (new_test): Remove function.
50847         (show_exceptions): New function.
50848         (special_functions): Use show_exceptions instead of new_test.
50849         (parse_args): Likewise.
50850         (generate_testfile): Pass only function name in generated call to
50851         print_max_error or print_complex_max_error.
50852         (get_ulps): Do not handle complex tests specially.
50853         (output_test): Rename to ...
50854         (get_all_ulps_for_test): ... this.  Return a string rather than
50855         printing to a file.  Require ulps to be present.
50856         (output_ulps): Generate arrays rather than #defines.
50857         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50858         (struct ulp_data): New type.
50859         (BUILD_COMPLEX_ULP): Remove macro.
50860         (compare_ulp_data): New function.
50861         (find_ulps): Likewise.
50862         (find_test_ulps): Likewise.
50863         (find_function_ulps): Likewise.
50864         (find_complex_function_ulps): Likewise.
50865         (print_max_error): Determine allowed ulps using
50866         find_function_ulps.
50867         (print_complex_max_error): Determine allowed ulps using
50868         find_complex_function_ulps.
50869         (check_float_internal): Determine max ulps using find_test_ulps.
50870         (check_float): Do not take max_ulp parameter.  Update call to
50871         check_float_internal.
50872         (check_complex): Likewise.
50873         (check_int): Do not take max_ulp parameter.
50874         (check_long): Likewise.
50875         (check_bool): Likewise.
50876         (check_longlong): Likewise.
50877         (struct test_f_f_data): Remove max_ulp field.
50878         (struct test_ff_f_data): Likewise.
50879         (struct test_ff_f_data_nexttoward): Likewise.
50880         (struct test_fi_f_data): Likewise.
50881         (struct test_fl_f_data): Likewise.
50882         (struct test_if_f_data): Likewise.
50883         (struct test_fff_f_data): Likewise.
50884         (struct test_c_f_data): Likewise.
50885         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50886         (struct test_fF_f1_data): Likewise.
50887         (struct test_ffI_f1_data): Likewise.
50888         (struct test_c_c_data): Remove max_ulp field.
50889         (struct test_cc_c_data): Likewise.
50890         (struct test_f_i_data): Likewise.
50891         (struct test_ff_i_data): Likewise.
50892         (struct test_f_l_data): Likewise.
50893         (struct test_f_L_data): Likewise.
50894         (struct test_sincos_data): Likewise.
50895         (RUN_TEST_f_f): Do not handle ulps.
50896         (RUN_TEST_LOOP_f_f): Likewise.
50897         (RUN_TEST_2_f): Likewise.
50898         (RUN_TEST_LOOP_2_f): Likewise.
50899         (RUN_TEST_fff_f): Likewise.
50900         (RUN_TEST_LOOP_fff_f): Likewise.
50901         (RUN_TEST_c_f): Likewise.
50902         (RUN_TEST_LOOP_c_f): Likewise.
50903         (RUN_TEST_f_f1): Likewise.
50904         (RUN_TEST_LOOP_f_f1): Likewise.
50905         (RUN_TEST_fF_f1): Likewise.
50906         (RUN_TEST_LOOP_fF_f1): Likewise.
50907         (RUN_TEST_fI_f1): Likewise.
50908         (RUN_TEST_LOOP_fI_f1): Likewise.
50909         (RUN_TEST_ffI_f1): Likewise.
50910         (RUN_TEST_LOOP_ffI_f1): Likewise.
50911         (RUN_TEST_c_c): Likewise.
50912         (RUN_TEST_LOOP_c_c): Likewise.
50913         (RUN_TEST_cc_c): Likewise.
50914         (RUN_TEST_LOOP_cc_c): Likewise.
50915         (RUN_TEST_f_i): Likewise.
50916         (RUN_TEST_LOOP_f_i): Likewise.
50917         (RUN_TEST_f_i_tg): Likewise.
50918         (RUN_TEST_LOOP_f_i_tg): Likewise.
50919         (RUN_TEST_ff_i_tg): Likewise.
50920         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50921         (RUN_TEST_f_b): Likewise.
50922         (RUN_TEST_LOOP_f_b): Likewise.
50923         (RUN_TEST_f_b_tg): Likewise.
50924         (RUN_TEST_LOOP_f_b_tg): Likewise.
50925         (RUN_TEST_f_l): Likewise.
50926         (RUN_TEST_LOOP_f_l): Likewise.
50927         (RUN_TEST_f_L): Likewise.
50928         (RUN_TEST_LOOP_f_L): Likewise.
50929         (RUN_TEST_sincos): Likewise.
50930         (RUN_TEST_LOOP_sincos): Likewise.
50932 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50934         [BZ #15480]
50935         [BZ #15485]
50936         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50937         main case of finite arguments, set rounding mode to FE_TONEAREST
50938         and discard exceptions.
50939         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50940         exceptions.
50941         (remainder_tonearest_test_data): New variable.
50942         (remainder_test_tonearest): New function.
50943         (remainder_towardzero_test_data): New variable.
50944         (remainder_test_towardzero): New function.
50945         (remainder_downward_test_data): New variable.
50946         (remainder_test_downward): New function.
50947         (remainder_upward_test_data): New variable.
50948         (remainder_test_upward): New function.
50949         (main): Call the new test functions.
50951         * math/libm-test.inc (struct test_f_f1_data): Remove field
50952         extra_init.
50953         (struct test_fF_f1_data): Likewise.
50954         (struct test_ffI_f1_data): Likewise.
50955         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50956         based on value of EXTRA_EXPECTED.
50957         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50958         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50959         EXTRA_VAR based on value of EXTRA_EXPECTED.
50960         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50961         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50962         EXTRA_VAR based on value of EXTRA_EXPECTED.
50963         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50964         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50965         EXTRA_VAR based on value of EXTRA_EXPECTED.
50966         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50967         * math/gen-libm-test.pl (parse_args): Don't output initializers
50968         for extra output values.
50970         * math/libm-test.inc (check_int): Expect result to be exactly
50971         equal to expected value and do not handle ulps.
50972         (check_long): Likewise.
50973         (check_longlong): Likewise.
50975         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50976         exceptions.
50977         (cimag_test_data): Likewise.
50978         (conj_test_data): Likewise.
50979         (copysign_test_data): Likewise.
50980         (cproj_test_data): Likewise.
50981         (creal_test_data): Likewise.
50982         (fabs_test_data): Likewise.
50983         (fdim_test_data): Likewise.
50984         (finite_test_data): Likewise.
50985         (floor_test_data): Likewise.
50986         (fmax_test_data): Likewise.
50987         (fmin_test_data): Likewise.
50988         (fmod_test_data): Likewise.
50989         (fpclassify_test_data): Likewise.
50990         (frexp_test_data): Likewise.
50991         (ilogb_test_data): Likewise.
50992         (isfinite_test_data): Likewise.
50993         (isgreater_test_data): Likewise.
50994         (isgreaterequal_test_data): Likewise.
50995         (isinf_test_data): Likewise.
50996         (isless_test_data): Likewise.
50997         (islessequal_test_data): Likewise.
50998         (islessgreater_test_data): Likewise.
50999         (isnan_test_data): Likewise.
51000         (isnormal_test_data): Likewise.
51001         (issignaling_test_data): Likewise.
51002         (isunordered_test_data): Likewise.
51003         (ldexp_test_data): Likewise.
51004         (lrint_test_data): Likewise.
51005         (lrint_test_data) [TEST_FLOAT]: Disable one test.
51006         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51007         (lrint_tonearest_test_data): Test for "inexact" exceptions.
51008         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51009         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51010         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51011         test input.
51012         (lrint_towardzero_test_data): Test for "inexact" exceptions.
51013         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51014         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51015         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51016         that test input.
51017         (lrint_downward_test_data): Test for "inexact" exceptions.
51018         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51019         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51020         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51021         test input.
51022         (lrint_upward_test_data): Test for "inexact" exceptions.
51023         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51024         test input.
51025         (llrint_test_data): Test for "inexact" exceptions.
51026         (llrint_test_data) [TEST_FLOAT]: Disable one test.
51027         (llrint_tonearest_test_data): Test for "inexact" exceptions.
51028         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51029         (llrint_towardzero_test_data): Test for "inexact" exceptions.
51030         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51031         (llrint_downward_test_data): Test for "inexact" exceptions.
51032         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51033         (llrint_upward_test_data): Test for "inexact" exceptions.
51034         (logb_test_data): Likewise.
51035         (logb_downward_test_data): Likewise.
51036         (nextafter_test_data): Likewise.
51037         (nexttoward_test_data): Likewise.
51038         (remainder_test_data): Likewise.
51039         (remquo_test_data): Likewise.
51040         (scalbn_test_data): Likewise.
51041         (scalbln_test_data): Likewise.
51042         (signbit_test_data): Likewise.
51043         (sqrt_test_data): Likewise.
51044         (significand_test_data): Likewise.
51046 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51048         [BZ #15424]
51049         * benchtests/bench-modf.c (struct args): Mark arg0 as
51050         volatile.
51051         * scripts/bench.pl: Mark members of struct args as volatile.
51053 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51055         [BZ # 15497]
51056         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51057         negative infinity on POWER6 or lower.
51058         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51060 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51062         [BZ #15442]
51063         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51064         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51065         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51066         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51067         (_FP_SETQNAN): New macro.
51068         (_FP_SETQNAN_SEMIRAW): Likewise.
51069         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51070         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51071         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51072         (FP_EXTEND): Use _FP_FRAC_SNANP.
51073         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51074         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51075         into account.
51076         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51077         New macro.
51078         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51079         Likewise.
51081 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51083         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51084         with DIVIDE_BY_ZERO_EXCEPTION.
51085         (gamma_test_data): Likewise.
51086         (lgamma_test_data): Likewise.
51087         (log_test_data): Likewise.
51088         (log10_test_data): Likewise.
51089         (log2_test_data): Likewise.
51090         (tgamma_test_data): Likewise.
51092         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51093         (acos_test_tonearest): Likewise.
51094         (acos_test_towardzero): Likewise.
51095         (acos_test_downward): Likewise.
51096         (acos_test_upward): Likewise.
51097         (acosh_test): Likewise.
51098         (asin_test): Likewise.
51099         (asin_test_tonearest): Likewise.
51100         (asin_test_towardzero): Likewise.
51101         (asin_test_downward): Likewise.
51102         (asin_test_upward): Likewise.
51103         (asinh_test): Likewise.
51104         (atan_test): Likewise.
51105         (atanh_test): Likewise.
51106         (atan2_test): Likewise.
51107         (cabs_test): Likewise.
51108         (cacos_test): Likewise.
51109         (cacosh_test): Likewise.
51110         (casin_test): Likewise.
51111         (casinh_test): Likewise.
51112         (catan_test): Likewise.
51113         (catanh_test): Likewise.
51114         (cbrt_test): Likewise.
51115         (ccos_test): Likewise.
51116         (ccosh_test): Likewise.
51117         (cexp_test): Likewise.
51118         (clog_test): Likewise.
51119         (clog10_test): Likewise.
51120         (cos_test): Likewise.
51121         (cos_test_tonearest): Likewise.
51122         (cos_test_towardzero): Likewise.
51123         (cos_test_downward): Likewise.
51124         (cos_test_upward): Likewise.
51125         (cosh_test): Likewise.
51126         (cosh_test_tonearest): Likewise.
51127         (cosh_test_towardzero): Likewise.
51128         (cosh_test_downward): Likewise.
51129         (cosh_test_upward): Likewise.
51130         (cpow_test): Likewise.
51131         (csin_test): Likewise.
51132         (csinh_test): Likewise.
51133         (csqrt_test): Likewise.
51134         (ctan_test): Likewise.
51135         (ctan_test_tonearest): Likewise.
51136         (ctan_test_towardzero): Likewise.
51137         (ctan_test_downward): Likewise.
51138         (ctan_test_upward): Likewise.
51139         (ctanh_test): Likewise.
51140         (ctanh_test_tonearest): Likewise.
51141         (ctanh_test_towardzero): Likewise.
51142         (ctanh_test_downward): Likewise.
51143         (ctanh_test_upward): Likewise.
51144         (erf_test): Likewise.
51145         (erfc_test): Likewise.
51146         (exp_test): Likewise.
51147         (exp_test_tonearest): Likewise.
51148         (exp_test_towardzero): Likewise.
51149         (exp_test_downward): Likewise.
51150         (exp_test_upward): Likewise.
51151         (exp10_test): Likewise.
51152         (exp2_test): Likewise.
51153         (expm1_test): Likewise.
51154         (fmod_test): Likewise.
51155         (gamma_test): Likewise.
51156         (hypot_test): Likewise.
51157         (j0_test): Likewise.
51158         (j1_test): Likewise.
51159         (jn_test): Likewise.
51160         (lgamma_test): Likewise.
51161         (log_test): Likewise.
51162         (log10_test): Likewise.
51163         (log1p_test): Likewise.
51164         (log2_test): Likewise.
51165         (logb_test_downward): Likewise.
51166         (pow_test): Likewise.
51167         (pow_test_tonearest): Likewise.
51168         (pow_test_towardzero): Likewise.
51169         (pow_test_downward): Likewise.
51170         (pow_test_upward): Likewise.
51171         (remainder_test): Likewise.
51172         (remquo_test): Likewise.
51173         (sin_test): Likewise.
51174         (sin_test_tonearest): Likewise.
51175         (sin_test_towardzero): Likewise.
51176         (sin_test_downward): Likewise.
51177         (sin_test_upward): Likewise.
51178         (sincos_test): Likewise.
51179         (sinh_test): Likewise.
51180         (sinh_test_tonearest): Likewise.
51181         (sinh_test_towardzero): Likewise.
51182         (sinh_test_downward): Likewise.
51183         (sinh_test_upward): Likewise.
51184         (sqrt_test): Likewise.
51185         (tan_test): Likewise.
51186         (tan_test_tonearest): Likewise.
51187         (tan_test_towardzero): Likewise.
51188         (tan_test_downward): Likewise.
51189         (tan_test_upward): Likewise.
51190         (tanh_test): Likewise.
51191         (tgamma_test): Likewise.
51192         (y0_test): Likewise.
51193         (y1_test): Likewise.
51194         (yn_test): Likewise.
51196         * math/gen-libm-test.pl (adjust_arg): Remove function.
51197         (special_function): Remove argument $in_func.  Only handle
51198         generating output for tables of tests, not inside functions.
51199         (parse_args): Likewise.
51200         (generate_testfile): Remove variable $in_func.  Update call to
51201         parse_args.
51202         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51203         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51204         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51205         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51206         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51207         (MAX_VALUE_INIT): Rename macro to max_value.
51208         (MIN_VALUE_INIT): Rename macro to min_value.
51209         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51210         (plus_zero): Remove variable.
51211         (minus_zero): Likewise.
51212         (plus_infty): Likewise.
51213         (minus_infty): Likewise.
51214         (qnan_value): Likewise.
51215         (max_value): Likewise.
51216         (min_value): Likewise.
51217         (min_subnorm_value): Likewise.
51219 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51221         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51222         uint64_t or uint32_t usage.
51223         * crypt/sha256-block.c: Likewise.
51224         * crypt/sha256-crypt.c: Likewise.
51225         * crypt/sha256.c: Likewise.
51226         * crypt/sha512-block.c: Likewise.
51227         * crypt/sha512-crypt.c: Likewise.
51228         * crypt/sha512.c: Likewise.
51229         * debug/backtrace-tst.c: Likewise.
51230         * debug/pcprofiledump.c: Likewise.
51231         * elf/cache.c: Likewise.
51232         * elf/dl-cache.c: Likewise.
51233         * elf/dl-misc.c: Likewise.
51234         * elf/dl-profile.c: Likewise.
51235         * elf/dl-support.c: Likewise.
51236         * elf/ldconfig.c: Likewise.
51237         * elf/sprof.c: Likewise.
51238         * iconv/dummy-repertoire.c: Likewise.
51239         * iconv/iconv_charmap.c: Likewise.
51240         * iconv/skeleton.c: Likewise.
51241         * iconvdata/8bit-generic.c: Likewise.
51242         * iconvdata/cp737.h: Likewise.
51243         * iconvdata/cp775.h: Likewise.
51244         * iconvdata/ibm1008.h: Likewise.
51245         * iconvdata/ibm1025.h: Likewise.
51246         * iconvdata/ibm1046.h: Likewise.
51247         * iconvdata/ibm1097.h: Likewise.
51248         * iconvdata/ibm1112.h: Likewise.
51249         * iconvdata/ibm1122.h: Likewise.
51250         * iconvdata/ibm1123.h: Likewise.
51251         * iconvdata/ibm1124.h: Likewise.
51252         * iconvdata/ibm1129.h: Likewise.
51253         * iconvdata/ibm1130.h: Likewise.
51254         * iconvdata/ibm1132.h: Likewise.
51255         * iconvdata/ibm1133.h: Likewise.
51256         * iconvdata/ibm1137.h: Likewise.
51257         * iconvdata/ibm1140.h: Likewise.
51258         * iconvdata/ibm1141.h: Likewise.
51259         * iconvdata/ibm1142.h: Likewise.
51260         * iconvdata/ibm1143.h: Likewise.
51261         * iconvdata/ibm1144.h: Likewise.
51262         * iconvdata/ibm1145.h: Likewise.
51263         * iconvdata/ibm1146.h: Likewise.
51264         * iconvdata/ibm1147.h: Likewise.
51265         * iconvdata/ibm1148.h: Likewise.
51266         * iconvdata/ibm1149.h: Likewise.
51267         * iconvdata/ibm1153.h: Likewise.
51268         * iconvdata/ibm1154.h: Likewise.
51269         * iconvdata/ibm1155.h: Likewise.
51270         * iconvdata/ibm1156.h: Likewise.
51271         * iconvdata/ibm1157.h: Likewise.
51272         * iconvdata/ibm1158.h: Likewise.
51273         * iconvdata/ibm1160.h: Likewise.
51274         * iconvdata/ibm1161.h: Likewise.
51275         * iconvdata/ibm1162.h: Likewise.
51276         * iconvdata/ibm1163.h: Likewise.
51277         * iconvdata/ibm1164.h: Likewise.
51278         * iconvdata/ibm1166.h: Likewise.
51279         * iconvdata/ibm1167.h: Likewise.
51280         * iconvdata/ibm12712.h: Likewise.
51281         * iconvdata/ibm1390.h: Likewise.
51282         * iconvdata/ibm1399.h: Likewise.
51283         * iconvdata/ibm16804.h: Likewise.
51284         * iconvdata/ibm4517.h: Likewise.
51285         * iconvdata/ibm4899.h: Likewise.
51286         * iconvdata/ibm4909.h: Likewise.
51287         * iconvdata/ibm4971.h: Likewise.
51288         * iconvdata/ibm5347.h: Likewise.
51289         * iconvdata/ibm803.h: Likewise.
51290         * iconvdata/ibm856.h: Likewise.
51291         * iconvdata/ibm901.h: Likewise.
51292         * iconvdata/ibm902.h: Likewise.
51293         * iconvdata/ibm9030.h: Likewise.
51294         * iconvdata/ibm9066.h: Likewise.
51295         * iconvdata/ibm921.h: Likewise.
51296         * iconvdata/ibm922.h: Likewise.
51297         * iconvdata/ibm9448.h: Likewise.
51298         * iconvdata/isiri-3342.h: Likewise.
51299         * iconvdata/jis0201.h: Likewise.
51300         * include/link.h: Likewise.
51301         * include/netdb.h: Likewise.
51302         * inet/check_native.c: Likewise.
51303         * inet/check_pf.c: Likewise.
51304         * inet/getipv4sourcefilter.c: Likewise.
51305         * inet/getnameinfo.c: Likewise.
51306         * inet/getsourcefilter.c: Likewise.
51307         * inet/htonl.c: Likewise.
51308         * inet/setipv4sourcefilter.c: Likewise.
51309         * inet/setsourcefilter.c: Likewise.
51310         * inet/test-inet6_opt.c: Likewise.
51311         * inet/tst-network.c: Likewise.
51312         * locale/C-collate.c: Likewise.
51313         * locale/C-ctype.c: Likewise.
51314         * locale/C-time.c: Likewise.
51315         * locale/C-translit.h: Likewise.
51316         * locale/loadarchive.c: Likewise.
51317         * locale/programs/3level.h: Likewise.
51318         * locale/programs/charmap.c: Likewise.
51319         * locale/programs/charmap.h: Likewise.
51320         * locale/programs/ld-address.c: Likewise.
51321         * locale/programs/ld-collate.c: Likewise.
51322         * locale/programs/ld-ctype.c: Likewise.
51323         * locale/programs/ld-identification.c: Likewise.
51324         * locale/programs/ld-measurement.c: Likewise.
51325         * locale/programs/ld-messages.c: Likewise.
51326         * locale/programs/ld-monetary.c: Likewise.
51327         * locale/programs/ld-name.c: Likewise.
51328         * locale/programs/ld-numeric.c: Likewise.
51329         * locale/programs/ld-paper.c: Likewise.
51330         * locale/programs/ld-telephone.c: Likewise.
51331         * locale/programs/ld-time.c: Likewise.
51332         * locale/programs/linereader.c: Likewise.
51333         * locale/programs/locale.c: Likewise.
51334         * locale/programs/locarchive.c: Likewise.
51335         * locale/programs/locfile.h: Likewise.
51336         * locale/programs/repertoire.c: Likewise.
51337         * locale/programs/simple-hash.c: Likewise.
51338         * locale/programs/simple-hash.h: Likewise.
51339         * malloc/memusage.c: Likewise.
51340         * malloc/memusagestat.c: Likewise.
51341         * nis/nis_defaults.c: Likewise.
51342         * nis/nis_hash.c: Likewise.
51343         * nis/nis_print.c: Likewise.
51344         * nis/nis_xdr.c: Likewise.
51345         * nscd/connections.c: Likewise.
51346         * nscd/hstcache.c: Likewise.
51347         * nscd/nscd_gethst_r.c: Likewise.
51348         * nscd/nscd_getserv_r.c: Likewise.
51349         * nscd/nscd_helper.c: Likewise.
51350         * nscd/servicescache.c: Likewise.
51351         * nss/makedb.c: Likewise.
51352         * nss/nss_db/db-XXX.c: Likewise.
51353         * nss/nss_db/db-initgroups.c: Likewise.
51354         * nss/nss_db/db-netgrp.c: Likewise.
51355         * nss/nss_files/files-network.c: Likewise.
51356         * nss/nss_files/files-parse.c: Likewise.
51357         * posix/bug-regex5.c: Likewise.
51358         * posix/fnmatch_loop.c: Likewise.
51359         * posix/regcomp.c: Likewise.
51360         * posix/regexec.c: Likewise.
51361         * posix/tst-rfc3484-2.c: Likewise.
51362         * posix/tst-rfc3484-3.c: Likewise.
51363         * posix/tst-rfc3484.c: Likewise.
51364         * resolv/nss_dns/dns-canon.c: Likewise.
51365         * resolv/nss_dns/dns-network.c: Likewise.
51366         * resolv/res_init.c: Likewise.
51367         * resolv/res_mkquery.c: Likewise.
51368         * resolv/tst-aton.c: Likewise.
51369         * stdlib/cxa_atexit.c: Likewise.
51370         * stdlib/cxa_finalize.c: Likewise.
51371         * stdlib/gen-fpioconst.c: Likewise.
51372         * stdlib/strtol_l.c: Likewise.
51373         * string/tst-endian.c: Likewise.
51374         * sunrpc/auth_des.c: Likewise.
51375         * sunrpc/clnt_udp.c: Likewise.
51376         * sunrpc/rtime.c: Likewise.
51377         * sunrpc/svcauth_des.c: Likewise.
51378         * sunrpc/xdr.c: Likewise.
51379         * sunrpc/xdr_intXX_t.c: Likewise.
51380         * sunrpc/xdr_rec.c: Likewise.
51381         * sysdeps/generic/ldconfig.h: Likewise.
51382         * sysdeps/generic/ldsodefs.h: Likewise.
51383         * sysdeps/generic/memusage.h: Likewise.
51384         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51385         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51386         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51387         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51388         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51389         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51390         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51391         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51392         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51393         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51394         * sysdeps/posix/getaddrinfo.c: Likewise.
51395         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51396         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51397         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51398         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51399         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51400         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51401         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51402         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51403         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51404         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51405         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51406         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51407         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51408         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51409         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51410         * sysdeps/x86_64/dl-tls.h: Likewise.
51411         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51412         * time/alt_digit.c: Likewise.
51413         * time/era.c: Likewise.
51414         * wcsmbs/tst-c16c32-1.c: Likewise.
51416 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51418         * math/libm-test.inc (struct test_sincos_data): New type.
51419         (RUN_TEST_LOOP_sincos): New macro.
51420         (sincos_test_data): New variable.
51421         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51423 2013-05-16  Richard Henderson  <rth@redhat.com>
51425         * math/atest-exp2.c (LIMB64): New macro.
51426         (CONSTSZ): New macro.
51427         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51428         (hexdig): Move ...
51429         (print_mpn_fp): ... to function scope.
51430         (read_mpn_hex): Remove.
51431         (get_log2): Remove.
51432         (exp2_mpn): Use mp_log2.
51433         (main): Use mp_exp1.
51435 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51437         * math/libm-test.inc: Remove comment about not testing "inexact"
51438         exceptions.
51439         (INEXACT_EXCEPTION): New macro.
51440         (NO_INEXACT_EXCEPTION): Likewise.
51441         (INVALID_EXCEPTION_OK): Update value.
51442         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51443         (OVERFLOW_EXCEPTION_OK): Likewise.
51444         (UNDERFLOW_EXCEPTION_OK): Likewise.
51445         (IGNORE_ZERO_INF_SIGN): Likewise.
51446         (ERRNO_UNCHANGED): Likewise.
51447         (ERRNO_EDOM): Likewise.
51448         (ERRNO_ERANGE): Likewise.
51449         (test_exceptions): Handle testing "inexact" exceptions.
51450         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51451         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51452         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51453         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51454         INEXACT_EXCEPTION.
51455         (rint_towardzero_test_data): Likewise.
51456         (rint_downward_test_data): Likewise.
51457         (rint_upward_test_data): Likewise.
51459         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51460         with OVERFLOW_EXCEPTION.
51461         (exp10_test_data): Likewise.
51462         (exp2_test_data): Likewise.
51463         (expm1_test_data): Likewise.
51464         (lgamma_test_data): Likewise.
51465         (pow_test_data): Likewise.
51466         (tgamma_test_data): Likewise.
51467         (yn_test_data): Remove duplicate test of overflow.
51469         * math/libm-test.inc (struct test_cc_c_data): New type.
51470         (RUN_TEST_LOOP_cc_c): New macro.
51471         (cpow_test_data): New variable.
51472         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51474         * math/libm-test.inc (struct test_f_L_data): New type.
51475         (RUN_TEST_LOOP_f_L): New macro.
51476         (llrint_test_data): New variable.
51477         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51478         (llrint_tonearest_test_data): New variable.
51479         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51480         (llrint_towardzero_test_data): New variable.
51481         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51482         (llrint_downward_test_data): New variable.
51483         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51484         (llrint_upward_test_data): New variable.
51485         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51486         (llround_test_data): New variable.
51487         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51489 2013-05-13  Peter Collingbourne  <pcc@google.com>
51491         * math/atest-exp2.c (get_log2): Remove const attribute.
51493 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51495         * math/libm-test.inc (struct test_f_l_data): New type.
51496         (RUN_TEST_LOOP_f_l): New macro.
51497         (lrint_test_data): New variable.
51498         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51499         (lrint_tonearest_test_data): New variable.
51500         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51501         (lrint_towardzero_test_data): New variable.
51502         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51503         (lrint_downward_test_data): New variable.
51504         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51505         (lrint_upward_test_data): New variable.
51506         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51507         (lround_test_data): New variable.
51508         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51510 2013-05-15  Peter Collingbourne  <pcc@google.com>
51512         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51513         (EXTRACT_WORDS64) Use where appropriate.
51514         (INSERT_WORDS64) Likewise.
51516         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51517         constraints with x constraints.
51518         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51520         * malloc/obstack.c (_obstack_compat): Add initializer.
51522 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51524         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51525         si_trapno and add si_addr_lsb to _sifields.sigfault.
51526         (si_trapno): Remove macro.
51527         (si_addr_lsb): Define new macro.
51528         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51530 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51532         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51533         instead of TEST_f_l.
51534         (llrint_test_tonearest): Likewise.
51535         (llrint_test_towardzero): Likewise.
51536         (llrint_test_downward): Likewise.
51537         (llrint_test_upward): Likewise.
51538         (llround_test): Likewise.
51540         * math/libm-test.inc (struct test_f_i_data): Add comment.
51541         (RUN_TEST_LOOP_f_b): New macro.
51542         (RUN_TEST_LOOP_f_b_tg): Likewise.
51543         (finite_test_data): New variable.
51544         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51545         (isfinite_test_data): New variable.
51546         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51547         (isinf_test_data): New variable.
51548         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51549         (isnan_test_data): New variable.
51550         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51551         (isnormal_test_data): New variable.
51552         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51553         (issignaling_test_data): New variable.
51554         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51555         (signbit_test_data): New variable.
51556         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51558         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51559         with INVALID_EXCEPTION.
51560         (acosh_test_data): Likewise.
51561         (asin_test_data): Likewise.
51562         (atanh_test_data): Likewise.
51563         (fmod_test_data): Likewise.
51564         (log_test_data): Likewise.
51565         (log10_test_data): Likewise.
51566         (log2_test_data): Likewise.
51567         (pow_test_data): Likewise.
51568         (sqrt_test_data): Likewise.
51569         (y0_test_data): Likewise.
51570         (y1_test_data): Likewise.
51571         (yn_test_data): Likewise.
51573         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51574         function contents.
51576         * math/libm-test.inc (struct test_ff_i_data): New type.
51577         (RUN_TEST_LOOP_ff_i_tg): New macro.
51578         (isgreater_test_data): New variable.
51579         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51580         (isgreaterequal_test_data): New variable.
51581         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51582         (isless_test_data): New variable.
51583         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51584         (islessequal_test_data): New variable.
51585         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51586         (islessgreater_test_data): New variable.
51587         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51588         (isunordered_test_data): New variable.
51589         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51591 2013-05-14  David S. Miller  <davem@davemloft.net>
51593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51595 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51597         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51599         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51600         extra_test to int.
51601         (struct test_f_i_data): Change type of max_ulp to int.
51603         * math/libm-test.inc (test_ffI_f1_data): New type.
51604         (RUN_TEST_LOOP_ffI_f1): New macro.
51605         (remquo_test_data): New variable.
51606         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51608         * setjmp/tst-setjmp-fp.c: New file.
51609         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51610         (link-libm): New variable.
51611         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51613         * math/libm-test.inc (struct test_f_i_data): New type.
51614         (RUN_TEST_LOOP_f_i): New macro.
51615         (RUN_TEST_LOOP_f_i_tg): Likewise.
51616         (fpclassify_test_data): New variable.
51617         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51618         (ilogb_test_data): New variable.
51619         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51621         * math/libm-test.inc (scalbln_test): Correct function name in END
51622         call.
51624         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51625         (RUN_TEST_LOOP_fI_f1): New macro.
51626         (frexp_test_data): New variable.
51627         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51629         * math/libm-test.inc (struct test_fF_f1_data): New type.
51630         (RUN_TEST_LOOP_fF_f1): New macro.
51631         (modf_test_data): New variable.
51632         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51634         * math/libm-test.inc (struct test_f_f1_data): New type.
51635         (RUN_TEST_LOOP_f_f1): New macro.
51636         (gamma_test_data): New variable.
51637         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51638         (lgamma_test_data): New variable.
51639         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51641 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51643         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51644         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51645         (main): Comment "tls" pseudo-hwcap.
51647 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51649         * math/libm-test.inc (struct test_fl_f_data): New type.
51650         (RUN_TEST_LOOP_fl_f): New variable.
51651         (scalbln_test_data): New variable.
51652         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51654         * math/libm-test.inc (struct test_fi_f_data): New type.
51655         (RUN_TEST_LOOP_fi_f): New macro.
51656         (ldexp_test_data): New variable.
51657         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51658         (scalbn_test_data): New variable.
51659         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51661         * math/libm-test.inc (struct test_c_f_data): New type.
51662         (RUN_TEST_LOOP_c_f): New macro.
51663         (cabs_test_data): New variable.
51664         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51665         (carg_test_data): New variable.
51666         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51667         (cimag_test_data): New variable.
51668         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51669         (creal_test_data): New variable.
51670         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51672         * math/libm-test.inc (struct test_if_f_data): New type.
51673         (RUN_TEST_LOOP_if_f): New macro.
51674         (jn_test_data): New variable.
51675         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51676         (yn_test_data): New variable.
51677         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51679         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51681 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51683         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51684         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51686 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51688         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51689         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51690         (bench-deps): Add bench-timing.h.
51691         * benchtests-bench-skeleton.c: Include bench-timing.h.
51692         (main): Use TIMING_* macros instead of clock_gettime.
51693         * benchtests/bench-timing.h: New file.
51695         [BZ #14582]
51696         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51697         Renamed from _LIB_VERSION.
51698         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51700 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51702         * math/libm-test.inc (struct test_fff_f_data): New type.
51703         (RUN_TEST_LOOP_fff_f): New macro.
51704         (fma_test_data): New variable.
51705         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51706         (fma_towardzero_test_data): New variable.
51707         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51708         (fma_downward_test_data): New variable.
51709         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51710         (fma_upward_test_data): New variable.
51711         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51713         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51714         (struct test_c_c_data): New type.
51715         (RUN_TEST_LOOP_c_c): New macro.
51716         (cacos_test_data): New variable.
51717         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51718         (cacosh_test_data): New variable.
51719         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51720         (casin_test_data): New variable.
51721         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51722         (casinh_test_data): New variable.
51723         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51724         (catan_test_data): New variable.
51725         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51726         (catanh_test_data): New variable.
51727         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51728         (ccos_test_data): New variable.
51729         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51730         (ccosh_test_data): New variable.
51731         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51732         (cexp_test_data): New variable.
51733         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51734         (clog_test_data): New variable.
51735         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51736         (clog10_test_data): New variable.
51737         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51738         (conj_test_data): New variable.
51739         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51740         (cproj_test_data): New variable.
51741         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51742         (csin_test_data): New variable.
51743         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51744         (csinh_test_data): New variable.
51745         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51746         (csqrt_test_data): New variable.
51747         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51748         (ctan_test_data): New variable.
51749         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51750         (ctan_tonearest_test_data): New variable.
51751         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51752         (ctan_towardzero_test_data): New variable.
51753         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51754         (ctan_downward_test_data): New variable.
51755         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51756         (ctan_upward_test_data): New variable.
51757         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51758         (ctanh_test_data): New variable.
51759         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51760         (ctanh_tonearest_test_data): New variable.
51761         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51762         (ctanh_towardzero_test_data): New variable.
51763         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51764         (ctanh_downward_test_data): New variable.
51765         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51766         (ctanh_upward_test_data): New variable.
51767         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51768         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51769         of BUILD_COMPLEX.
51771         * math/libm-test.inc (struct test_ff_f_data): New type.
51772         (struct test_ff_f_data_nexttoward): Likewise.
51773         (RUN_TEST_LOOP_2_f): New macro.
51774         (RUN_TEST_LOOP_ff_f): Likewise.
51775         (atan2_test_data): New variable.
51776         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51777         (copysign_test_data): New variable.
51778         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51779         (fdim_test_data): New variable.
51780         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51781         (fmax_test_data): New variable.
51782         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51783         (fmin_test_data): New variable.
51784         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51785         (fmod_test_data): New variable.
51786         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51787         (hypot_test_data): New variable.
51788         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51789         (nextafter_test_data): New variable.
51790         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51791         (nexttoward_test_data): New variable.
51792         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51793         (pow_test_data): New variable.
51794         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51795         (pow_tonearest_test_data): New variable.
51796         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51797         (pow_towardzero_test_data): New variable.
51798         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51799         (pow_downward_test_data): New variable.
51800         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51801         (pow_upward_test_data): New variable.
51802         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51803         (remainder_test_data): New variable.
51804         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51805         (scalb_test_data): New variable.
51806         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51807         * sysdeps/i386/fpu/libm-test-ulps: Update.
51809 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51811         * math/libm-test.inc (fma_test): Use max_value instead of local
51812         variable fltmax.
51813         (nextafter_test): Likewise.
51815         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51816         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51817         (acos_downward_test_data): New variable.
51818         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51819         (acos_upward_test_data): New variable.
51820         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51821         (acosh_test_data): New variable.
51822         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51823         (asin_test_data): New variable.
51824         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51825         (asin_tonearest_test_data): New variable.
51826         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51827         (asin_towardzero_test_data): New variable.
51828         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51829         (asin_downward_test_data): New variable.
51830         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51831         (asin_upward_test_data): New variable.
51832         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51833         (asinh_test_data): New variable.
51834         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51835         (atan_test_data): New variable.
51836         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51837         (atanh_test_data): New variable.
51838         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51839         (cbrt_test_data): New variable.
51840         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51841         (ceil_test_data): New variable.
51842         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51843         (cos_test_data): New variable.
51844         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51845         (cos_tonearest_test_data): New variable.
51846         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51847         (cos_towardzero_test_data): New variable.
51848         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51849         (cos_downward_test_data): New variable.
51850         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51851         (cos_upward_test_data): New variable.
51852         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51853         (cosh_test_data): New variable.
51854         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51855         (cosh_tonearest_test_data): New variable.
51856         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51857         (cosh_towardzero_test_data): New variable.
51858         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51859         (cosh_downward_test_data): New variable.
51860         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51861         (cosh_upward_test_data): New variable.
51862         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51863         (erf_test_data): New variable.
51864         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51865         (erfc_test_data): New variable.
51866         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51867         (exp_test_data): New variable.
51868         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51869         (exp_tonearest_test_data): New variable.
51870         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51871         (exp_towardzero_test_data): New variable.
51872         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51873         (exp_downward_test_data): New variable.
51874         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51875         (exp_upward_test_data): New variable.
51876         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51877         (exp10_test_data): New variable.
51878         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51879         (exp2_test_data): New variable.
51880         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51881         (expm1_test_data): New variable.
51882         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51883         (fabs_test_data): New variable.
51884         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51885         (floor_test_data): New variable.
51886         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51887         (j0_test_data): New variable.
51888         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51889         (j1_test_data): New variable.
51890         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51891         (log_test_data): New variable.
51892         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51893         (log10_test_data): New variable.
51894         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51895         (log1p_test_data): New variable.
51896         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51897         (log2_test_data): New variable.
51898         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51899         (logb_test_data): New variable.
51900         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51901         (logb_downward_test_data): New variable.
51902         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51903         (nearbyint_test_data): New variable.
51904         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51905         (rint_test_data): New variable.
51906         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51907         (rint_tonearest_test_data): New variable.
51908         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51909         (rint_towardzero_test_data): New variable.
51910         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51911         (rint_downward_test_data): New variable.
51912         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51913         (rint_upward_test_data): New variable.
51914         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51915         (round_test_data): New variable.
51916         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51917         (sin_test_data): New variable.
51918         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51919         (sin_tonearest_test_data): New variable.
51920         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51921         (sin_towardzero_test_data): New variable.
51922         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51923         (sin_downward_test_data): New variable.
51924         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51925         (sin_upward_test_data): New variable.
51926         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51927         (sinh_test_data): New variable.
51928         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51929         (sinh_tonearest_test_data): New variable.
51930         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51931         (sinh_towardzero_test_data): New variable.
51932         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51933         (sinh_downward_test_data): New variable.
51934         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51935         (sinh_upward_test_data): New variable.
51936         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51937         (sqrt_test_data): New variable.
51938         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51939         (tan_test_data): New variable.
51940         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51941         (tan_tonearest_test_data): New variable.
51942         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51943         (tan_towardzero_test_data): New variable.
51944         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51945         (tan_downward_test_data): New variable.
51946         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51947         (tan_upward_test_data): New variable.
51948         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51949         (tanh_test_data): New variable.
51950         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51951         (tgamma_test_data): New variable.
51952         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51953         (trunc_test_data): New variable.
51954         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51955         (y0_test_data): New variable.
51956         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51957         (y1_test_data): New variable.
51958         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51959         (significand_test_data): New variable.
51960         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51962 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51964         [BZ #12387]
51965         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51967 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51969         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51971 2013-05-10  Andreas Jaeger  <aj@suse.de>
51973         [BZ #15448]
51974         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51975         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51977 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51979         * math/gen-libm-test.pl (adjust_arg): New function.
51980         (special_functions): Handle generating output in both functions
51981         and arrays.
51982         (parse_args): Likewise.
51983         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51984         $in_func argument to parse_args.
51985         * math/libm-test.inc (struct test_f_f_data): New type.
51986         (IF_ROUND_INIT_): New macro.
51987         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51988         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51989         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51990         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51991         (ROUND_RESTORE_): Likewise.
51992         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51993         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51994         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51995         (ROUND_RESTORE_FE_UPWARD): Likewise.
51996         (RUN_TEST_LOOP_f_f): New macro.
51997         (acos_test_data): New variable.
51998         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51999         (acos_tonearest_test_data): New variable.
52000         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52002 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52004         * benchtests/bench-skeleton.c (startup): Fix coding style.
52006 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52008         [BZ #6809]
52009         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52010         negative infinity argument.
52011         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52012         negative infinity argument.
52013         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52014         negative infinity argument.
52015         * math/libm-test.inc (tgamma_test): Expect errno to be set for
52016         domain errors.
52018 2013-05-10  Florian Weimer  <fweimer@redhat.com>
52020         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52021         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52022         * iconv/iconv_prog.c (main): Likewise.
52023         * locale/programs/charmap-dir.c (charmap_readdir)
52024         (fopen_uncompressed): Likewise.
52025         * locale/programs/locfile.c (siblings_uncached)
52026         (write_locale_data): Use lstat64 instead of lstat.
52027         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52028         stat.
52030 2013-05-10  Andreas Jaeger  <aj@suse.de>
52032         [BZ #15395]
52033         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52034         localization.
52035         Include <locale.h>.
52037 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
52039         * elf/dl-close.c (_dl_close_worker): Add comments.
52041 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
52043         [BZ #15359]
52044         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52045         high part of pi/2.
52046         (__ieee754_rem_pio2l): Update comments.
52048         [BZ #15429]
52049         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52050         high part of pi/2.
52051         (__ieee754_rem_pio2l): Update comments.
52053         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52054         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52056         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52057         M_PI_4l.
52059         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52060         (M_PI_34_LOG10El): Likewise.
52061         (M_PI2_LOG10El): Likewise.
52062         (M_PI4_LOG10El): Likewise.
52063         (M_PI_LOG10El): Likewise.
52065 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52069 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
52071         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52072         (MINUS_ZERO_INIT): Likewise.
52073         (PLUS_INFTY_INIT): Likewise.
52074         (MINUS_INFTY_INIT): Likewise.
52075         (QNAN_VALUE_INIT): Likewise.
52076         (MAX_VALUE_INIT): Likewise.
52077         (MIN_VALUE_INIT): Likewise.
52078         (MIN_SUBNORM_VALUE_INIT): Likewise.
52079         (plus_zero): Initialize with PLUS_ZERO_INIT.
52080         (minus_zero): Initialize with MINUS_ZERO_INIT.
52081         (plus_infty): Initialize with PLUS_INFTY_INIT.
52082         (minus_infty): Initialize with MINUS_INFTY_INIT.
52083         (qnan_value): Initialize with QNAN_VALUE_INIT.
52084         (max_value): Initialize with MAX_VALUE_INIT.
52085         (min_value): Initialize with MIN_VALUE_INIT.
52086         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52088         * math/libm-test.inc (RUN_TEST_if_f): New macro.
52089         (jn_test): Use TEST_if_f instead of TEST_ff_f.
52090         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52091         (yn_test): Use TEST_if_f instead of TEST_ff_f.
52093         * math/libm-test.inc (RUN_TEST_f_f): New macro.
52094         (RUN_TEST_2_f): Likewise.
52095         (RUN_TEST_ff_f): Likewise.
52096         (RUN_TEST_fi_f): Likewise.
52097         (RUN_TEST_fl_f): Likewise.
52098         (RUN_TEST_fff_f): Likewise.
52099         (RUN_TEST_c_f): Likewise.
52100         (RUN_TEST_f_f1): Likewise.
52101         (RUN_TEST_fF_f1): Likewise.
52102         (RUN_TEST_fI_f1): Likewise.
52103         (RUN_TEST_ffI_f1): Likewise.
52104         (RUN_TEST_c_c): Likewise.
52105         (RUN_TEST_cc_c): Likewise.
52106         (RUN_TEST_f_i): Likewise.
52107         (RUN_TEST_f_i_tg): Likewise.
52108         (RUN_TEST_ff_i_tg): Likewise.
52109         (RUN_TEST_f_b): Likewise.
52110         (RUN_TEST_f_b_tg): Likewise.
52111         (RUN_TEST_f_l): Likewise.
52112         (RUN_TEST_f_L): Likewise.
52113         (RUN_TEST_sincos): Likewise.
52114         * math/gen-libm-test.pl (new_test): Take new argument to indicate
52115         whether to show exceptions.  Do not include ");\n" in return
52116         value.
52117         (special_functions): Output call to RUN_TEST_sincos instead of
52118         check_float calls.  Update calls to new_test.
52119         (parse_args): Output call to single RUN_TEST_* macro instead of
52120         check_* calls and other assignments.  Update calls to new_test.
52122         [BZ #2546]
52123         [BZ #2560]
52124         [BZ #5159]
52125         [BZ #15426]
52126         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52127         input to result for tgamma overflow.
52128         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52129         (gamma_coeff): New variable.
52130         (NCOEFF): New macro.
52131         (gamma_positive): New function.
52132         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52133         underflow here.  Use gamma_positive instead of exp (lgamma) for
52134         other arguments.
52135         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52136         (gamma_coeff): New variable.
52137         (NCOEFF): New macro.
52138         (gammaf_positive): New function.
52139         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52140         underflow here.  Use gamma_positive instead of exp (lgamma) for
52141         other arguments.
52142         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52143         (gamma_coeff): New variable.
52144         (NCOEFF): New macro.
52145         (gammal_positive): New function.
52146         (__ieee754_gammal_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-128ibm/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, overflow and
52154         underflow here.  Handle NaN the same as positive infinity.  Remove
52155         check x < 0xffffffff for negative integers.  Use gamma_positive
52156         instead of exp (lgamma) for other arguments.
52157         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52158         (gamma_coeff): New variable.
52159         (NCOEFF): New macro.
52160         (gammal_positive): New function.
52161         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52162         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52163         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52164         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52165         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52166         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52167         * sysdeps/generic/math_private.h (__gamma_productf): New
52168         prototype.
52169         (__gamma_product): Likewise.
52170         (__gamma_productl): Likewise.
52171         * math/Makefile (libm-calls): Add gamma_product.
52172         * math/libm-test.inc (tgamma_test): Add more tests.
52173         * sysdeps/i386/fpu/libm-test-ulps: Update.
52174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52176 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52178         * benchtests/bench-skeleton.c (main): Preheat CPU.
52180 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52182         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52184 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52186         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52187         and _dl_skip_args_internal.
52189 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52191         * manual/message.texi (Message Translation): Talk about users.
52192         Message to key mapping impacts design.
52194 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52196         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52198         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52200         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52201         * sysdeps/wordsize-64/glob64.c: ... here.
52203         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52204         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52205         New macros.
52207         * debug/getlogin_r_chk.c: Moved to ...
52208         * login/getlogin_r_chk.c: ... here.
52209         * debug/Makefile (routines): Move getlogin_r_chk to ...
52210         * login/Makefile (routines): ... here.
52211         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52212         * login/Versions (libc: GLIBC_2.4): ... here.
52214         * io/poll.c (__poll): Renamed from poll.
52215         Add libc_hidden_def.
52216         (poll): Define as weak alias.
52218         * debug/ptsname_r_chk.c: Moved to ...
52219         * login/ptsname_r_chk.c: ... here.
52220         * debug/Makefile (routines): Move ptsname_r_chk to ...
52221         * login/Makefile (routines): ... here.
52222         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52223         * login/Versions (libc: GLIBC_2.4): ... here.
52225         * posix/getlogin.c: Moved to ...
52226         * login/getlogin.c: ... here.
52227         * posix/getlogin_r.c: Moved to ...
52228         * login/getlogin_r.c: ... here.
52229         * posix/getlogin_r.c: Moved to ...
52230         * login/getlogin_r.c: ... here.
52231         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52232         * login/Makefile (routines): ... here.
52233         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52234         * login/Versions (libc: GLIBC_2.0): ... here.
52236         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52237         (setrlimit): Define as weak alias.
52239         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52240         Call __ names for open, ftruncate, and close.
52241         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52242         (truncate): Define as weak alias.
52244 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52246         * math/gen-libm-test.pl (parse_args): Initialize x before each
52247         test of frexp, modf and remquo.
52249         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52250         test signgam value.
52252 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52254         [BZ #15418]
52255         [BZ #15419]
52256         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52257         internal tests.
52258         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52260 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52262         * elf/dl-writev.h: New file.
52263         * elf/dl-misc.c: Include it.
52264         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52265         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52267 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52269         * math/libm-test.inc (noXFails): Remove variable.
52270         (noXPasses): Likewise.
52271         (BUILD_COMPLEX_INT): Remove macro.
52272         (print_screen): Remove xfail argument.
52273         (print_screen_max_error): Likewise.
52274         (update_stats): Likewise.
52275         (print_max_error): Likewise.  Update calls to other affected
52276         functions.
52277         (print_complex_max_error): Likewise.
52278         (test_single_exception): Update calls to print_screen.
52279         (test_single_errno): Likewise.
52280         (check_float_internal): Remove xfail argument.  Update calls to
52281         other affected functions.
52282         (check_float): Likewise.
52283         (check_complex): Likewise.
52284         (check_int): Likewise.
52285         (check_long): Likewise.
52286         (check_bool): Likewise.
52287         (check_longlong): Likewise.
52288         (main): Don't print noXFails and noXPasses.
52289         * math/gen-libm-test.pl (top level): Don't mention expected
52290         failure handling in comment.
52291         (new_test): Don't handle expected failures.
52292         (parse_args): Don't mention expected failure handling in comment.
52293         (generate_testfile): Don't handle expected failures.
52294         (parse_ulps): Likewise.
52295         (print_ulps_file): Likewise.
52296         (get_failure): Remove function.
52297         (output_test): Don't handle expected failures.
52298         * make/README.libm-test: Don't mention expected failure handling.
52300         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52301         (minus_zero): Likewise.
52302         (plus_infty): Likewise.
52303         (minus_infty): Likewise.
52304         (qnan_value): Likewise.
52305         (max_value): Likewise.
52306         (min_value): Likewise.
52307         (min_subnorm_value): Likewise.
52308         (initialize): Do not initialize those variables dynamically.
52310 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52312         * io/open.c (__open_2): Moved to ...
52313         * io/open_2.c: ... this new file.
52314         * io/open64.c (__open64_2): Moved to ...
52315         * io/open64_2.c: ... this new file.
52316         * io/openat.c (__openat_2): Moved to ...
52317         * io/openat_2.c: ... this new file.
52318         * io/openat64.c (__openat64_2): Moved to ...
52319         * io/openat64_2.c: ... this new file.
52320         * io/Makefile (routines): Add them.
52321         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52322         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52323         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52324         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52325         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52326         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52327         (__openat64): Add hidden_ver.
52328         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52329         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52331         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52332         Separately conditionalize setting of GLRO(dl_sysinfo) so
52333         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52334         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52336 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52338         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52339         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52340         definition.
52341         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52342         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52343         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52344         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52345         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52347 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52349         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52350         test signgam value.
52352         * math/libm-test.inc (hypot_test): Do not use
52353         IGNORE_ZERO_INF_SIGN.
52355 2013-05-03  Andreas Jaeger  <aj@suse.de>
52357         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52358         Linux 3.9.
52359         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52360         (PF_MAX): Adjust for VSOCK change.
52362 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52366 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52368         [BZ #15264]
52369         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52370         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52371         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52373 2013-05-02  David S. Miller  <davem@davemloft.net>
52375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52377 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52379         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52381 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52383         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52385 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52387         [BZ #14952]
52388         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52389         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52390         Use __attribute__ ((__gnu_inline__)).
52391         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52392         Don't use __attribute__ ((__gnu_inline__)).
52394 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52396         [BZ #15423]
52397         * math/s_catan.c (__catan): Handle small real or imaginary part of
52398         input specially to avoid spurious underflow.
52399         * math/s_catanf.c (__catanf): Likewise.
52400         * math/s_catanh.c (__catanh): Likewise.
52401         * math/s_catanhf.c (__catanhf): Likewise.
52402         * math/s_catanhl.c (__catanhl): Likewise.
52403         * math/s_catanl.c (__catanl): Likewise.
52404         * math/libm-test.inc (catan_test): Add more tests.
52405         (catanh_test): Likewise.
52406         * sysdeps/i386/fpu/libm-test-ulps: Update.
52407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52409 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52413 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52415         [BZ #15416]
52416         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52417         accurately for denominator in atan2.
52418         * math/s_catanf.c (__catanf): Likewise.
52419         * math/s_catanh.c (__catanh): Likewise.
52420         * math/s_catanhf.c (__catanhf): Likewise.
52421         * math/s_catanhl.c (__catanhl): Likewise.
52422         * math/s_catanl.c (__catanl): Likewise.
52423         * math/libm-test.inc (catan_test): Add more tests.
52424         (catanh_test): Likewise.
52425         * sysdeps/i386/fpu/libm-test-ulps: Update.
52426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52428 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52430         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52432         * benchtests/Makefile (bench): Remove slow benchmarks.
52433         * benchtests/atan-inputs: Add slow benchmark inputs.
52434         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52435         (BENCH_FUNC): Accept variant offset.
52436         (VARIANT): Define.
52437         * benchtests/bench-skeleton.c (main): Run benchmark for each
52438         variant.
52439         * benchtests/cos-inputs: Add slow benchmark inputs.
52440         * benchtests/exp-inputs: Likewise.
52441         * benchtests/pow-inputs: Likewise.
52442         * benchtests/sin-inputs: Likewise.
52443         * benchtests/slowatan-inputs: Remove.
52444         * benchtests/slowatan.c: Remove.
52445         * benchtests/slowcos-inputs: Remove.
52446         * benchtests/slowcos.c: Remove.
52447         * benchtests/slowexp-inputs: Remove.
52448         * benchtests/slowexp.c: Remove.
52449         * benchtests/slowpow-inputs: Remove.
52450         * benchtests/slowpow.c: Remove.
52451         * benchtests/slowsin-inputs: Remove.
52452         * benchtests/slowsin.c: Remove.
52453         * benchtests/slowtan-inputs: Remove.
52454         * benchtests/slowtan.c: Remove.
52455         * benchtests/tan-inputs: Add slow benchmark inputs.
52456         * scripts/bench.pl: Parse comments and directives.
52458         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52459         in CPPFLAGS.
52460         ($(objpfx)bench-%.c): Remove *-ITER.
52461         * benchtests/bench-modf.c: Remove definition of ITER.
52462         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52463         (main): Loop for DURATION seconds instead of fixed number of
52464         iterations.
52465         * scripts/bench.pl: Don't expect iterations in parameters.
52467 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52469         * io/fchdir.c (__fchdir): Renamed from fchdir.
52470         (fchdir): Define as weak alias.
52472 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52474         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52475         (ERRNO_EDOM): Likewise.
52476         (ERRNO_ERANGE): Likewise.
52477         (noErrnoTests): New variable.
52478         (init_max_error): Set errno to 0.
52479         (test_single_errno): New function.
52480         (test_errno): Likewise.
52481         (check_float_internal): Call test_errno.  Set errno to 0.
52482         (check_complex): Refer to errno tests in comment.
52483         (check_int): Call test_errno.  Set errno to 0.
52484         (check_long): Likewise.
52485         (check_bool): Likewise.
52486         (check_longlong): Likewise.
52487         (cos_test): Use ERRNO_* flags for errno tests instead of
52488         check_int.
52489         (expm1_test): Likewise.
52490         (fmod_test): Likewise.
52491         (ilogb_test): Likewise.
52492         (lgamma_test): Likewise.
52493         (pow_test): Likewise.
52494         (remainder_test): Likewise.
52495         (sin_test): Likewise.
52496         (tan_test): Likewise.
52497         (yn_test): Likewise.
52498         (initialize): Set errno to 0.
52499         (main): Print number of errno tests.
52500         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52502 2013-04-29  Andreas Jaeger  <aj@suse.de>
52504         [BZ #15084]
52505         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52506         and RES_USEVC.
52508         [BZ #15085]
52509         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52510         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52511         unimplemented.
52513         [BZ #15380]
52514         * stdlib/random.c (__initstate): Return NULL if
52515         __initstate fails.
52517         [BZ #15086]
52518         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52519         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52520         RES_SNGLKUPREOP.
52522 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52526 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52528         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52529         of individual tests.
52530         (casin_test): Likewise.
52531         (casinh_test): Likewise.
52533 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52535         [BZ #15409]
52536         * math/s_catan.c (__catan): Handle arguments with large real or
52537         imaginary part separately without squaring.
52538         * math/s_catanf.c (__catanf): Likewise.
52539         * math/s_catanh.c (__catanh): Likewise.
52540         * math/s_catanhf.c (__catanhf): Likewise.
52541         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52542         and redefine.
52543         (__catanhl): Handle arguments with large real or imaginary part
52544         separately without squaring.
52545         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52546         and redefine.
52547         (__catanl): Handle arguments with large real or imaginary part
52548         separately without squaring.
52549         * math/libm-test.inc (catan_test): Add more tests.
52550         (catanh_test): Likewise.
52551         * sysdeps/i386/fpu/libm-test-ulps: Update.
52552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52554 2013-04-27  Andreas Jaeger  <aj@suse.de>
52556         [BZ #15007]
52557         * stdlib/stdlib.h: Update guards for qecvt.
52558         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52559         <stdlib.h>.
52561 2013-04-27  Allan McRae  <allan@archlinux.org>
52563         * sysdeps/i386/fpu/libm-test-ulps: Update.
52565 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52567         [BZ #15406]
52568         * math/s_catan.c: Include <float.h>.
52569         (__catan): Ensure underflow exception occurs for underflowed
52570         result.
52571         * math/s_catanf.c: Include <float.h>.
52572         (__catanf): Ensure underflow exception occurs for underflowed
52573         result.
52574         * math/s_catanh.c: Include <float.h>.
52575         (__catanh): Ensure underflow exception occurs for underflowed
52576         result.
52577         * math/s_catanhf.c: Include <float.h>.
52578         (__catanhf): Ensure underflow exception occurs for underflowed
52579         result.
52580         * math/s_catanhl.c: Include <float.h>.
52581         (__catanhl): Ensure underflow exception occurs for underflowed
52582         result.
52583         * math/s_catanl.c: Include <float.h>.
52584         (__catanl): Ensure underflow exception occurs for underflowed
52585         result.
52586         * math/libm-test.inc (catan_test): Add more tests.
52587         (catanh_test): Likewise.
52589         [BZ #15405]
52590         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52591         underflowed result.
52592         * math/s_ccoshf.c (__ccoshf): Likewise.
52593         * math/s_ccoshl.c (__ccoshl): Likewise.
52594         * math/s_csin.c (__csin): Likewise.
52595         * math/s_csinf.c (__csinf): Likewise.
52596         * math/s_csinh.c (__csinh): Likewise.
52597         * math/s_csinhf.c (__csinhf): Likewise.
52598         * math/s_csinhl.c (__csinhl): Likewise.
52599         * math/s_csinl.c (__csinl): Likewise.
52600         * math/libm-test.inc (ccos_test): Add more tests.
52601         (ccosh_test): Likewise.
52602         (csin_test): Likewise.
52603         (csinh_test): Likewise.
52605 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52607         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52608         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52609         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52610         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52611         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52612         powerpc/power5+/fpu folders.
52613         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52616 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52618         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52620 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52622         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52623         additions to variable.
52624         [$(config-machine) = x86_64] (modules-names): Likewise.
52625         ($(objpfx)tst-audit3): Remove dependency.
52626         ($(objpfx)tst-audit3.out): Likewise.
52627         ($(objpfx)tst-audit4): Likewise.
52628         ($(objpfx)tst-audit4.out): Likewise.
52629         ($(objpfx)tst-audit5): Likewise.
52630         ($(objpfx)tst-audit5.out): Likewise.
52631         ($(objpfx)tst-audit6): Likewise.
52632         ($(objpfx)tst-audit6.out): Likewise.
52633         ($(objpfx)tst-audit7): Likewise.
52634         ($(objpfx)tst-audit7.out): Likewise.
52635         (tst-audit3-ENV): Remove variable.
52636         (tst-audit4-ENV): Likewise.
52637         (tst-audit5-ENV): Likewise.
52638         (tst-audit6-ENV): Likewise.
52639         (tst-audit7-ENV): Likewise.
52640         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52641         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52642         addition to variable.
52643         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52644         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52645         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52646         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52647         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52648         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52649         tst-audit3, tst-audit4 and tst-audit5.
52650         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52651         tst-audit6 and tst-audit7.
52652         [$(subdir) = elf] (modules-names): Add audit modules for those
52653         tests.
52654         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52655         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52656         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52657         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52658         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52659         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52660         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52661         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52662         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52663         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52664         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52665         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52666         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52667         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52668         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52669         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52670         Likewise.
52671         [$(subdir) = elf && $(config-cflags-avx) = yes]
52672         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52673         [$(subdir) = elf && $(config-cflags-avx) = yes]
52674         (CFLAGS-tst-auditmod4a.c): Likewise.
52675         [$(subdir) = elf && $(config-cflags-avx) = yes]
52676         (CFLAGS-tst-auditmod4b.c): Likewise.
52677         [$(subdir) = elf && $(config-cflags-avx) = yes]
52678         (CFLAGS-tst-auditmod6b.c): Likewise.
52679         [$(subdir) = elf && $(config-cflags-avx) = yes]
52680         (CFLAGS-tst-auditmod6c.c): Likewise.
52681         [$(subdir) = elf && $(config-cflags-avx) = yes]
52682         (CFLAGS-tst-auditmod7b.c): Likewise.
52683         * elf/tst-audit3.c: Move to ...
52684         * sysdeps/x86_64/tst-audit3.c: ... here.
52685         * elf/tst-audit4.c: Move to ...
52686         * sysdeps/x86_64/tst-audit4.c: ... here.
52687         * elf/tst-audit5.c: Move to ...
52688         * sysdeps/x86_64/tst-audit5.c: ... here.
52689         * elf/tst-audit6.c: Move to ...
52690         * sysdeps/x86_64/tst-audit6.c: ... here.
52691         * elf/tst-audit7.c: Move to ...
52692         * sysdeps/x86_64/tst-audit7.c: ... here.
52693         * elf/tst-auditmod3a.c: Move to ...
52694         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52695         * elf/tst-auditmod3b.c: Move to ...
52696         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52697         * elf/tst-auditmod4a.c: Move to ...
52698         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52699         * elf/tst-auditmod4b.c: Move to ...
52700         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52701         * elf/tst-auditmod5a.c: Move to ...
52702         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52703         * elf/tst-auditmod5b.c: Move to ...
52704         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52705         * elf/tst-auditmod6a.c: Move to ...
52706         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52707         * elf/tst-auditmod6b.c: Move to ...
52708         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52709         * elf/tst-auditmod6c.c: Move to ...
52710         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52711         * elf/tst-auditmod7a.c: Move to ...
52712         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52713         * elf/tst-auditmod7b.c: Move to ...
52714         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52716 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52718         [BZ #15366]
52719         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52720         define unconditionally.
52721         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52722         define unconditionally.
52723         (INT8_C, INT16_C, etc.): Likewise.
52725 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52727         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52728         __ehdr_start with hidden visibility.
52730         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52732 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52734         * math/libm-test.inc (cos_test): Use accurate hex constants.
52735         (sincost_test): Likewise.
52737 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52739         * math/libm-test.inc (catan_test): Add more tests.
52740         (catanh_test): Likewise.
52742         * math/s_catanf.c (__catanf): Use suffixed floating-point
52743         constants.
52744         * math/s_catanhf.c (__catanhf): Likewise.
52745         * math/s_catanhl.c (__catanhl): Likewise.
52746         * math/s_catanl.c (__catanl): Likewise.
52748         [BZ #15394]
52749         * math/s_catan.c (__catan): Calculate imaginary part of result
52750         with log1p not log unless computing log of number close to 0.
52751         * math/s_catanf.c (__catanf): Likewise.
52752         * math/s_catanl.c (__catanl): Likewise.
52753         * math/s_catanh.c (__catanh): Calculate real part of result with
52754         log1p not log unless computing log of number close to 0.
52755         * math/s_catanhf.c (__catanhf): Likewise.
52756         * math/s_catanhl.c (__catanhl): Likewise.
52757         * math/libm-test.inc (catan_test): Add more tests.
52758         (catanh_test): Likewise.
52759         * sysdeps/i386/fpu/libm-test-ulps: Update.
52760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52762 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52764         * benchtests/Makefile: Mention files in which fast and slow
52765         paths of math functions are implemented.
52767 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52769         * sysdeps/posix/timespec_get.c: New file.
52771 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52773         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52774         POWER.
52775         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52776         for POWER.
52777         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52778         powerpc/power5/fpu folders.
52779         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52780         * benchtests/Makefile: Add modf testcase.
52781         * benchtests/bench-modf.c: New file: Benchmark test for mo
52783 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52785         [BZ #14888]
52786         * time/Makefile (tests): Add tst-strptime-whitespace.
52787         * time/strptime_l.c (get_number): Use ISSPACE.
52788         (__strptime_internal): Likewise.
52789         * time/tst-strptime-whitespace.c: New test case.
52791 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52793         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52794         member.
52795         (_nss_files_init): Set it here.
52797 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52799         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52800         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52801         unsigned.
52803 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52805         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52807 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52809         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52810         size just once.
52812 2013-04-21  David S. Miller  <davem@davemloft.net>
52814         * po/ru.po: Update Russion translation from translation project.
52816 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52818         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52819         and setfsgid.
52821 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52823         * configure.in: Remove i386 configure warning. Remove i386 case.
52824         * configure: Regenerate.
52825         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52826         Add example to error message.
52827         * sysdeps/i386/configure: Regenerate.
52829 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52831         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52832         slowtan.
52833         * benchtests/cos-inputs: New file.
52834         * benchtests/slowcos-inputs: New file.
52835         * benchtests/slowcos.c: New file.
52836         * benchtests/slowtan-inputs: New file.
52837         * benchtests/slowtan.c: New file.
52838         * benchtests/tan-inputs: New file.
52840 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52842         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52843         considered kosher.
52845 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52847         * benchtests/Makefile: Include cppflags-iterator.mk to add
52848         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52850         * Makefile.in (bench-clean): New target.
52851         * benchtests/Makefile (bench-clean): Likewise.
52853 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52855         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52857 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52859         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52861 2013-04-15  Andreas Schwab  <schwab@suse.de>
52863         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52864         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52865         * nscd/pwdcache.c (cache_addpw): Likewise.
52866         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52867         more than recsize.
52869 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52871         * benchtests/Makefile (bench): Write all output to
52872         bench-out.tmp together.
52874 2013-04-15  Andreas Schwab  <schwab@suse.de>
52876         * nscd/nscd.c (main): Don't fork again after closing files.
52878 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52880         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52882         * benchtests/Rules (bench-deps): Collect dependencies into a
52883         single variable.  Add Makefile to dependencies.
52884         ($(objpfx)bench-%.c): Depend on bench-deps.
52886 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52887             Xavier Roche  <roche+kml2@exalead.com>
52889         [BZ #15361]
52890         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52891         just that it's a file descriptor.
52892         * manual/llio.texi (Synchronizing AIO Operations): Update description
52893         for EBADF error from aio_fsync.
52895 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52897         * Rules (bench): Move target definition...
52898         * benchtests/Makefile: ... here.
52900 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52902         * math/libm-test.inc (cos_test): Fix PI/2 test.
52903         (sincos_test): Likewise.
52904         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52905         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52907 2013-04-11  Andreas Schwab  <schwab@suse.de>
52909         [BZ #13988]
52910         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52911         accept exponent character only when digits were seen.
52912         * stdio-common/Makefile (tests): Add bug26.
52913         * stdio-common/bug26.c: New file.
52915         [BZ #14293]
52916         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52917         non-freeable.
52919 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52921         * Makeconfig (rtld-prefix): Define built linker prefix.
52922         * Rules (run-bench): Use it.
52923         * math/Makefile (run-regen-ulps): Likewise.
52925         * Rules (bench): Remove eval.
52927 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52928             Roland McGrath  <roland@hack.frob.com>
52929             Ondrej Bilka  <neleai@seznam.cz>
52931         [BZ #15346]
52932         * time/getdate.c: Include ctype.h and alloca.h.
52933         (__getdate_r): Trim leading and trailing spaces of input.
52934         * time/tst-getdate.c (tests): Add tests with leading and
52935         trailing spaces.
52937 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52939         [BZ #14280]
52940         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52941         when computing value.
52943 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52945         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52946         Use testrun.sh to run libm tests.
52948         [BZ #15309]
52949         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52951 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52953         [BZ #15264]
52954         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52956 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52958         * Makefile.in (regen-ulps): New target.
52959         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52960         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52961         [ifneq (no,$(PERL)] (regen-ulps): New target.
52962         [ifeq (no,$(PERL)] (regen-ulps): New target.
52963         * math/libm-test.inc (ulps_file_name): Define.
52964         (output_dir): New variable.
52965         (options): Add "output-dir" option.
52966         (parse_opt): Handle 'o' case.
52967         (main): If output_dir is non-NULL use it as a prefix
52968         otherwise use "".
52969         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52971 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52973         [BZ #10060, #10062]
52974         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52975         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52976         fail configure if __sync_val_compare_and_swap is not inlined.
52977         * sysdeps/i386/configure: Regenerate.
52978         * configure.in: Build for i686 when configured for i386.
52979         * configure: Regenerate.
52980         * README: Remove i386 reference.
52982 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52984         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52985         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52987 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52989         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52990         (lmsnanval): New variables.
52991         (F): Add conversion tests.
52992         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52993         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52995         * stdio-common/tstdiomisc.c (F): Properly collect individual
52996         tests' results.
52998         [BZ #14686, #15336]
52999         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53000         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53001         Instead, use input NaN values or generate a qNaN by arithmetic
53002         operation.  Also fix bugs to comply with the standard.
53003         * math/libm-test.inc (remainder_test): Add more tests.
53005         [BZ #15335, #15342]
53006         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53007         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53008         input NaN values or generate a qNaN by arithmetic operation.
53010         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53011         unreachable code.
53013         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53014         definitions.
53016 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
53018         [BZ #14478]
53019         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53020         underflowed result.
53021         * math/s_cexpf.c (__cexpf): Likewise.
53022         * math/s_cexpl.c (__cexpl): Likewise.
53023         * math/libm-test.inc (cexp_test): Add more tests.
53025 2013-04-03  Andreas Schwab  <schwab@suse.de>
53027         [BZ #15330]
53028         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53029         order arrays from heap if bigger than alloca cutoff.
53031 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
53033         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53034         (SNAN_TESTS_double): Refer to GCC PR56831.
53035         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53036         GCC PR56828.
53038 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53040         * Rules (bench): Move bench.out after the run is complete.
53042         * Rules (bench): Echo currently running benchmark.
53044         * benchtests/Makefile (bench): Add atan and slowatan.
53045         * benchtests/atan-inputs: New file.
53046         * benchtests/slowatan-inputs: New file.
53047         * benchtests/slowatan.c: New file.
53049         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53050         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53051         its value.
53053         [BZ #15305]
53054         * sysdeps/unix/sysv/linux/kernel-features.h
53055         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53056         __ASSUME_XFS_RESTRICTED_CHOWN.
53057         * sysdeps/unix/sysv/linux/pathconf.c
53058         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53059         Save and restore errno.
53061 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
53063         [BZ #15327]
53064         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53065         arguments using __kernel_casinh.
53066         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53067         arguments using __kernel_casinhf.
53068         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53069         arguments using __kernel_casinhl.
53070         * math/libm-test.inc (cacosh_test): Add more tests.
53071         * sysdeps/i386/fpu/libm-test-ulps: Update.
53072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53074 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53076         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53077         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53079         * bench/Makefile (bench): Add sin and slowsin.
53080         * benchtests/sin-inputs: New file.
53081         * benchtests/slowsin-inputs: New file.
53082         * benchtests/slowsin.c: New file.
53084         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53085         (bench): Add slowexp and slowpow.
53086         (exp-ITER): Increase iterations.
53087         (pow-ITER): Likewise.
53088         * benchtests/exp-inputs: Change input.
53089         * benchtests/pow-inputs: Likewise.
53090         * benchtests/slowexp-inputs: New file.
53091         * benchtests/slowexp.c: New file.
53092         * benchtests/slowpow-inputs: New file.
53093         * benchtests/slowpow.c: New file.
53095 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53097         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53098         instructions.
53099         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53100         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53101         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53102         * benchtests/Makefile: Add rint benchtest.
53103         * benchtests/rint-inputs: Input for rint benchtest.
53105 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53107         * Versions.def (libm): Add GLIBC_2.18.
53108         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53109         hidden libm prototypes.
53110         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53111         * math/Makefile (libm-calls): Add s_issignaling.
53112         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53113         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
53114         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53115         declaration.
53116         * math/math.h [__USE_GNU] (issignaling): New macro.
53117         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53118         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53119         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53120         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53121         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53122         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53123         * manual/arith.texi (issignaling): New section.
53124         * manual/libm-err-tab.pl (@all_functions): Update comment.
53125         * math/gen-libm-test.pl (parse_args): Apply special handling for
53126         issignaling.
53127         * math/libm-test.inc (print_float, issignaling_test): New
53128         functions.
53129         (check_float_internal): Add issignaling checks.
53130         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53131         default definition.
53132         * sysdeps/powerpc/math-tests.h: New file.
53133         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53134         tests.
53135         * math/test-snan.c (TEST_FUNC): Likewise.
53137 2013-03-30  David S. Miller  <davem@davemloft.net>
53139         * po/de.po: Update from translation team.
53141 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
53143         [BZ #10357]
53144         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53145         imaginary part less than 1.0 and real part less than 0.5
53146         specially.
53147         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53148         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53149         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53150         (cacos_test): Add more tests.
53151         (casin_test): Likewise.
53152         (casinh_test): Likewise.
53153         * sysdeps/i386/fpu/libm-test-ulps: Update.
53154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53156 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53158         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53159         ONE with its value.
53161         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53162         (__pow_mp): Replace ONE and MONE with their values.
53163         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53164         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53165         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53166         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53167         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53168         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53170         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53172         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53173         (__pow_mp): Replace ZERO and MZERO with their values.
53174         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53175         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53176         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53177         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53178         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53179         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53180         (__sqr): Likewise.
53182         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53184         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53186 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53188         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53189         Declare with __attribute__ ((weak)).
53190         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53191         Call __call_tls_dtors only if it's not NULL.
53193 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53195         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53196         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53197         magic __ehdr_start linker symbol if it's defined.
53198         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53199         them up here if it was already done.
53201         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53202         (_dl_aux_init): Use const in cast when setting it.
53203         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53204         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53205         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53207         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53208         Declare them here.
53209         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53210         * csu/libc-tls.c: Nor here.
53211         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53213         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53214         (__libc_message): Never call vsyslog.
53216 2013-03-28  Alan Modra  <amodra@gmail.com>
53218         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53219         Define as empty.
53220         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53221         Likewise.
53223 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53225         [BZ #15214]
53226         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53227         underflow.
53228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53230 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53232         [BZ #15304]
53233         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53234         Don't add gid passed as argument.
53236         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53238 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53240         [BZ #15307]
53241         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53242         imaginary part between 1.0 and 1.5 and real part less than 0.5
53243         specially.
53244         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53245         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53246         * math/libm-test.inc (cacos_test): Add more tests.
53247         (casin_test): Likewise.
53248         (casinh_test): Likewise.
53249         * sysdeps/i386/fpu/libm-test-ulps: Update.
53250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53252 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53254         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53255         constants.
53256         (norm): Likewise.
53257         (denorm): Likewise.
53258         (__dbl_mp): Likewise.
53259         (add_magnitudes): Likewise.
53260         (sub_magnitudes): Likewise.
53261         (__add): Likewise.
53262         (__sub): Likewise.
53263         (__mul): Likewise.
53264         (__sqr): Likewise.
53265         (__inv): Likewise.
53266         (__dvd): Likewise.
53268         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53269         commented code.
53270         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53271         (__dubcos): Likewise.
53272         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53273         (__ieee754_acos): Likewise.
53274         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53275         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53276         (__exp1): Likewise.
53277         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53278         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53279         (log1): Likewise.
53280         (my_log2): Likewise.
53281         (checkint): Likewise.
53282         * sysdeps/ieee754/dbl-64/e_remainder.c
53283         (__ieee754_remainder): Likewise.
53284         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53285         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53286         (bsloww): Likewise.
53287         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53289         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53290         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53291         MANTISSA_STORE_T to store computations on mantissa.  Use
53292         macros for rounding and division.
53293         (denorm): Likewise.
53294         (__dbl_mp): Likewise.
53295         (add_magnitudes): Likewise.
53296         (sub_magnitudes): Likewise.
53297         (__mul): Likewise.
53298         (__sqr): Likewise.
53299         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53300         powers of two in terms of TWOPOW macro.
53301         (mp_no): Make type of mantissa as MANTISSA_T.
53302         [!RADIXI]: Define RADIXI.
53303         [!TWO52]: Define TWO52.
53304         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53306 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53308         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53309         llroundl symbol when building for PPC32.
53311 2013-03-24  Mark H Weaver  <mhw@netris.org>
53313         * manual/arith.texi (Normalization Functions): Fix prototypes for
53314         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53316 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53318         [BZ #13889]
53319         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53320         high value to check if expl overflow.
53321         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53322         to check for underflow and overflow.
53323         * math/libm-test.inc: Add exp test.
53325 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53327         [BZ #11120]
53328         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53329         with NOT_IN_libc.
53331 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53333         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53334         symbol.
53336 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53338         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53339         wrap blocks consisting of several statements.
53341         * sysdeps/generic/math-tests.h: New file.
53342         * sysdeps/i386/fpu/math-tests.h: Likewise.
53343         * math/test-snan.c: Include it.
53344         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53346 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53348         [BZ #15285]
53349         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53350         (__ieee754_j0l): Do not improve calculations using cos of twice
53351         input for inputs above LDBL_MAX / 2.0L.
53352         (__ieee754_y0l): Likewise.
53353         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53354         (__ieee754_j1l): Do not improve calculations using cos of twice
53355         input for inputs above LDBL_MAX / 2.0L.
53356         (__ieee754_y1l): Likewise.
53357         * math/libm-test.inc (j0_test): Add another test.
53358         (j1_test): Likewise.
53359         (y0_test): Likewise.
53360         (y1_test): Likewise.
53361         * sysdeps/i386/fpu/libm-test-ulps: Update.
53363 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53365         * Rules ($(objpfx)bench-%.c): Include code from a C source
53366         file.
53368 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53370         [BZ #15287]
53371         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53372         imaginary part 1.0 and real part less than 0.5 specially.
53373         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53374         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53375         * math/libm-test.inc (cacos_test): Add more tests.
53376         (casin_test): Likewise.
53377         (casinh_test): Likewise.
53378         * sysdeps/i386/fpu/libm-test-ulps: Update.
53379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53381 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53383         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53384         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53386 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53388         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53389         * config.make.in (config-cflags-sse4): Remove variable.
53390         (config-cflags-avx): Likewise.
53391         (config-cflags-sse2avx): Likewise.
53392         (config-cflags-novzeroupper): Likewise.
53393         (config-asflags-i686): Likewise.
53394         (have-mfma4): Likewise.
53395         (have-as-vis3): Likewise.
53396         (MIG): Likewise.
53397         * configure.in (MIG): Do not AC_SUBST.
53398         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53399         (libc_cv_cc_sse4): Do not AC_SUBST.
53400         (libc_cv_cc_avx): Likewise.
53401         (libc_cv_cc_sse2avx): Likewise.
53402         (libc_cv_cc_novzeroupper): Likewise.
53403         (libc_cv_cc_fma4): Likewise.
53404         (libc_cv_as_i686): Likewise.
53405         (libc_cv_sparc_as_vis3): Likewise.
53406         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53407         LIBC_CONFIG_VAR.
53408         (config-asflags-i686): Likewise.
53409         (config-cflags-avx): Likewise.
53410         (config-cflags-sse2avx): Likewise.
53411         (have-mfma4): Likewise.
53412         (config-cflags-novzeroupper): Likewise.
53413         * sysdeps/mach/configure.in (MIG): Likewise.
53414         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53415         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53416         LIBC_CONFIG_VAR.
53417         (config-cflags-avx): Likewise.
53418         (config-cflags-sse2avx): Likewise.
53419         (have-mfma4): Likewise.
53420         (config-cflags-novzeroupper): Likewise.
53421         * configure: Regenerated.
53422         * sysdeps/i386/configure: Likewise.
53423         * sysdeps/mach/configure: Likewise.
53424         * sysdeps/sparc/configure: Likewise.
53425         * sysdeps/x86_64/configure: Likewise.
53427 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53429         [BZ #14812]
53430         * locale/programs/localedef.c (options): Put N_ translation marker
53431         on argument names, not just descriptions.
53433 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53435         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53437 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53439         [BZ #14176]
53440         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53442 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53444         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53445         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53446         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53447         [!BEFORE_ABORT] (before_abort): New function.
53448         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53449         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53450         (writev_for_fatal): New function.
53451         (WRITEV_FOR_FATAL): New macro; call that.
53452         (backtrace_and_maps): New function.
53453         (BEFORE_ABORT): New macro; call that.
53454         (struct str_list): Type removed.
53455         (__libc_message, __libc_fatal): Functions removed.
53456         Include <sysdeps/posix/libc_fatal.c> instead.
53458 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53460         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53461         constants.
53462         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53463         double constants.
53465 2013-03-19  Andreas Schwab  <schwab@suse.de>
53467         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53468         * sysdeps/gnu/configure: Regenerate.
53470         * configure.in: Substitute libc_cv_rtlddir.
53471         * configure: Regenerate.
53472         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53473         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53474         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53475         * elf/Makefile (install-others, CFLAGS-interp.c)
53476         (ldso_install, common-ldd-rewrite): Likewise.
53477         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53478         $(inst_slibdir)/$(rtld-installed-name).
53479         * scripts/rellns-sh: Add -p option.
53480         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53481         for source.
53483 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53485         * manual/nptl.texi: Renamed to ...
53486         * manual/threads.texi: ... this.
53487         * manual/Makefile (chapters): Update.
53489 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53491         [BZ #14812]
53492         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53493         on argument names, not just descriptions.
53494         * malloc/memusagestat.c (options): Likewise.
53495         * nss/getent.c (options): Likewise.
53497 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53499         [BZ #14812]
53500         * iconv/iconv_prog.c (options): Put N_ translation marker
53501         on argument names, not just descriptions.
53502         * iconv/iconvconfig.c (options): Likewise.
53504 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53506         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53507         implementation which is faster on all x86_64 architectures.
53508         Tested on AMD, Intel Nehalem, SNB, IVB.
53509         * sysdeps/x86_64/strnlen.S: Likewise.
53511         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53512         Remove all multiarch strlen and strnlen versions.
53513         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53514         Remove strlen and strnlen related parts.
53516         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53517         Inline strlen part.
53518         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53520         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53521         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53522         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53523         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53524         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53525         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53527 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53529         * manual/memory.texi (Malloc Tunable Parameters):
53530         Sort parameters alphabetically. Add comments for missing entries.
53532 2013-03-17  David S. Miller  <davem@davemloft.net>
53534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53536 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53538         [BZ #15283]
53539         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53540         for arguments at most half maximum finite value.
53541         * math/libm-test.inc (j0_test): Add more tests.
53542         (j1_test): Likewise.
53543         (y0_test): Likewise.
53544         (y1_test): Likewise.
53545         * sysdeps/i386/fpu/libm-test-ulps: Update.
53546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53548         [BZ #14155]
53549         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53550         1 / x and functions P and Q for arguments above 0x1p256L.
53551         (__ieee754_y0l): Likewise.
53552         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53553         (__ieee754_y1l): Likewise.
53554         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53555         (j1_test): Likewise.
53556         (y0_test): Likewise.
53557         (y1_test): Likewise.
53559 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53561         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53562         variable.
53564 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53566         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53567         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53568         zero since it's initialized to EXEC_PAGESIZE.
53570         * sysdeps/unix/sysv/linux/ldsodefs.h
53571         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53572         * sysdeps/generic/ldsodefs.h: ... here.
53574 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53576         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53578         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53579         math/test-snan.c.
53580         * math/test-snan.c: Renamed from
53581         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53582         * math/Makefile (tests): Add test-snan.
53583         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53584         test-powerpc-snan.
53586         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53587         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53588         functions.
53589         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53590         __builtin_nan family of functions.
53591         * math/libm-test.inc (initialize): Initialize qnan_value with
53592         __builtin_nan family of functions.
53593         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53594         Remove variables.
53595         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53596         Remove functions.
53597         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53598         storage class.  Initialize qNaN_var and sNaN_var with
53599         __builtin_nan and __builtin_nans families of functions,
53600         respectively.
53602         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53603         (sqrt_test): Remove duplicate test with qNaN input.
53604         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53605         (round_test, signbit_test, significand_test): Note missing +/-Inf
53606         as well as qNaN tests.
53608         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53609         qNaN_var.  Fix a few strings, too.
53610         * math/libm-test.inc (nan_value): Rename to qnan_value.
53611         * math/gen-libm-test.pl (%beautify): Adjust to that.
53612         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53613         * math/test-misc.c (main): Likewise.
53614         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53615         to __qnan_bytes, and __qnan_union, respectively.
53616         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53617         Likewise.
53618         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53619         and lqnanval, respectively.
53620         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53621         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53622         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53623         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53625         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53626         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53627         doubles.
53629         * math/test-misc.c (main): Fix copy'n'pastos.
53630         * misc/tst-efgcvt.c (special): Likewise.
53632         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53633         Remove declarations.
53635 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53637         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53638         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53639         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53640         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53642 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53644         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53645         macro to return vdso values correctly in IFUNC implementations.
53646         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53647         Optimization by using IFUNC.
53649 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53650             Richard Henderson  <rth@redhat.com>
53651             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53653         * Makefile.in (bench): New target.
53654         * NEWS: Mention the benchmark framework.
53655         * Rules (bench): Likewise.
53656         (binaries-bench): Generate binaries for functions to
53657         benchmark.
53658         * benchtests/Makefile: New makefile for benchmark tests.
53659         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53660         programs.
53661         * benchtests/exp-inputs: New input file for EXP function.
53662         * benchtests/pow-inputs: New input file for POW function.
53663         * scripts/bench.pl: New script to generate source files for
53664         benchmark programs.
53666 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53668         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53669         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53670         computations on mantissa.  Use macros for rounding and
53671         division.
53672         (denorm): Likewise.
53673         (__dbl_mp): Likewise.
53674         (add_magnitudes): Likewise.
53675         (sub_magnitudes): Likewise.
53676         (__mul): Likewise.
53677         (__sqr): Likewise.
53678         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53679         powers of two in terms of TWOPOW macro.
53680         (mp_no): Make type of mantissa as MANTISSA_T.
53681         [!RADIXI]: Define RADIXI.
53682         [!TWO52]: Define TWO52.
53683         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53685         * manual/nptl.texi (cindex): Modify threads to pthreads.
53687 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53689         * sysdeps/x86_64/preconfigure: Regenerated.
53691 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53693         [BZ #14155]
53694         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53695         0x1p28 and above.
53696         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53697         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53698         0x1p28 and above.
53699         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53700         * math/libm-test.inc (j0_test): Do not allow one spurious
53701         underflow exception.
53702         (y1_test): Likewise.
53704 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53706         * manual/Makefile (chapters): Add nptl.
53707         * manual/debug.texi (Debugging Support): Add link to Threads
53708         chapter.
53709         * manual/nptl.texi: New file.
53711         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53713 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53715         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53716         for non-NULL pointer before the memory validity test. Pointed
53717         out by Holger Brunck <holger.brunck@keymile.com>.
53719 2013-03-13  Andreas Schwab  <schwab@suse.de>
53721         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53722         instead of .os.
53724 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53726         * timezone/zic.c: Update from tzcode 2013b.
53728 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53730         * manual/install.texi (Configuring and compiling):
53731         Mention i686 and i586.
53732         * INSTALL: Regenerate.
53734 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53736         * sysdeps/init_array/elf-init.c: New file.
53737         * csu/elf-init.c
53738         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53739         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53741         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53742         __gmon_start__ as global, but as static with a .preinit_array pointer.
53743         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53744         * sysdeps/init_array/crti.S: New file, empty except for comments.
53745         * sysdeps/init_array/crtn.S: Likewise.
53747 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53749         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53750         definining bcopy.
53751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53752         Remove Prefer_SSE_for_memop.
53753         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53754         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53755         HAS_PREFER_SSE_FOR_MEMOP.
53756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53757         memset-x86-64.
53758         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53759         Remove bzero, memset ifunc support.
53760         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53761         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53762         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53763         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53765 2013-03-11  Andreas Schwab  <schwab@suse.de>
53767         [BZ #15234]
53768         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53769         by SHLIB_COMPAT.
53770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53771         (GLIBC_2.16): Remove pthread_atfork.
53773 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53775         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53776         (ptestcases.h): Likewise.
53778 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53780         * Makeconfig ($(common-objpfx)config.status): Depend on
53781         sysdeps/*/preconfigure{,.in} too.
53783 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53785         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53786         (__free_hook): Use void * instead of __malloc_ptr_t.
53787         (__malloc_hook): Likewise.
53788         (__realloc_hook): Likewise.
53789         (__memalign_hook): Likewise.
53790         (__after_morecore_hook): Likewise.
53791         * malloc/arena.c (save_malloc_hook): Likewise.
53792         (save_free_hook): Likewise.
53793         * malloc/hooks.c (malloc_hook_ini): Likewise.
53794         (realloc_hook_ini): Likewise.
53795         (memalign_hook_ini): Likewise.
53796         * malloc/malloc.c (malloc_hook_ini): Likewise.
53797         (realloc_hook_ini): Likewise.
53798         (memalign_hook_ini): Likewise.
53799         (__free_hook): Likewise.
53800         (__malloc_hook): Likewise.
53801         (__realloc_hook): Likewise.
53802         (__memalign_hook): Likewise.
53803         (__libc_malloc): Likewise.
53804         (__libc_free): Likewise.
53805         (__libc_realloc): Likewise.
53806         (__libc_memalign): Likewise.
53807         (__libc_valloc): Likewise.
53808         (__libc_pvalloc): Likewise.
53809         (__libc_calloc): Likewise.
53810         (__posix_memalign): Likewise.
53811         * malloc/morecore.c (__sbrk): Likewise.
53812         (__default_morecore): Likewise.
53814         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53816         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53817         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53818         __malloc_ptrdiff_t.
53820         * malloc/malloc.h (__malloc_size_t): Remove macro.
53821         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53822         __malloc_size_t.
53823         (old_memalign_hook): Likewise.
53824         (old_realloc_hook): Likewise.
53825         (struct hdr): Likewise.
53826         (flood): Likewise.
53827         (mallochook): Likewise.
53828         (memalignhook): Likewise.
53829         (reallochook): Likewise.
53830         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53831         (tr_old_realloc_hook): Likewise.
53832         (tr_old_memalign_hook): Likewise.
53833         (tr_mallochook): Likewise.
53834         (tr_reallochook): Likewise.
53835         (tr_memalignhook): Likewise.
53837 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53839         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53840         default_ldbl_pack and using as default implementation.
53841         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53842         implementation.
53843         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53844         redundant definition.
53845         (ldbl_insert_mantissa): Likewise.
53846         (ldbl_canonicalize): Likewise.
53847         (ldbl_nearbyint): Likewise.
53848         (ldbl_pack): Rename to ldbl_pack_ppc.
53849         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53850         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53851         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53853 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53855         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53856         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53857         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53858         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53859         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53860         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53861         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53862         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53864 2013-03-07  Andreas Jaeger  <aj@suse.de>
53866         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53867         bits/mman-linux.h.
53869 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53871         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53872         Include mpa.h and declare __MPEXP.
53873         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53874         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53875         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53876         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53877         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53878         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53879         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53881         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53882         (__slowpow): Use long double EXPL and LOGL functions to
53883         compute POW.
53884         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53885         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53886         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53887         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53888         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53889         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53891         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53892         intermediate variable to calculate exponent.
53893         (__sqr): Likewise.
53894         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53895         Likewise.
53896         (__sqr): Likewise.
53898         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53899         [!NO__SQR]: Define __sqr.
53900         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53901         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53902         sysdeps/ieee754/dbl-64/mpa.c.
53903         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53905         [BZ #12723]
53906         * posix/Makefile (tests): Add tst-pathconf.
53907         * posix/tst-pathconf.c: New test case.
53908         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53909         _PC_PIPE_BUF.
53910         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53912 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53914         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53916 2013-03-06  Andreas Jaeger  <aj@suse.de>
53918         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53919         definition via __MAP_ANONYMOUS.
53921         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53922         it's not part of Linux headers.
53924         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53925         (MAP_HUGE_MASK): Define.
53927         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53928         Define.
53929         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53930         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53931         Define.
53932         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53933         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53934         Define.
53935         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53936         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53937         Define.
53938         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53940         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53941         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53942         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53943         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53944         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53945         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53947         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53948         Handle f2fs.
53950         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53951         Handle f2fs and efivarfs.
53953         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53954         f2fs.
53956         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53957         (EFIVARFS_MAGIC): Add.
53958         (F2FS_LINK_MAX): Add.
53960 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53962         * stdio-common/vfprintf.c: Replace __builtin_expect with
53963         __glibc_unlikely.
53965 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53967         [BZ #13550]
53968         * sysdeps/generic/bp-sym.h: Remove file.
53969         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53970         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53971         <bp-sym.h> and <bp-asm.h>.
53972         (__longjmp): Don't use BP_SYM.
53973         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53974         and <bp-asm.h>.
53975         (memcpy): Don't use BP_SYM.
53976         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53977         <bp-sym.h> and <bp-asm.h>.
53978         (memcpy): Don't use BP_SYM.
53979         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53980         <bp-asm.h>.
53981         (memcpy): Don't use BP_SYM.
53982         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53983         <bp-asm.h>.
53984         (memset): Don't use BP_SYM.
53985         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53986         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53987         (__bzero): Don't use BP_SYM.
53988         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53989         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53990         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53991         <bp-sym.h> and <bp-asm.h>.
53992         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53993         pointers.
53994         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53995         <bp-sym.h> and <bp-asm.h>.
53996         (memcpy): Don't use BP_SYM.
53997         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53998         <bp-sym.h> and <bp-asm.h>.
53999         (memset): Don't use BP_SYM.
54000         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54001         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54002         (__bzero): Don't use BP_SYM.
54003         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54004         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54005         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
54006         <bp-sym.h> and <bp-asm.h>.
54007         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54008         pointers.
54009         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54010         <bp-sym.h> and <bp-asm.h>.
54011         (memcpy): Don't use BP_SYM.
54012         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54013         <bp-sym.h> and <bp-asm.h>.
54014         (memset): Don't use BP_SYM.
54015         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54016         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54017         (__bzero): Don't use BP_SYM.
54018         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54019         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54020         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54021         <bp-sym.h> and <bp-asm.h>.
54022         (__memchr): Don't use BP_SYM.
54023         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54024         <bp-sym.h> and <bp-asm.h>.
54025         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54026         pointers.
54027         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54028         <bp-sym.h> and <bp-asm.h>.
54029         (memcpy): Don't use BP_SYM.
54030         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54031         <bp-sym.h> and <bp-asm.h>.
54032         (__mempcpy): Don't use BP_SYM.
54033         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54034         <bp-sym.h> and <bp-asm.h>.
54035         (__memrchr): Don't use BP_SYM.
54036         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54037         <bp-sym.h> and <bp-asm.h>.
54038         (memset): Don't use BP_SYM.
54039         (__bzero): Likewise.
54040         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54041         <bp-sym.h> and <bp-asm.h>.
54042         (__rawmemchr): Don't use BP_SYM.
54043         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54044         <bp-sym.h> and <bp-asm.h>.
54045         (__STRCMP): Don't use BP_SYM.
54046         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54047         <bp-sym.h> and <bp-asm.h>.
54048         (strchr): Don't use BP_SYM.
54049         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54050         <bp-sym.h> and <bp-asm.h>.
54051         (__strchrnul): Don't use BP_SYM.
54052         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54053         <bp-sym.h> and <bp-asm.h>.
54054         (strlen): Don't use BP_SYM.
54055         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54056         <bp-sym.h> and <bp-asm.h>.
54057         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54058         pointers.
54059         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54060         <bp-sym.h> and <bp-asm.h>.
54061         (__strnlen): Don't use BP_SYM.
54062         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54063         <bp-sym.h> and <bp-asm.h>.
54064         (__GI__setjmp): Don't use BP_SYM.
54065         (_setjmp): Likewise.
54066         (__sigsetjmp): Likewise.
54067         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54068         (L(start_addresses)): Don't use BP_SYM.
54069         (_start): Likewise.
54070         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54071         <bp-asm.h>.
54072         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54073         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54074         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54075         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54076         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54077         <bp-asm.h>.
54078         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54079         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
54080         about bounded pointers.
54081         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54082         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54083         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54084         <bp-asm.h>.
54085         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54086         about bounded pointers.  Remove GKM FIXME comments.
54087         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54088         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54089         <bp-asm.h>.
54090         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54091         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
54092         Remove GKM FIXME comments.
54093         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54094         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54095         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54096         <bp-asm.h>.
54097         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54098         about bounded pointers.  Remove GKM FIXME comment.
54099         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54100         and <bp-asm.h>.
54101         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54102         pointers.
54103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54104         <bp-sym.h> and <bp-asm.h>.
54105         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54107         <bp-sym.h> and <bp-asm.h>.
54108         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54109         comment.
54111 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54113         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54114         call free(NULL).
54116 2013-03-05  David S. Miller  <davem@davemloft.net>
54118         * po/es.po: Update from translation team.
54120 2013-03-05  Andreas Jaeger  <aj@suse.de>
54122         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54123         <bits/mman-linux.h>.
54124         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54125         is fine.
54126         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54127         <bits/mman-linux.h> to end of file.
54128         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54129         is fine.
54130         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54131         <bits/mman-linux.h> to end of file.
54132         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54133         is fine.
54134         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54135         <bits/mman-linux.h> to end of file.
54137         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54138         (MCL_CURRENT, MCL_FUTURE): Define here.
54140 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54142         [BZ #15232]
54143         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54144         attribute_hidden.
54145         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54147 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54149         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54150         fourth parameter needed for rt_sigprocmask syscall.
54151         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54152         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54153         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54154         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54155         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54156         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54158 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54160         [BZ #13550]
54161         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54162         comment about bounded pointers.
54163         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54164         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54166 2013-03-04  Andreas Jaeger  <aj@suse.de>
54168         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54169         common definitions.
54171         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54172         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54173         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54174         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54175         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54176         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54178 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54180         [BZ #15055]
54181         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54182         __ieee754_sqrl instead of __sqrl.
54184 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54186         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54187         * sysdeps/powerpc/fpu_control.h: ... here.
54188         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54189         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54190         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54191         * sysdeps/powerpc/bits/mathinline.h: ... here.
54193 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54195         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54196         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54197         to just [NEED_DL_SYSINFO_DSO].
54198         * elf/dl-support.c: Likewise.
54199         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54200         * elf/rtld.c (dl_main): Likewise.
54201         * elf/setup-vdso.h (setup_vdso): Likewise.
54202         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54203         * sysdeps/unix/sysv/linux/dl-sysdep.c
54204         (_dl_discover_osversion): Likewise.
54206 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54208         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54209         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54211 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54213         * NEWS: Mention libm performance improvements and non-x86 PI
54214         futex support.
54216         * csu/libc-start.c (__pthread_initialize_minimal): Change
54217         function arguments.
54218         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54220 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54222         [BZ #13550]
54223         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54224         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54225         <bp-sym.h> and <bp-asm.h>.
54226         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54227         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54228         and <bp-asm.h>.
54229         (memcpy): Don't use BP_SYM.
54230         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54231         <bp-asm.h>.
54232         (__mpn_add_n): Don't use BP_SYM.
54233         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54234         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54235         and <bp-asm.h>.
54236         (__mpn_addmul_1): Don't use BP_SYM.
54237         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54238         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54239         <bp-sym.h>.
54240         (_setjmp): Don't use BP_SYM.
54241         (__novmx_setjmp): Likewise.
54242         (__GI__setjmp): Likewise.
54243         (__vmx_setjmp): Likewise.
54244         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54245         <bp-sym.h>.
54246         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54247         (__bzero): Don't use BP_SYM.
54248         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54249         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54250         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54251         <bp-sym.h> and <bp-asm.h>.
54252         (memcpy): Don't use BP_SYM.
54253         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54254         <bp-sym.h> and <bp-asm.h>.
54255         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54256         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54257         <bp-sym.h> and <bp-asm.h>.
54258         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54259         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54260         <bp-asm.h>.
54261         (__mpn_lshift): Don't use BP_SYM.
54262         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54263         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54264         <bp-asm.h>.
54265         (memset): Don't use BP_SYM.
54266         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54267         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54268         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54269         <bp-asm.h>.
54270         (__mpn_mul_1): Don't use BP_SYM.
54271         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54272         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54273         <bp-sym.h> and <bp-asm.h>.
54274         (memcmp): Don't use BP_SYM.
54275         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54276         <bp-sym.h> and <bp-asm.h>.
54277         (memcpy): Don't use BP_SYM.
54278         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54279         <bp-sym.h> and <bp-asm.h>.
54280         (memset): Don't use BP_SYM.
54281         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54282         <bp-sym.h> and <bp-asm.h>.
54283         (strncmp): Don't use BP_SYM.
54284         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54285         <bp-sym.h> and <bp-asm.h>.
54286         (memcpy): Don't use BP_SYM.
54287         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54288         <bp-sym.h> and <bp-asm.h>.
54289         (memset): Don't use BP_SYM.
54290         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54291         <bp-sym.h> and <bp-asm.h>.
54292         (__memchr): Don't use BP_SYM.
54293         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54294         <bp-sym.h> and <bp-asm.h>.
54295         (memcmp): Don't use BP_SYM.
54296         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54297         <bp-sym.h> and <bp-asm.h>.
54298         (memcpy): Don't use BP_SYM.
54299         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54300         <bp-sym.h> and <bp-asm.h>.
54301         (__mempcpy): Don't use BP_SYM.
54302         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54303         <bp-sym.h> and <bp-asm.h>.
54304         (__memrchr): Don't use BP_SYM.
54305         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54306         <bp-sym.h> and <bp-asm.h>.
54307         (memset): Don't use BP_SYM.
54308         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54309         <bp-sym.h> and <bp-asm.h>.
54310         (__rawmemchr): Don't use BP_SYM.
54311         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54312         <bp-sym.h> and <bp-asm.h>.
54313         (__STRCMP): Don't use BP_SYM.
54314         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54315         <bp-sym.h> and <bp-asm.h>.
54316         (strchr): Don't use BP_SYM.
54317         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54318         <bp-sym.h> and <bp-asm.h>.
54319         (__strchrnul): Don't use BP_SYM.
54320         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54321         <bp-sym.h> and <bp-asm.h>.
54322         (strlen): Don't use BP_SYM.
54323         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54324         <bp-sym.h> and <bp-asm.h>.
54325         (strncmp): Don't use BP_SYM.
54326         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54327         <bp-sym.h> and <bp-asm.h>.
54328         (__strnlen): Don't use BP_SYM.
54329         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54330         <bp-asm.h>.
54331         (__mpn_rshift): Don't use BP_SYM.
54332         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54333         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54334         <bp-sym.h> and <bp-asm.h>.
54335         (__sigsetjmp): Don't use BP_SYM.
54336         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54337         (L(start_addresses)): Don't use BP_SYM.
54338         (_start): Likewise.
54339         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54340         <bp-asm.h>.
54341         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54342         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54343         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54344         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54345         <bp-asm.h>.
54346         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54347         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54348         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54349         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54350         <bp-asm.h>.
54351         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54352         comments.
54353         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54354         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54355         <bp-asm.h>.
54356         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54357         FIXME comments.
54358         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54359         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54360         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54361         <bp-asm.h>.
54362         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54363         comment.
54364         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54365         and <bp-asm.h>.
54366         (strncmp): Don't use BP_SYM,
54367         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54368         <bp-asm.h>.
54369         (__mpn_sub_n): Don't use BP_SYM.
54370         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54371         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54372         and <bp-asm.h>.
54373         (__mpn_submul_1): Don't use BP_SYM.
54374         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54376         <bp-sym.h> and <bp-asm.h>.
54377         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54379         <bp-sym.h> and <bp-asm.h>.
54380         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54381         comment.
54383 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54385         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54386         Use ZK to minimize writes to Z.
54387         (sub_magnitudes): Simplify code a bit.
54388         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54389         Use ZK to minimize writes to Z.
54390         (sub_magnitudes): Simplify code a bit.
54392 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54394         * csu/gmon-start.c: Add special exception to license text.
54396 2013-02-27  Richard Henderson  <rth@redhat.com>
54398         * scripts/config.guess: Update from config.git.
54399         * scripts/config.sub: Likewise.
54401 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54403         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54405         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54407         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54409         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54411         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54413 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54415         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54416         [$(build-shared = yes].
54418 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54420         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54421         (__mul): Reduce iterations for calculating mantissa.
54423         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54424         MPTWO.
54425         (__mpranred): Likewise.
54427         [BZ #15160]
54428         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54429         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54431 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54433         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54434         Define __attribute__.
54436 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54438         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54439         unused.
54440         * posix/regex_internal.h (__attribute): Remove.
54441         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54442         (re_string_context_at): Likewise.
54443         (bitset_not): Use __attribute__ and mark function as possibly
54444         unused.
54445         (bitset_merge): Likewise.
54446         (bitset_mask): Likewise.
54447         (re_string_char_size_at): Likewise.
54448         (re_string_wchar_at): Likewise.
54449         (re_string_elem_size_at): Likewise.
54451 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54453         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54454         code.
54455         (cc32): Likewise.
54457         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54458         (__acr): Likewise.
54459         (__cpy): Likewise.
54460         (norm): Likewise.
54461         (denorm): Likewise.
54462         (__dbl_mp): Likewise.
54463         (add_magnitudes): Likewise.
54464         (sub_magnitudes): Likewise.
54465         (__mul): Likewise.
54466         (__inv): Likewise.
54468         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54469         style.
54471         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54472         style.
54474         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54475         code.
54477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54478         up changes with default code.
54479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54480         Likewise.
54482 2013-02-24  Allan McRae  <allan@archlinux.org>
54484         * manual/socket.texi (The Internet Namespace): Order menu items
54485         to match that in the file.
54487         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54488         node listing of the info page menu.
54490 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54492         [BZ #13550]
54493         * sysdeps/i386/bp-asm.h: Remove file.
54494         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54495         (PARMS): Do not use macros from bp-asm.h.
54496         (S1): Likewise.
54497         (S2): Likewise.
54498         (SIZE): Likewise.
54499         (__mpn_add_n): Do not use BP_SYM
54500         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54501         "bp-asm.h".
54502         (PARMS): Do not use macros from bp-asm.h.
54503         (S1): Likewise.
54504         (SIZE): Likewise.
54505         (__mpn_addmul_1): Do not use BP_SYM
54506         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54507         "bp-asm.h".
54508         (PARMS): Do not use macros from bp-asm.h.
54509         (SIGMSK): Likewise.
54510         (_setjmp): Likewise.  Do not use BP_SYM.
54511         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54512         "bp-asm.h".
54513         (PARMS): Do not use macros from bp-asm.h.
54514         (SIGMSK): Likewise.
54515         (setjmp): Likewise.  Do not use BP_SYM.
54516         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54517         "bp-asm.h".
54518         (PARMS): Do not use macros from bp-asm.h.
54519         (__frexp): Do not use BP_SYM.
54520         (frexp): Likewise.
54521         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54522         "bp-asm.h".
54523         (PARMS): Do not use macros from bp-asm.h.
54524         (__frexpf): Do not use BP_SYM.
54525         (frexpf): Likewise.
54526         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54527         "bp-asm.h".
54528         (PARMS): Do not use macros from bp-asm.h.
54529         (__frexpl): Do not use BP_SYM.
54530         (frexpl): Likewise.
54531         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54532         "bp-asm.h".
54533         (PARMS): Do not use macros from bp-asm.h.
54534         (__remquo): Do not use BP_SYM.
54535         (remquo): Likewise.
54536         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54537         "bp-asm.h".
54538         (PARMS): Do not use macros from bp-asm.h.
54539         (__remquof): Do not use BP_SYM.
54540         (remquof): Likewise.
54541         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54542         "bp-asm.h".
54543         (PARMS): Do not use macros from bp-asm.h.
54544         (__remquol): Do not use BP_SYM.
54545         (remquol): Likewise.
54546         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54547         "bp-asm.h".
54548         (PARMS): Do not use macros from bp-asm.h.
54549         (DEST): Likewise.
54550         (SRC): Likewise.
54551         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54552         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54553         "bp-asm.h".
54554         (PARMS): Do not use macros from bp-asm.h.
54555         (strlen): Do not use BP_SYM.
54556         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54557         "bp-asm.h".
54558         (PARMS): Do not use macros from bp-asm.h.
54559         (S1): Likewise.
54560         (S2): Likewise.
54561         (SIZE): Likewise.
54562         (__mpn_add_n): Do not use BP_SYM.
54563         * sysdeps/i386/i586/addmul_1.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         (SIZE): Likewise.
54568         (__mpn_addmul_1): Do not use BP_SYM.
54569         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54570         weak_alias.
54571         (bzero): Likewise.
54572         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54573         "bp-asm.h".
54574         (PARMS): Do not use macros from bp-asm.h.
54575         (S): Likewise.
54576         (SIZE): Likewise.
54577         (__mpn_lshift): Do not use BP_SYM.
54578         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54579         "bp-asm.h".
54580         (PARMS): Do not use macros from bp-asm.h.
54581         (DEST): Likewise.
54582         (SRC): Likewise.
54583         (LEN): Likewise.
54584         (memcpy): Likewise.  Do not use BP_SYM.
54585         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54586         libc_hidden_def and weak_alias.
54587         (mempcpy): Do not use BP_SYM in weak_alias.
54588         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54589         "bp-asm.h".
54590         (PARMS): Do not use macros from bp-asm.h.
54591         (DEST): Likewise.
54592         (LEN): Likewise.
54593         [!BZERO_P] (CHR): Likewise.
54594         (memset): Likewise.  Do not use BP_SYM.
54595         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54596         "bp-asm.h".
54597         (PARMS): Do not use macros from bp-asm.h.
54598         (S1): Likewise.
54599         (SIZE): Likewise.
54600         (__mpn_mul_1): Do not use BP_SYM.
54601         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54602         "bp-asm.h".
54603         (PARMS): Do not use macros from bp-asm.h.
54604         (S): Likewise.
54605         (SIZE): Likewise.
54606         (__mpn_rshift): Do not use BP_SYM.
54607         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54608         "bp-asm.h".
54609         (PARMS): Do not use macros from bp-asm.h.
54610         (STR): Likewise.
54611         (CHR): Likewise.
54612         (strchr): Likewise.  Do not use BP_SYM.
54613         (index): Do not use BP_SYM in weak_alias.
54614         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54615         "bp-asm.h".
54616         (PARMS): Do not use macros from bp-asm.h.
54617         (DEST): Likewise.
54618         (SRC): Likewise.
54619         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54620         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54621         "bp-asm.h".
54622         (PARMS): Do not use macros from bp-asm.h.
54623         (strlen): Do not use BP_SYM.
54624         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54625         "bp-asm.h".
54626         (PARMS): Do not use macros from bp-asm.h.
54627         (S1): Likewise.
54628         (S2): Likewise.
54629         (SIZE): Likewise.
54630         (__mpn_sub_n): Do not use BP_SYM.
54631         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54632         "bp-asm.h".
54633         (PARMS): Do not use macros from bp-asm.h.
54634         (S1): Likewise.
54635         (SIZE): Likewise.
54636         (__mpn_submul_1): Do not use BP_SYM.
54637         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54638         "bp-asm.h".
54639         (PARMS): Do not use macros from bp-asm.h.
54640         (S1): Likewise.
54641         (S2): Likewise.
54642         (SIZE): Likewise.
54643         (__mpn_add_n): Do not use BP_SYM.
54644         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54645         weak_alias.
54646         (bzero): Likewise.
54647         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54648         "bp-asm.h".
54649         (PARMS): Do not use macros from bp-asm.h.
54650         (BLK2): Likewise.
54651         (LEN): Likewise.
54652         (memcmp): Do not use BP_SYM.
54653         (bcmp): Do not use BP_SYM in weak_alias.
54654         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54655         "bp-asm.h".
54656         (PARMS): Do not use macros from bp-asm.h.
54657         (DEST): Likewise.
54658         (SRC): Likewise.
54659         (LEN): Likewise.
54660         (memcpy): Likewise.  Do not use BP_SYM.
54661         * sysdeps/i386/i686/memmove.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         (memmove): Likewise.  Do not use BP_SYM.
54668         * sysdeps/i386/i686/mempcpy.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         (__mempcpy): Likewise.  Do not use BP_SYM.
54675         (mempcpy): Do not use BP_SYM in weak_alias.
54676         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54677         "bp-asm.h".
54678         (PARMS): Do not use macros from bp-asm.h.
54679         (DEST): Likewise.
54680         (LEN): Likewise.
54681         [!BZERO_P] (CHR): Likewise.
54682         (memset): Likewise.  Do not use BP_SYM.
54683         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54684         "bp-asm.h".
54685         (PARMS): Do not use macros from bp-asm.h.
54686         (STR2): Likewise.
54687         (strcmp): Do not use BP_SYM.
54688         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54689         "bp-asm.h".
54690         (PARMS): Do not use macros from bp-asm.h.
54691         (STR): Likewise.
54692         (DELIM): Likewise.
54693         [USE_AS_STRTOK_R] (SAVE): Likewise.
54694         (FUNCTION): Likewise.  Do not use BP_SYM.
54695         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54696         aliases.
54697         (strtok_r): Likewise.
54698         (__GI___strtok_r): Likewise.
54699         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54700         (PARMS): Do not use macros from bp-asm.h.
54701         (S): Likewise.
54702         (SIZE): Likewise.
54703         (__mpn_lshift): Do not use BP_SYM.
54704         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54705         (PARMS): Do not use macros from bp-asm.h.
54706         (STR): Likewise.
54707         (CHR): Likewise.
54708         (__memchr): Do not use BP_SYM.
54709         (memchr): Do not use BP_SYM in weak_alias.
54710         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54711         (PARMS): Do not use macros from bp-asm.h.
54712         (BLK2): Likewise.
54713         (LEN): Likewise.
54714         (memcmp): Do not use BP_SYM.
54715         (bcmp): Do not use BP_SYM in weak_alias.
54716         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54717         (PARMS): Do not use macros from bp-asm.h.
54718         (S1): Likewise.
54719         (SIZE): Likewise.
54720         (__mpn_mul_1): Do not use BP_SYM.
54721         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54722         "bp-asm.h".
54723         (PARMS): Do not use macros from bp-asm.h.
54724         (STR): Likewise.
54725         (CHR): Likewise.
54726         (__rawmemchr): Do not use BP_SYM.
54727         (rawmemchr): Do not use BP_SYM in weak_alias.
54728         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54729         (PARMS): Do not use macros from bp-asm.h.
54730         (S): Likewise.
54731         (SIZE): Likewise.
54732         (__mpn_rshift): Do not use BP_SYM.
54733         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54734         (PARMS): Do not use macros from bp-asm.h.
54735         (SIGMSK): Likewise.
54736         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54737         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54738         (_start): Do not use BP_SYM.
54739         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54740         (PARMS): Do not use macros from bp-asm.h.
54741         (DEST): Likewise.
54742         (SRC): Likewise.
54743         (__stpcpy): Likewise.  Do not use BP_SYM.
54744         (stpcpy): Do not use BP_SYM in weak_alias.
54745         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54746         "bp-asm.h".
54747         (PARMS): Do not use macros from bp-asm.h.
54748         (DEST): Likewise.
54749         (SRC): Likewise.
54750         (LEN): Likewise.
54751         (__stpncpy): Likewise.  Do not use BP_SYM.
54752         (stpncpy): Do not use BP_SYM in weak_alias.
54753         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54754         (PARMS): Do not use macros from bp-asm.h.
54755         (STR): Likewise.
54756         (CHR): Likewise.
54757         (strchr): Likewise.  Do not use BP_SYM.
54758         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54759         "bp-asm.h".
54760         (PARMS): Do not use macros from bp-asm.h.
54761         (STR): Likewise.
54762         (CHR): Likewise.
54763         (__strchrnul): Likewise.  Do not use BP_SYM.
54764         (strchrnul): Do not use BP_SYM in weak_alias.
54765         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54766         "bp-asm.h".
54767         (PARMS): Do not use macros from bp-asm.h.
54768         (STOP): Likewise.
54769         (strcspn): Do not use BP_SYM.
54770         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54771         "bp-asm.h".
54772         (PARMS): Do not use macros from bp-asm.h.
54773         (STR): Likewise.
54774         (STOP): Likewise.
54775         (strpbrk): Likewise.  Do not use BP_SYM.
54776         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54777         "bp-asm.h".
54778         (PARMS): Do not use macros from bp-asm.h.
54779         (STR): Likewise.
54780         (CHR): Likewise.
54781         (strrchr): Likewise.  Do not use BP_SYM.
54782         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54783         (PARMS): Do not use macros from bp-asm.h.
54784         (SKIP): Likewise.
54785         (strspn): Do not use BP_SYM.
54786         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54787         (PARMS): Do not use macros from bp-asm.h.
54788         (STR): Likewise.
54789         (DELIM): Likewise.
54790         (SAVE): Likewise.
54791         (FUNCTION): Likewise.  Do not use BP_SYM.
54792         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54793         aliases.
54794         (strtok_r): Likewise.
54795         (__GI___strtok_r): Likewise.
54796         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54797         (PARMS): Do not use macros from bp-asm.h.
54798         (S1): Likewise.
54799         (S2): Likewise.
54800         (SIZE): Likewise.
54801         (__mpn_sub_n): Do not use BP_SYM.
54802         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54803         "bp-asm.h".
54804         (PARMS): Do not use macros from bp-asm.h.
54805         (S1): Likewise.
54806         (SIZE): Likewise.
54807         (__mpn_submul_1): Do not use BP_SYM.
54808         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54809         <bp-sym.h>.
54810         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54811         and <bp-asm.h>.
54812         (PARMS): Do not use macros from bp-asm.h.
54813         (FLAGS): Likewise.
54814         (PTID): Likewise.
54815         (TLS): Likewise.
54816         (CTID): Likewise.
54817         (__clone): Do not use BP_SYM.
54818         (clone): Do not use BP_SYM in weak_alias.
54819         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54820         and <bp-asm.h>.
54821         (PARMS): Do not use macros from bp-asm.h.
54822         (LEN): Likewise.
54823         (__mmap64): Do not use BP_SYM.
54824         (mmap64): Do not use BP_SYM in weak_alias.
54825         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54826         <bp-sym.h> and <bp-asm.h>.
54827         (PARMS): Do not use macros from bp-asm.h.
54828         (__posix_fadvise64_l64): Do not use BP_SYM.
54829         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54830         (PARMS): Do not use macros from bp-asm.h.
54831         (NSOPS): Likewise.
54832         (semtimedop): Do not use BP_SYM.
54833         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54834         and <bp-asm.h>.
54836 2013-02-21  Allan McRae  <allan@archlinux.org>
54838         * manual/message.texi (Charset conversion in gettext):
54839         Move @end statement to beginning of line.
54841 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54843         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54844         static.
54845         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54846         Likewise.
54848         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54849         (denorm): Likewise.
54850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54851         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54853 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54855         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54856         tail-call to the resolved function if pltexit isn't needed.
54858 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54860         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54861         or Y being zero as being unlikely.
54862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54863         Likewise.
54865 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54867         * manual/nss.texi (System Databases and Name Service Switch):
54868         Remove frobnicate @pxref.
54870 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54872         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54873         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54875 2013-02-20  Petr Machata  <pmachata@redhat.com>
54877         * elf/elf.h (R_ARM_TARGET1): New macro.
54878         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54879         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54880         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54881         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54882         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54883         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54884         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54885         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54886         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54887         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54888         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54889         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54890         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54891         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54892         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54893         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54894         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54895         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54896         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54897         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54898         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54899         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54900         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54901         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54902         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54903         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54904         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54905         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54906         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54907         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54908         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54909         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54910         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54911         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54912         (R_ARM_THM_GOT_BREL12): Likewise.
54913         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54914         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54915         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54916         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54917         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54918         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54919         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54920         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54921         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54923 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54925         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54926         __attribute_used__ to __attribute__ ((unused)).
54928 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54930         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54931         powerpc mpa.c.
54932         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54933         comment formatting.
54934         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54936 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54938         [BZ #13550]
54939         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54940         Remove macro.
54941         (ENTER): Remove both macro definitions.
54942         (LEAVE): Likewise.
54943         (CHECK_BOUNDS_LOW): Likewise.
54944         (CHECK_BOUNDS_HIGH): Likewise.
54945         (CHECK_BOUNDS_BOTH): Likewise.
54946         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54947         (RETURN_BOUNDED_POINTER): Likewise.
54948         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54949         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54950         (POP_ERRNO_LOCATION_RETURN): Likewise.
54951         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54952         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54953         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54954         macros.
54955         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54956         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54957         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54958         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54959         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54960         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54961         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54962         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54963         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54964         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54965         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54966         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54967         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54968         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54969         removed macros.
54970         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54971         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54972         macros.
54973         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54974         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54975         * sysdeps/i386/i586/memset.S (memset): Likewise.
54976         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54977         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54978         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54979         macros.
54980         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54981         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54982         Change uses of L(2) to L(out).
54983         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54984         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54985         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54986         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54987         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54988         removed macros.
54989         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54990         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54991         macros.
54992         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54993         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54994         (RETURN): Do not use macro LEAVE.
54995         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54996         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54997         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54998         * sysdeps/i386/i686/memset.S (memset): Likewise.
54999         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55000         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55001         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55002         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55003         Likewise.
55004         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55005         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
55006         L(1_2) and L(1_3) into L(1).
55007         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55008         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55009         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55010         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55011         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55012         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55013         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55014         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55015         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55016         macros.
55017         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55018         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55019         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55020         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55021         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55022         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55023         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55024         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55025         * sysdeps/i386/strcspn.S (strcspn): Likewise.
55026         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55027         * sysdeps/i386/strrchr.S (strrchr): Likewise.
55028         * sysdeps/i386/strspn.S (strspn): Likewise.
55029         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55030         conditional code.
55031         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55032         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55033         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55034         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
55035         L(1_3) into L(1_1).
55036         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55037         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55038         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55039         macros.
55040         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55042 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
55044         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55045         macro.
55047 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55049         * math/atest-exp.c (exp_mpn): Remove ROUND.
55050         * math/atest-exp2.c (exp_mpn): Likewise.
55051         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55053         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55054         * stdlib/tst-tls-atexit-lib.c: Likewise.
55055         * stdlib/tst-tls-atexit.c: Likewise.
55057 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55059         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55060         and __attribute_alloc_size__.
55062 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55064         * include/programs/xmalloc.h: Change __attribute_alloc_size to
55065         __attribute_alloc_size__.
55066         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55067         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55069 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55071         * include/programs/xmalloc.h: New file.
55072         * catgets/gencat.c: Include it.
55073         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55074         * elf/pldd.c: Likewise.
55075         * iconv/iconv_charmap.c: Likewise.
55076         * iconv/iconvconfig.c: Likewise.
55077         * iconv/strtab.c: Likewise.
55078         * locale/programs/locale.c: Likewise.
55079         * locale/programs/localedef.h: Likewise.
55080         * locale/programs/simple-hash.c: Likewise.
55081         * nscd/nscd.h: Likewise.
55082         * nss/makedb.c: Likewise.
55083         * sysdeps/generic/ldconfig.h: Likewise.
55085 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55087         * Versions.def: Add GLIBC_2.18.
55088         * include/link.h (struct link_map): New member l_tls_dtor_count.
55089         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55090         (__call_tls_dtors): Likewise.
55091         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55092         __cxa_thread_atexit_impl.
55093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55094         Likewise.
55095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55096         Likewise.
55097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55098         Likewise.
55099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55100         Likewise.
55101         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55103         Likewise.
55104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55105         Likewise.
55106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55108         Likewise.
55109         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55110         (tests): Add test case tst-tls-atexit.
55111         (modules-names): Add shared library for tst-tls-atexit.
55112         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55113         (GLIBC_PRIVATE): Add __call_tls_dtors.
55114         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55115         for libstdc++.
55116         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55117         * stdlib/tst-tls-atexit.c: New test case.
55118         * stdlib/tst-tls-atexit-lib.c: New test case.
55120         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55122         * elf/Versions (ld): Add _dl_find_dso_for_object.
55123         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55124         * elf/dl-open.c (_dl_find_dso_for_object): New function.
55125         (dl_open_worker): Use _dl_find_dso_for_object.
55126         * elf/dl-sym.c (do_sym): Likewise.
55127         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55129 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55131         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55132         Syntactic changes only.
55133         (_dl_runtime_profile): Do a tail-call to the resolved function.
55135 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
55137         [BZ #13550]
55138         * sysdeps/x86_64/bp-asm.h: Remove file.
55139         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55140         <bp-sym.h> and <bp-asm.h>.
55141         (__clone): Do not use BP_SYM.
55142         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55143         <bp-sym.h> and <bp-asm.h>.
55144         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55145         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55146         "bp-asm.h".
55147         (_setjmp): Do not use BP_SYM.
55148         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55149         "bp-asm.h".
55150         (setjmp): Do not use BP_SYM.
55151         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55152         libc_hidden_def.
55153         (mempcpy): Do not use BP_SYM in weak_alias.
55154         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55155         "bp-asm.h".
55156         (strchr): Do not use BP_SYM.
55157         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55158         "bp-asm.h".
55159         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55160         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55161         (_start): Do not use BP_SYM.
55162         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55163         "bp-asm.h".
55164         (strcat): Do not use BP_SYM.
55165         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55166         "bp-asm.h".
55167         (STRCMP): Do not use BP_SYM.
55168         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55169         "bp-asm.h".
55170         (STRCPY): Do not use BP_SYM.
55171         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55172         "bp-asm.h".
55173         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55174         "bp-asm.h".
55175         (FUNCTION): Do not use BP_SYM.
55176         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55177         weak_alias.
55178         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55180 2013-02-17  Andreas Jaeger  <aj@suse.de>
55182         * time/Versions: Sort entries.
55183         * string/Versions: Likewise.
55184         * resolv/Versions: Likewise.
55185         * posix/Versions: Likewise.
55186         * iconv/Versions: Likewise.
55187         * elf/Versions: Likewise.
55188         * wcsmbs/Versions: Likewise.
55190 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55192         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55193         loop termination condition.
55195         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55196         variable to calculate EZ.
55197         (__sqr): Likewise.
55199         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55200         the lower precision input.
55202 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55204         [BZ #13550]
55205         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55206         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55207         (run-via-rtld-prefix): Do not handle %-bp tests.
55208         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55209         (all-object-suffixes): Remove .ob.
55210         (bppfx): Remove variable.
55211         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55212         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55213         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55214         [$(build-bounded) = yes] (libtype.ob): Likewise.
55215         * Makerules (elide-routines.ob): Remove variable.
55216         (do-tests-clean): Do not handle *-bp.out.
55217         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55218         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55219         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55220         (tests): Do not include $(tests-bp.out).
55221         (xtests): Do not include $(xtests-bp.out).
55222         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55223         [$(build-bounded) = yes] ($(addprefix
55224         $(objpfx),$(binaries-bounded))): Remove rule.
55225         ($(objpfx)%-bp.out): Remove rule.
55226         * config.make.in (build-bounded): Remove variable.
55227         * crypt/Makefile [$(build-bounded) = yes]
55228         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55229         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55230         append to variable.
55231         [$(build-bounded) = yes] (install-lib): Likewise.
55232         [$(build-bounded) = yes] (generated): Likewise.
55233         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55234         Remove rule.
55235         * intl/Makefile [$(build-bounded) = yes]
55236         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55237         * math/Makefile [$(build-bounded) = yes]
55238         ($(tests:%=$(objpfx)%-bp): Likewise.
55239         * misc/Makefile [$(build-bounded) = yes]
55240         ($(objpfx)tst-tsearch-bp): Likewise.
55241         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55242         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55243         Remove dependency.
55244         * string/Makefile (o-objects.ob): Remove variable.
55245         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55246         (CFLAGS-.ob): Remove variable.
55247         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55248         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55249         both definitions of variable.
55250         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55251         (ASFLAGS-.ob): Remove variable.
55253 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55255         [BZ #13550]
55256         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55257         Remove __BOUNDED_POINTERS__ from condition.
55258         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55259         * string/bits/string2.h [!__NO_STRING_INLINES &&
55260         !__BOUNDED_POINTERS__]: Likewise.
55261         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55262         Likewise.
55263         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55264         Remove conditional code.
55265         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55266         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55267         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55268         condition.
55270         [BZ #13550]
55271         * csu/libc-start.c: Do not include <bp-sym.h>.
55272         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55273         * elf/dl-open.c: Do not include <bp-sym.h>.
55274         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55275         * math/fegetenv.c: Do not include <bp-sym.h>.
55276         (fegetenv): Do not use BP_SYM in versioned symbols.
55277         * nptl/sysdeps/pthread/bits/libc-lockP.h
55278         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55279         <bp-sym.h>.
55280         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55281         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55283         (__pthread_mutex_destroy): Likewise.
55284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55285         (__pthread_mutex_lock): Likewise.
55286         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55287         (__pthread_mutex_trylock): Likewise.
55288         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55289         (__pthread_mutex_unlock): Likewise.
55290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55291         (__pthread_mutexattr_init): Likewise.
55292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55293         (__pthread_mutexattr_destroy): Likewise.
55294         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55295         (__pthread_mutexattr_settype): Likewise.
55296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55297         (__pthread_rwlock_init): Likewise.
55298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55299         (__pthread_rwlock_destroy): Likewise.
55300         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55301         (__pthread_rwlock_rdlock): Likewise.
55302         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55303         (__pthread_rwlock_tryrdlock): Likewise.
55304         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55305         (__pthread_rwlock_wrlock): Likewise.
55306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55307         (__pthread_rwlock_trywrlock): Likewise.
55308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55309         (__pthread_rwlock_unlock): Likewise.
55310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55311         (__pthread_key_create): Likewise.
55312         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55313         (__pthread_setspecific): Likewise.
55314         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55315         (__pthread_getspecific): Likewise.
55316         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55317         Likewise.
55318         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55319         (_pthread_cleanup_push_defer): Likewise.
55320         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55321         (_pthread_cleanup_pop_restore): Likewise.
55322         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55323         (pthread_setcancelstate): Likewise.
55324         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55325         <bp-sym.h>.
55326         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55327         (memchr): Do not use BP_SYM in weak_alias.
55328         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55329         (fegetenv): Do not use BP_SYM in versioned symbols.
55330         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55331         (fesetenv): Do not use BP_SYM in versioned symbols.
55332         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55333         (feupdateenv): Do not use BP_SYM in versioned symbols.
55334         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55335         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55336         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55337         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55338         (open64): Do not use BP_SYM in weak_alias.
55339         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55340         (fegetenv): Do not use BP_SYM in versioned symbols.
55341         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55342         (fesetenv): Do not use BP_SYM in versioned symbols.
55343         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55344         (feupdateenv): Do not use BP_SYM in versioned symbols.
55345         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55346         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55347         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55348         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55349         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55350         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55351         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55352         <bp-sym.h>.
55353         (__libc_start_main): Do not use BP_SYM.
55355 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55357         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55358         redundant return line.
55359         (norm): Likewise.
55360         (denorm): Likewise.
55361         (dbl_mp): Likewise.
55362         (sub_magnitudes): Likewise.
55363         (__add): Likewise.
55364         (__sub): Likewise.
55365         (__mul): Likewise.
55366         (__inv): Likewise.
55367         (__dvd): Likewise.
55368         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55369         (norm): Likewise.
55370         (denorm): Likewise.
55371         (dbl_mp): Likewise.
55372         (sub_magnitudes): Likewise.
55373         (__add): Likewise.
55374         (__sub): Likewise.
55375         (__mul): Likewise.
55376         (__inv): Likewise.
55377         (__dvd): Likewise.
55379         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55380         instead of __mul.
55381         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55382         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55383         (cc32): Likewise.
55385         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55386         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55387         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55388         of __mul for squares.
55389         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55390         function
55391         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55392         Likewise.
55393         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55394         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55396 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55398         [BZ #13550]
55399         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55400         code.
55401         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55402         prototype or function definition.  Rename ubp_* variables and
55403         parameters.  Remove argv definitions conditional on
55404         [__BOUNDED_POINTERS__].
55405         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55406         * elf/dl-runtime.c (_dl_fixup): Likewise.
55407         * include/set-hooks.h (RUN_HOOK): Likewise.
55408         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55409         definition.
55410         * string/strcpy.c (strcpy): Do not use __unbounded.
55411         * sysdeps/generic/frame.h (struct layout): Likewise.
55412         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55413         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55414         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55415         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55416         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55417         (__backtrace): Likewise.
55418         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55419         use __ptrvalue.
55420         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55421         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55422         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55423         Likewise.
55424         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55425         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55426         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55427         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55428         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55429         Do not use __unbounded.
55430         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55431         Rename __unboundedrlimits parameter to rlimits in prototype.
55432         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55433         Do not use __unbounded.
55434         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55435         not use __ptrvalue.
55436         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55437         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55438         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55439         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55440         __ptrvalue or __unbounded.
55441         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55442         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55443         use __unbounded.
55444         (__new_msgctl): Do not use __ptrvalue.
55445         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55446         __unbounded.
55447         (__libc_msgrcv): Do not use __ptrvalue.
55448         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55449         startup_info): Do not use __unbounded.
55450         (__libc_start_main): Likewise.  Rename ubp_* variables and
55451         parameters.  Remove argv definitions conditional on
55452         [__BOUNDED_POINTERS__].
55453         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55454         __ptrvalue.
55455         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55456         use __unbounded.
55457         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55458         or __ptrvalue.
55459         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55460         use __unbounded.
55461         (__new_shmctl): Do not use __ptrvalue.
55462         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55463         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55464         Likewise.
55465         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55466         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55467         (__libc_sigaction): Likewise.
55468         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55469         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55470         Likewise.
55471         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55473 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55475         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55477         * string/mempcpy.c: Implement by calling memcpy.
55479 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55481         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55483         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55484         evaluation.
55486         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55487         values in the mantissa.
55489         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55490         minimize writes to Z.
55491         (sub_magnitudes): Simplify code a bit.
55493 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55495         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55496         from the message.  The linker prefixes all warnings with that already.
55498 2013-02-12  Andreas Schwab  <schwab@suse.de>
55500         [BZ #15078]
55501         * posix/regexec.c (extend_buffers): Add parameter min_len.
55502         (check_matching): Pass minimum needed length.
55503         (clean_state_log_if_needed): Likewise.
55504         (get_subexp): Likewise.
55505         * posix/Makefile (tests): Add bug-regex34.
55506         (bug-regex34-ENV): Define.
55507         * posix/bug-regex34.c: New file.
55509         [BZ #11561]
55510         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55511         elements compare against the byte sequence of it, not its name.
55512         * posix/Makefile (tests): Add bug-regex35.
55513         (bug-regex35-ENV): Define.
55514         * posix/bug-regex35.c: New file.
55516 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55518         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55519         comment.
55520         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55521         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55522         (CHECK_EOL): Add undef.
55524 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55526         * bits/stdlib-bsearch.h: New file.
55527         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55528         * stdlib/stdlib.h: Likewise.
55530 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55532         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55533         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55534         declaration.
55535         * manual/search.texi (Array Search Function): Add missing const in
55536         lfind prototype.
55537         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55538         declaration to use rlim_t.
55539         (Basic Scheduling Functions): Remove erroneous const from
55540         sched_getparam prototype.  Remove erroneous * from
55541         sched_get_priority_max and sched_get_priority_min prototypes.
55542         (Resource Usage): Fix summary @comment on vtimes to refer to
55543         sys/vtimes.h rather than vtimes.h.
55544         Add missing *s in vtimes prototype.
55545         (Limits on Resources): Fix ulimit prototype to return long int.
55546         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55547         prototypes to use long int rather than double.
55548         (BSD Random): Fix initstate and setstate to use char *, not void *.
55549         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55550         prototype to make second argument 'struct aiocb64 *const[]'.
55551         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55552         (Status of AIO Operations): Remove erroneous const in aio_return and
55553         aio_return64 prototypes.
55554         (Synchronizing I/O): Fix sync prototype to return void.
55555         * manual/startup.texi (Suboptions): Remove an erroneous const in
55556         getsubopt prototype.
55557         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55558         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55559         use size_t rather than int.
55560         (Scanning All Users): Likewise for getpwent_r.
55561         (Setting Groups): Add missing const to setgroups prototype.
55562         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55563         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55564         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55565         'const void *' rather than 'const char *'.
55566         (Host Address Functions): Likewise for inet_ntop.
55567         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55568         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55569         ssize_t for return value.
55570         (Sending Data): Likewise for send, sendto, sendmsg.
55571         (Socket Option Functions): Add a missing const in setsockopt prototype.
55572         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55573         use wchar_t for the argument.
55574         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55575         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55576         take no arguments.
55577         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55578         double/float/long double for second argument.
55579         Fix return types of significand, significandf, significandl.
55580         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55581         argument in fchmod prototype.
55582         (File Owner): Use uid_t and gid_t in fchown prototype.
55583         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55584         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55585         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55586         use 'const struct dirent **' as argument types to CMP function pointer
55587         argument.
55588         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55589         (File Times): Fix summary magic @comment for struct utimbuf and utime
55590         to refer to utime.h, not time.h.
55591         * manual/string.texi (Argz Functions): Add missing const in
55592         argz_extract and argz_next prototypes.
55593         (Finding Tokens in a String): Likewise for basename.
55594         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55595         (Copying and Concatenation): Fix typo in wmemmove prototype.
55596         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55597         (Signal Stack): Remove erroneous const in sigstack prototype.
55598         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55599         prototype.
55600         (Simple Calendar Time): Likewise for stime.
55601         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55602         prototype.
55603         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55604         say sys/sysctl.h instead.
55605         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55606         and vsyslog prototypes.
55608 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55610         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55611         Remove.
55613 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55615         * misc/sys/mman.h: Fix typo in mremap comment.
55617 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55619         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55620         the '\0' terminator.
55622 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55624         [BZ #13550]
55625         * debug/segfault.c: Don't include <bp-checks.h>.
55626         * sysdeps/generic/bp-checks.h: Remove file.
55627         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55628         (__GETDENTS): Don't use CHECK_N.
55629         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55630         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55631         (__getgroups): Don't use CHECK_N.
55632         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55633         (setgroups): Don't use CHECK_N.
55634         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55635         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55636         (__libc_msgrcv): Don't use CHECK_N.
55637         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55638         (__libc_msgsnd): Don't use CHECK_N.
55639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55640         <bp-checks.h>.
55641         (__libc_pread): Don't use CHECK_N.
55642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55643         include <bp-checks.h>.
55644         (__libc_pread64): Don't use CHECK_N.
55645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55646         include <bp-checks.h>.
55647         (__libc_pwrite): Don't use CHECK_N.
55648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55649         include <bp-checks.h>.
55650         (__libc_pwrite64): Don't use CHECK_N.
55651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55652         <bp-checks.h>.
55653         (__libc_pread): Don't use CHECK_N.
55654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55655         include <bp-checks.h>.
55656         (__libc_pread64): Don't use CHECK_N.
55657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55658         include <bp-checks.h>.
55659         (__libc_pwrite): Don't use CHECK_N.
55660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55661         include <bp-checks.h>.
55662         (__libc_pwrite64): Don't use CHECK_N.
55663         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55664         (do_pread): Don't use CHECK_N.
55665         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55666         (do_pread64): Don't use CHECK_N.
55667         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55668         (do_pwrite): Don't use CHECK_N.
55669         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55670         (do_pwrite64): Don't use CHECK_N.
55671         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55672         (__libc_readv): Don't use CHECK_N.
55673         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55674         (semop): Don't use CHECK_N.
55675         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55676         <bp-checks.h>.
55677         (semtimedop): Don't use CHECK_N.
55678         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55679         (__libc_pread): Don't use CHECK_N.
55680         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55681         <bp-checks.h>.
55682         (__libc_pread64): Don't use CHECK_N.
55683         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55684         <bp-checks.h>.
55685         (__libc_pwrite): Don't use CHECK_N.
55686         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55687         <bp-checks.h>.
55688         (__libc_pwrite64): Don't use CHECK_N.
55689         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55690         <bp-checks.h>.
55691         (__libc_msgrcv): Don't use CHECK_N.
55692         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55693         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55694         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55695         (__libc_writev): Don't use CHECK_N.
55697 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55699         * string/strcpy.c: Removed unused variable.
55701         * Makeconfig (+sysdep-includes): Define with := rather than =.
55702         Use an existing include/ subdir of each sysdeps dir before it.
55704 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55706         * nscd/connection.c (register_traced_file): Comment function.
55707         [HAVE_INOTIFY] (union __inev): Define.
55708         [HAVE_INOTIFY] (inotify_check_files): New function.
55709         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55710         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55711         clear_db_cache.
55712         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55714 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55716         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55717         loaded if not already and that a failure is permanent.
55719 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55721         [BZ #15006]
55722         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55723         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55725 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55727         [BZ #13550]
55728         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55729         (CHECK_1_NULL_OK): Likewise.
55730         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55731         (__fxstat): Do not use CHECK_1.
55732         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55733         <bp-checks.h>.
55734         (___fxstat64): Do not use CHECK_1.
55735         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55736         <bp-checks.h>.
55737         (__fxstatat): Do not use CHECK_1.
55738         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55739         <bp-checks.h>.
55740         (__fxstatat64): Do not use CHECK_1.
55741         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55742         <bp-checks.h>.
55743         (__fxstat): Do not use CHECK_1.
55744         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55745         <bp-checks.h>.
55746         (__fxstatat): Do not use CHECK_1.
55747         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55748         <bp-checks.h>.
55749         (__getresgid): Do not use CHECK_1.
55750         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55751         <bp-checks.h>.
55752         (__getresuid): Do not use CHECK_1.
55753         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55754         <bp-checks.h>.
55755         (__lxstat): Do not use CHECK_1.
55756         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55757         <bp-checks.h>.
55758         (__old_msgctl): Do not use CHECK_1.
55759         (__new_msgctl): Likewise.
55760         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55761         <bp-checks.h>.
55762         (__new_setrlimit): Do not use CHECK_1.
55763         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55764         <bp-checks.h>.
55765         (__old_shmctl): Do not use CHECK_1.
55766         (__new_shmctl): Likewise.
55767         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55768         <bp-checks.h>.
55769         (__xstat): Do not use CHECK_1.
55770         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55771         (__lxstat): Do not use CHECK_1.
55772         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55773         <bp-checks.h>.
55774         (___lxstat64): Do not use CHECK_1.
55775         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55776         (__old_msgctl): Do not use CHECK_1.
55777         (__new_msgctl): Likewise.
55778         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55779         <bp-checks.h>.
55780         (__gettimeofday): Do not use CHECK_1.
55781         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55782         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55783         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55784         <bp-checks.h>.
55785         (__gettimeofday): Do not use CHECK_1.
55786         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55787         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55788         (__new_shmctl): Do not use CHECK_1.
55789         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55790         <bp-checks.h>.
55791         (do_sigtimedwait): Do not use CHECK_1.
55792         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55793         <bp-checks.h>.
55794         (do_sigwaitinfo): Do not use CHECK_1.
55795         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55796         <bp-checks.h>.
55797         (msgctl): Do not use CHECK_1.
55798         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55799         <bp-checks.h>.
55800         (shmctl): Do not use CHECK_1.
55801         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55802         (ustat): Do not use CHECK_1.
55803         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55804         <bp-checks.h>.
55805         (__fxstat): Do not use CHECK_1.
55806         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55807         <bp-checks.h>.
55808         (__fxstatat): Do not use CHECK_1.
55809         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55810         <bp-checks.h>.
55811         (__lxstat): Do not use CHECK_1.
55812         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55813         <bp-checks.h>.
55814         (__xstat): Do not use CHECK_1.
55815         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55816         (__xstat): Do not use CHECK_1.
55817         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55818         (___xstat64): Do not use CHECK_1.
55820         [BZ #13550]
55821         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55822         definitions.
55823         (CHECK_BOUNDS_HIGH): Likewise.
55824         * string/strcpy.c: Do not include <bp-checks.h>.
55825         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55827 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55829         * nscd/nscd-client.h (__nscd_drop_map_ref):
55830         Add __attribute__ ((unused)).
55831         * nis/nss-nisplus.h (niserr2nss): Likewise.
55833         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55834         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55836         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55837         Remove inline keyword.
55838         * include/rounding-mode.h (round_away): Likewise.
55839         * libio/wfileops.c (adjust_wide_data): Likewise.
55840         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55841         (__m128i_strloadu_tolower): Likewise.
55842         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55843         (__m128i_strloadu_tolower): Likewise.
55844         * time/mktime.c (ydhms_diff): Likewise.
55845         * locale/elem-hash.h (elem_hash): Likewise.
55846         * locale/setlocale.c (setdata): Likewise.
55847         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55848         (re_string_wchar_at): Likewise.
55849         (bitset_not, bitset_merge, bitset_mask): Likewise.
55850         [!(__GNUC__ > 3)] (inline): Remove macro.
55851         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55852         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55853         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55854         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55855         * string/memcmp.c (memcmp_bytes): Likewise.
55856         * locale/programs/locarchive.c (compute_hashval): Likewise.
55857         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55858         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55859         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55860         * nss/getent.c (print_rpc, print_protocols): Likewise.
55861         (print_passwd, print_group, print_aliases): Likewise.
55862         * nis/nss-nisplus.h (niserr2nss): Likewise.
55863         * nscd/connections.c (restart_p): Likewise.
55864         Change return type to bool.
55866 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55868         * Makeconfig (all-Depend-files): Add existing
55869         $(sorted-subdirs:=/Depend) files.
55870         (all-subdirs): Remove nss.
55871         * sysdeps/unix/inet/Subdirs: Add it here instead.
55872         * hesiod/Depend: New file.
55874         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55875         instead of calling alloca.
55877         * io/lseek.c (__lseek): Rename to __libc_lseek.
55878         Define __lseek as an alias.
55880         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55882 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55884         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55885         else clause and remove check for non-standard endianness.
55887 2013-02-04  David S. Miller  <davem@davemloft.net>
55889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55891 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55893         [BZ #13550]
55894         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55895         (__ubp_memchr): Remove prototype.
55896         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55897         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55898         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55899         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55900         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55901         Remove alias.
55902         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55903         (__ubp_memchr): Likewise.
55904         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55905         (__ubp_memchr): Likewise.
55906         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55907         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55908         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55909         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55910         CHECK_STRING.
55911         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55912         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55913         (__getcwd): Do not use CHECK_STRING.
55914         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55915         <bp-checks.h>.
55916         (__real_chown): Do not use CHECK_STRING.
55917         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55918         <bp-checks.h>.
55919         (fchownat): Do not use CHECK_STRING.
55920         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55921         CHECK_STRING.
55922         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55923         <bp-checks.h>.
55924         (__lchown): Do not use CHECK_STRING.
55925         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55926         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55927         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55928         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55930         include <bp-checks.h>.
55931         (truncate64): Do not use CHECK_STRING.
55932         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55933         <bp-checks.h>.
55934         (__real_chown): Do not use CHECK_STRING.
55935         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55936         <bp-checks.h>.
55937         (__lchown): Do not use CHECK_STRING.
55938         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55939         <bp-checks.h>.
55940         (__chown): Do not use CHECK_STRING.
55941         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55942         <bp-checks.h>.
55943         (truncate64): Do not use CHECK_STRING.
55944         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55945         Likewise.
55946         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55947         (__xmknod): Do not use CHECK_STRING.
55948         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55949         <bp-checks.h>.
55950         (__xmknodat): Do not use CHECK_STRING.
55951         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55952         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55954 2013-02-04  Andreas Schwab  <schwab@suse.de>
55956         [BZ #14142]
55957         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55958         * include/netdb.h: Likewise for h_errno.
55959         * elf/tst-stackguard1.c: Include <tls.h>.
55961 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55963         * elf/link.h (struct link_map): Extend the l_addr comment.
55964         * include/link.h (struct link_map): Likewise.
55966 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55968         [BZ #13550]
55969         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55970         (BOUNDED_1): Remove macro.
55971         * debug/backtrace.c: Don't include <bp-checks.h>.
55972         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55973         (__backtrace): Likewise.
55974         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55975         <bp-checks.h>.
55976         (__backtrace): Don't use BOUNDED_1.
55977         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55978         <bp-checks.h>.
55979         (__backtrace): Don't use BOUNDED_1.
55980         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55981         (__backtrace): Don't use BOUNDED_1.
55982         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55983         (shmat): Don't use BOUNDED_N.
55985 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55987         [BZ #13550]
55988         * sysdeps/generic/bp-start.h: Remove file.
55989         * csu/libc-start.c: Don't include <bp-start.h>.
55990         (LIBC_START_MAIN): Set up __environ directly instead of using
55991         INIT_ARGV_and_ENVIRON.
55992         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55993         <bp-start.h>.
55995         [BZ #13550]
55996         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55997         definitions.
55998         (CHECK_FCNTL): Likewise.
55999         (CHECK_N_PAGES): Likewise.
56001         [BZ #13550]
56002         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56003         definitions.
56004         (CHECK_SIGSET_NULL_OK): Likewise.
56005         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56006         <bp-checks.h>.
56007         (sigpending): Don't use CHECK_SIGSET.
56008         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56009         <bp-checks.h>.
56010         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56011         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56012         <bp-checks.h>.
56013         (do_sigsuspend): Don't use CHECK_SIGSET.
56014         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56015         use CHECK_SIGSET.
56016         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56017         (do_sigwait): Don't use CHECK_SIGSET.
56018         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56019         use CHECK_SIGSET.
56020         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56021         include <bp-checks.h>.
56022         (sigpending): Don't use CHECK_SIGSET.
56023         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56024         include <bp-checks.h>.
56025         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56026         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56027         <bp-checks.h>.
56028         (sigpending): Don't use CHECK_SIGSET.
56029         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56030         <bp-checks.h>.
56031         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56033         [BZ #13550]
56034         * sysdeps/generic/bp-semctl.h: Remove file.
56035         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56036         <bp-checks.h> and <bp-semctl.h>.
56037         (__old_semctl): Don't use CHECK_SEMCTL.
56038         (__new_semctl): Likewise.
56039         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56040         and <bp-semctl.h>.
56041         (__old_semctl): Don't use CHECK_SEMCTL.
56042         (__new_semctl): Likewise.
56043         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56044         <bp-checks.h> and <bp-semctl.h>.
56045         (__old_semctl): Don't use CHECK_SEMCTL.
56046         (__new_semctl): Likewise.
56047         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56048         <bp-checks.h> and <bp-semctl.h>.
56049         (semctl): Don't use CHECK_SEMCTL.
56051         [BZ #13550]
56052         * Makerules (elide-bp-thunks): Remove variable.
56053         (elide-routines.oS): Don't use $(elide-bp-thunks).
56054         (elide-routines.os): Likewise.
56055         (elide-routines.o): Likewise.
56056         (elide-routines.op): Likewise.
56057         (elide-routines.og): Likewise.
56058         (objects): Don't use $(bp-thunks).
56059         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56060         include.
56061         (common-generated): Do not add s-proto-bp.d.
56062         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56063         (int): Likewise.
56064         (typ): Likewise.
56065         Do not generate makefile rules for bounded-pointer thunks.
56066         * sysdeps/generic/bp-thunks.h: Remove file.
56067         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56068         * sysdeps/unix/s-proto-bp.S: Likewise.
56070         [BZ #15062]
56071         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56072         parts of result separately when argument is not close to line from
56073         -i to i and one part of argument is small.
56074         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56075         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56076         * math/libm-test.inc (cacos_test): Add more tests.
56077         (casin_test): Likewise.
56078         (casinh_test): Likewise.
56079         * sysdeps/i386/fpu/libm-test-ulps: Update.
56080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56082 2013-01-31  David S. Miller  <davem@davemloft.net>
56084         * po/de.po: Update from translation team.
56086 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
56088         * time/tzfile.c: Include stdint.h for SIZE_MAX.
56090 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
56092         * configure.in (_AC_PROG_CC_C89): New definition.
56093         * configure: Regenerate.
56095         * configure.in (AC_PROG_CPP): New definition.
56096         * configure: Regenerate.
56098 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56100         * debug/tst-backtrace.h: New file.
56101         * debug/tst-backtrace2.c: Include tst-backtrace.h.
56102         (ret): Remove variable.
56103         (x): Likewise.
56104         (FAIL): Remove macro.
56105         (NO_INLINE): Likewise.
56106         (fn1): Use match function instead of strstr.
56107         * debug/tst-backtrace3.c: Include tst-backtrace.h.
56108         (ret): Remove variable.
56109         (x): Likewise.
56110         (FAIL): Remove macro.
56111         (NO_INLINE): Likewise.
56112         (fn): Use match function instead of strstr.
56113         * debug/tst-backtrace4.c: Include tst-backtrace.h.
56114         (ret): Remove variable.
56115         (x): Likewise.
56116         (FAIL): Remove macro.
56117         (NO_INLINE): Likewise.
56118         (handle_signal): Use match function instead of strstr.
56119         * debug/tst-backtrace5.c: Include tst-backtrace.h.
56120         (ret): Remove variable.
56121         (x): Likewise.
56122         (FAIL): Remove macro.
56123         (NO_INLINE): Likewise.
56124         (handle_signal): Use match function instead of strstr.
56126 2013-01-23  Roland McGrath  <roland@hack.frob.com>
56128         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56130 2013-01-23  David S. Miller  <davem@davemloft.net>
56132         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56133         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56134         argument of CAS if possible.
56135         * sysdeps/sparc/sparc64/bits/atomic.h
56136         (__arch_compare_and_exchange_val_32_acq): Likewise.
56137         (__arch_compare_and_exchange_val_64_acq): Likewise.
56139 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
56141         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56142         * sysdeps/posix/ulimit.c: ... this.
56143         Include <limits.h>.
56144         * sysdeps/unix/bsd/ulimit.c: Remove file.
56146 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56148         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56149         (LDFLAGS-tst-array5): Likewise.
56151 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56153         [BZ #15036]
56154         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56155         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56156         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56157         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56159 2013-01-21  David S. Miller  <davem@davemloft.net>
56161         * sysdeps/sparc/backtrace.c: New file.
56162         * sysdeps/sparc/sparc32/backtrace.h: New file.
56163         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56164         * sysdeps/sparc/sparc64/backtrace.h: New file.
56165         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56166         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56167         -funwind-tables.
56169 2013-01-21  Andreas Schwab  <schwab@suse.de>
56171         [BZ #15020]
56172         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56173         closed its stdout.
56175 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56177         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56178         "mpa2.h".
56179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56181 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56182             Mark Mitchell  <mark@codesourcery.com>
56183             Tom de Vries  <tom@codesourcery.com>
56184             Paul Pluzhnikov  <ppluzhnikov@google.com>
56186         * debug/tst-backtrace2.c: New file.
56187         * debug/tst-backtrace3.c: Likewise.
56188         * debug/tst-backtrace4.c: Likewise.
56189         * debug/tst-backtrace5.c: Likewise.
56190         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56191         (CFLAGS-tst-backtrace3.c): Likewise.
56192         (CFLAGS-tst-backtrace4.c): Likewise.
56193         (CFLAGS-tst-backtrace5.c): Likewise.
56194         (LDFLAGS-tst-backtrace2): Likewise.
56195         (LDFLAGS-tst-backtrace3): Likewise.
56196         (LDFLAGS-tst-backtrace4): Likewise.
56197         (LDFLAGS-tst-backtrace5): Likewise.
56198         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56199         tst-backtrace4 and tst-backtrace5.
56201 2013-01-18  Anton Blanchard  <anton@samba.org>
56202             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56204         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56205         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56206         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56207         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56209         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56210         "+r" and remove output regs list as redundant.  Add explicit inline
56211         asm to specify register of return val to work around compiler codegen
56212         bug.  Remove (int) cast on return value.  Add return type parameter to
56213         use in macro so that this macro does not truncate return value for
56214         64-bit values.
56215         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56216         pass to INTERNAL_VSYSCALL_NCS.
56217         (INLINE_VSYSCALL): Add 'long int' as return type to
56218         INTERNAL_VSYSCALL_NCS macro invocation.
56219         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56220         INTERNAL_VSYSCALL_NCS macro invocation.
56221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56223 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56225         [BZ #14496]
56226         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56227         Fix application of SIMD FP exception mask.
56229         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56230         mp_no from a power of two.
56231         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56232         __mpexp_twomm1.  Use __pow_mp.
56234         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56235         multiplication.
56237 2013-01-17  David S. Miller  <davem@davemloft.net>
56239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56241 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56243         [BZ #15023]
56244         * include/complex.h: Condition contents on [!_COMPLEX_H].
56245         (__kernel_casinhf): New prototype.
56246         (__kernel_casinh): Likewise.
56247         (__kernel_casinhl): Likewise.
56248         * math/Makefile (libm_calls): Add k_casinh.
56249         * math/k_casinh.c: New file.
56250         * math/k_casinhf.c: Likewise.
56251         * math/k_casinhl.c: Likewise.
56252         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56253         finite nonzero arguments.
56254         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56255         finite nonzero arguments.
56256         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56257         finite nonzero arguments.
56258         * math/s_casinh.c: Do not include <float.h>.
56259         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56260         * math/s_casinhf.c: Do not include <float.h>.
56261         (__casinhf): Move code for finite nonzero arguments to
56262         k_casinhf.c.
56263         * math/s_casinhl.c: Do not include <float.h>.
56264         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56265         redefine.
56266         (__casinhl): Move code for finite nonzero arguments to
56267         k_casinhl.c.
56268         * math/libm-test.inc (cacos_test): Add more tests.
56269         * sysdeps/i386/fpu/libm-test-ulps: Update.
56270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56272 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56274         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56275         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56276         [!HAVE_MREMAP]: Remove [defined linux] case.
56277         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56279 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56281         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56283 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56285         * elf/elf.h (R_386_SIZE32): New relocation.
56286         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56287         R_386_SIZE32.
56288         (elf_machine_rela): Likewise.
56289         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56290         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56292 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56294         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56295         (FP_FAST_FMA): Do not define.
56296         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56297         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56298         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56299         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56300         !_SOFT_FLOAT]: Likewise.
56301         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56302         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56303         value.
56304         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56305         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56306         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56307         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56308         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56309         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56310         file.
56312 2013-01-16  Andreas Schwab  <schwab@suse.de>
56314         [BZ #14327]
56315         * include/stdlib.h (__mktemp): Add declaration.
56316         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56317         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56319 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56321         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56322         definitions.
56323         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56324         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56325         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56326         definitions here.
56327         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56328         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56329         definitions.
56330         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56331         and ONE.
56332         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56333         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56334         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56335         definitions.
56336         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56337         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56338         definitions.
56339         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56341         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56343 2013-01-15  David S. Miller  <davem@davemloft.net>
56345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56346         trunc{,f} to libm-sysdep_routes.
56347         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56349         file.
56350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56352         file.
56353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56354         file.
56355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56357         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56358         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56359         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56360         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56361         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56362         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56365         nearbyint{,f} to libm-sysdep_routes.
56366         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56368         New file.
56369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56370         file.
56371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56372         New file.
56373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56374         file.
56375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56377         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56378         file.
56379         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56380         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56381         file.
56382         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56383         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56384         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56386         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56387         libc_feholdexcept and libc_fesetenv.
56389 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56391         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56393 2013-01-14  David S. Miller  <davem@davemloft.net>
56395         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56396         (SPARC_ASM_VIS2_IFUNC): Likewise.
56397         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56399         use of 'siam' instruction.
56400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56401         Likewise.
56402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56403         Likewise.
56404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56405         Likewise.
56406         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56407         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56408         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56409         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56411         file.
56412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56413         file.
56414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56415         file.
56416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56417         file.
56418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56419         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56420         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56421         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56423         new VIS2 routines.
56424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56427         Likewise.
56428         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56430         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56431         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56433         routines to libm-sysdep_routines.
56434         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56437         fdim/fdimf to libm-sysdep_routines.
56438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56439         file.
56440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56442         file.
56443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56446         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56447         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56448         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56449         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56451 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56453         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56454         to optimize copies.
56456         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56457         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56461         local variable MPTWO.
56462         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56463         Likewise.
56465 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56467         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56468         GLOB_NOESCAPE.
56470 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56472         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56474 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56476         * manual/pattern.texi (glob_t): Document gl_flags.
56477         (glob64_t): Likewise.
56479 2013-01-11  David S. Miller  <davem@davemloft.net>
56481         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56482         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56483         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56484         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56485         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56486         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56487         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56488         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56489         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56490         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56491         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56492         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56493         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56495         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56496         sparc V9 rather than using V8 code.
56497         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56498         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56500         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56501         Move to...
56502         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56503         Here.
56505 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56507         [BZ #14941]
56508         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56509         not in the main loop.
56510         * configure: Regenerated.
56512 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56514         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56515         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56516         to just #else.
56517         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56518         [!__GLIBC_HAVE_LONG_LONG] case.
56519         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56520         condition to just #else.
56521         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56522         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56523         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56524         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56525         unconditional.
56526         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56527         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56528         #elif condition to just #else.
56529         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56530         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56531         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56532         #elif condition to just #else.
56534 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56536         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56537         (EF_MIPS_ARCH_64): Fix value.
56538         (EF_MIPS_ARCH_32R2): New.
56539         (EF_MIPS_ARCH_64R2): New.
56541 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56543         * Makeconfig (+link-pie-before-libc): New.
56544         (+link-pie-after-libc): Likewise.
56545         (+link-pie-tests): Likewise.
56546         (+link-pie): Rewritten.
56547         (link-before-libc): Remove $(config-LDFLAGS).
56548         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56549         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56550         (config-LDFLAGS): Renamed to ...
56551         (rtld-LDFLAGS): This.
56552         (rtld-tests-LDFLAGS): New macro.
56553         (link-libc-rpath-link): Likewise.
56554         (link-libc-tests-rpath-link): Likewise.
56555         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56556         (link-libc): Prepand $(link-libc-rpath-link).
56557         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56558         (test-program-prefix): New macro.
56559         (test-via-rtld-prefix): Likewise.
56560         (test-program-cmd): Likewise.
56561         (host-test-program-cmd): Likewise.
56562         * Makefile ($(common-objpfx)testrun.sh): Replace
56563         $(run-program-prefix) with $(test-program-prefix).
56564         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56565         $(rtld-LDFLAGS).
56566         ($(common-objpfx)shlib.lds): Likewise.
56567         (build-module-helper): Likewise.
56568         ($(common-objpfx)format.lds): Likewise.
56569         * Rules (binaries-pie-tests): New.
56570         (binaries-pie-notests): Likewise.
56571         (binaries-pie): Rewritten.
56572         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56573         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56574         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56575         (make-test-out): Replace $(host-built-program-cmd) with
56576         $(host-test-program-cmd).
56577         * config.make.in (build-hardcoded-path-in-tests): New variable.
56578         * configure.in (--enable-hardcoded-path-in-tests): New configure
56579         option.
56580         (hardcoded_path_in_tests): New AC_SUBST.
56581         * configure: Regenerated.
56582         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56583         $(built-program-cmd) with $(test-program-cmd).
56584         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56585         (test_program_cmd): This.
56586         * elf/Makefile ($(objpfx)order.out): Run test with
56587         $(test-program-prefix).
56588         ($(objpfx)order2.out): Likewise.
56589         ($(objpfx)tst-initorder.out): Likewise.
56590         ($(objpfx)tst-initorder2.out): Likewise.
56591         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56592         $(test-program-cmd).
56593         ($(objpfx)tst-array1-static.out): Likewise.
56594         ($(objpfx)tst-array2.out): Likewise.
56595         ($(objpfx)tst-array3.out): Likewise.
56596         ($(objpfx)tst-array4.out): Likewise.
56597         ($(objpfx)tst-array5.out): Likewise.
56598         ($(objpfx)tst-array5-static.out): Likewise.
56599         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56600         $(test-program-cmd).
56601         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56602         $(run-program-prefix) with $(test-program-prefix).
56603         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56604         (test_program_prefix): This.
56605         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56606         $(run-program-prefix) with $(test-program-prefix).
56607         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56608         (test_program_prefix): This.
56609         * iconvdata/tst-tables.sh: Likewise.
56610         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56611         $(run-program-prefix) with $(test-program-prefix).
56612         ($(objpfx)tst-translit.out): Likewise.
56613         ($(objpfx)tst-gettext2.out): Likewise.
56614         ($(objpfx)tst-gettext4.out): Likewise.
56615         ($(objpfx)tst-gettext6.out): Likewise.
56616         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56617         (test_program_prefix): This.
56618         * intl/tst-gettext2.sh: Likewise.
56619         * intl/tst-gettext4.sh  Likewise.
56620         * intl/tst-gettext6.sh: Likewise.
56621         * intl/tst-translit.sh: Likewise.
56622         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56623         with $(test-program-cmd).
56624         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56625         $(run-program-prefix) with $(test-program-prefix).
56626         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56627         (test_program_prefix): This.
56628         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56629         $(run-program-prefix) with $(test-program-prefix).
56630         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56631         (test_program_prefix): This.
56632         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56633         * posix/Makefile ($(objpfx)globtest.out): Replace
56634         $(run-via-rtld-prefix) and $(test-wrapper) with
56635         $(test-program-prefix) and $(test-via-rtld-prefix).
56636         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56637         $(test-program-prefix).
56638         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56639         $(host-test-program-cmd).
56640         (tst-spawn-ARGS): Likewise.
56641         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56642         $(test-program-prefix).
56643         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56644         (test_via_rtld_prefix): This.
56645         (test_wrapper): Renamed to ...
56646         (test_program_prefix): This.
56647         (run_program_prefix): Replaced by test_program_prefix.
56648         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56649         (test_program_prefix): This.
56650         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56651         with $(host-test-program-cmd).
56652         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56653         $(run-program-prefix) with $(test-program-prefix).
56654         ($(objpfx)tst-printf.out): Likewise.
56655         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56656         $(test-program-cmd).
56657         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56658         (test_program_prefix): This.
56659         * stdio-common/tst-unbputc.sh: Likewise.
56660         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56661         $(run-program-prefix) with $(test-program-prefix).
56662         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56663         (test_program_prefix): This.
56664         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56665         $(built-program-cmd) with $(test-program-cmd).
56667 2013-01-11  Andreas Jaeger  <aj@suse.de>
56669         [BZ #15003]
56670         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56671         value. Sync with Linux 3.7.
56673 2013-01-10  David S. Miller  <davem@davemloft.net>
56675         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56676         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56677         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56679 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56681         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56682         never set.
56683         * configure: Regenerated.
56685 2013-01-10  David S. Miller  <davem@davemloft.net>
56687         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56688         sparc V9 rather than using V8 code.
56689         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56690         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56692 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56694         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56695         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56696         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56697         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56698         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56699         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56700         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56701         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56702         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56703         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56704         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56705         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56706         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56707         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56708         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56709         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56710         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56711         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56712         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56713         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56714         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56715         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56716         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56717         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56718         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56719         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56720         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56722 2013-01-10  David S. Miller  <davem@davemloft.net>
56724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56726 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56728         * posix/Makefile (tests-static): New variable.
56729         (tests): Add $(tests-static).
56730         (tst-exec-static-ARGS): New variable.
56731         (tst-spawn-static-ARGS): Likewise.
56732         * posix/tst-exec-static.c: New file.
56733         * posix/tst-spawn-static.c: Likewise.
56734         * posix/tst-exec.c: Support run directly.
56735         * posix/tst-spawn.c: Likewise.
56737 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56739         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56740         long.
56741         * math/bits/mathcalls.h (llrint): Likewise.
56742         (llround): Likewise.
56743         * stdlib/stdlib.h (struct drand48_data): Likewise.
56744         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56745         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56746         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56747         Likewise.
56748         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56749         Likewise.
56750         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56751         (elf_greg_t): Likewise.
56752         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56753         (__jmp_buf): Likewise.
56754         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56755         definitions.
56756         (llrint): Likewise, for all definitions.
56757         (llrintl): Likewise.
56759         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56760         Remove [__GNUC__] condition.
56761         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56762         condition to just [__USE_ISOC99].
56763         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56765 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56767         [BZ #14200]
56768         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56769         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56770         defined.
56771         (_POSIX_V6_ILP32_OFF32): Likewise.
56772         (_XBS5_ILP32_OFF32): Likewise.
56773         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56774         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56776 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56778         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56780         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56781         doubles __mpexp_twomm1.  Adjust usage.
56782         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56783         Remove.
56785 2013-01-10  Andreas Schwab  <schwab@suse.de>
56787         [BZ #14964]
56788         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56789         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56791 2013-01-09  David S. Miller  <davem@davemloft.net>
56793         [BZ #15003]
56794         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56795         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56796         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56797         (TCP_FASTOPEN): Define.
56798         (tcp_repair_opt): New structure.
56799         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56800         enum values.
56801         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56802         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56803         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56804         (tcp_cookie_transactions): New structure.
56806 2013-01-09  Anton Blanchard  <anton@samba.org>
56808         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56809         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56810         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56811         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56813 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56815         * include/features.h (__USE_ANSI): Remove.
56817 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56819         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56821         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56823 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56825         * sysdeps/s390/fpu/libm-test-ulps: Update.
56827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56829         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56830         (__acr): Likewise.
56831         (__cpy): Likewise.
56832         (norm): Likewise.
56833         (denorm): Likewise.
56834         (__mp_dbl): Likewise.
56835         (__dbl_mp): Likewise.
56836         (add_magnitudes): Likewise.
56837         (sub_magnitudes): Likewise.
56838         (__add): Likewise.
56839         (__sub): Likewise.
56840         (__mul): Likewise.
56841         (__inv): Likewise.
56842         (__dvd): Likewise.
56843         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56844         (__acr): Likewise.
56845         (__cpy): Likewise.
56846         (norm): Likewise.
56847         (denorm): Likewise.
56848         (__mp_dbl): Likewise.
56849         (__dbl_mp): Likewise.
56850         (add_magnitudes): Likewise.
56851         (sub_magnitudes): Likewise.
56852         (__add): Likewise.
56853         (__sub): Likewise.
56854         (__mul): Likewise.
56855         (__inv): Likewise.
56856         (__dvd): Likewise.
56857         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56858         (__acr): Likewise.
56859         (__cpy): Likewise.
56860         (norm): Likewise.
56861         (denorm): Likewise.
56862         (__mp_dbl): Likewise.
56863         (__dbl_mp): Likewise.
56864         (add_magnitudes): Likewise.
56865         (sub_magnitudes): Likewise.
56866         (__add): Likewise.
56867         (__sub): Likewise.
56868         (__mul): Likewise.
56869         (__inv): Likewise.
56870         (__dvd): Likewise.
56872 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56874         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56875         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56876         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56877         2 && __USE_EXTERN_INLINES]: Likewise.
56879 2013-01-08  Andreas Jaeger  <aj@suse.de>
56881         [BZ# 14985]
56882         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56883         Remove.
56884         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56885         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56887 2013-01-07  Anton Blanchard  <anton@samba.org>
56889         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56890         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56891         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56892         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56893         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56894         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56895         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56896         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56898         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56899         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56900         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56901         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56902         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56903         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56904         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56905         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56906         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56907         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56908         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56909         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56910         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56911         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56912         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56913         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56914         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56915         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56916         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56917         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56918         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56919         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56921         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56922         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56923         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56924         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56925         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56926         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56927         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56928         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56929         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56930         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56931         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56933 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56935         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56936         (__MALLOC_PMT): Likewise.
56937         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56938         [__GNUC__], only on [_LIBC].
56939         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56940         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56941         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56942         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56943         forward declaration.
56944         (realloc_hook_ini): Likewise.
56945         (memalign_hook_ini): Likewise.
56946         (__libc_memalign): Do not use __MALLOC_PMT in variable
56947         declaration.
56948         (__libc_valloc): Likewise.
56949         (__libc_pvalloc): Likewise.
56950         (__libc_calloc): Likewise.
56951         (__posix_memalign): Likewise.
56953         [BZ #14996]
56954         * math/s_casinh.c: Include <float.h>.
56955         (__casinh): Do not do computation with squaring and square root
56956         for large arguments.
56957         * math/s_casinhf.c: Include <float.h>.
56958         (__casinhf): Do not do computation with squaring and square root
56959         for large arguments.
56960         * math/s_casinhl.c: Include <float.h>.
56961         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56962         (__casinhl): Do not do computation with squaring and square root
56963         for large arguments.
56964         * math/libm-test.inc (casin_test): Add more tests.
56965         (casinh_test): Likewise.
56966         * sysdeps/i386/fpu/libm-test-ulps: Update.
56967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56969 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56971         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56972         (__x86_64_raw_data_cache_size): Likewise.
56973         (__x86_64_data_cache_size_half): Likewise.
56974         (__x86_64_raw_data_cache_size_half): Likewise.
56975         (__x86_64_shared_cache_size): Likewise.
56976         (__x86_64_raw_shared_cache_size): Likewise.
56977         (__x86_64_shared_cache_size_half): Likewise.
56978         (__x86_64_raw_shared_cache_size_half): Likewise.
56979         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56980         to ...
56981         (__x86_data_cache_size): This.
56982         (__x86_64_raw_data_cache_size): Renamed to ...
56983         (__x86_raw_data_cache_size): This.
56984         (__x86_64_data_cache_size_half): Renamed to ...
56985         (__x86_data_cache_size_half): This.
56986         (__x86_64_raw_data_cache_size_half): Renamed to ...
56987         (__x86_raw_data_cache_size_half): This.
56988         (__x86_64_shared_cache_size): Renamed to ...
56989         (__x86_shared_cache_size): This.
56990         (__x86_64_raw_shared_cache_size): Renamed to ...
56991         (__x86_raw_shared_cache_size): This.
56992         (__x86_64_shared_cache_size_half): Renamed to ...
56993         (__x86_shared_cache_size_half): This.
56994         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56995         (__x86_raw_shared_cache_size_half): This.
56996         * sysdeps/x86_64/memcpy.S: Updated.
56997         * sysdeps/x86_64/memset.S: Likewise.
56998         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56999         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57000         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57002 2013-01-04  David S. Miller  <davem@davemloft.net>
57004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57006 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
57008         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57009         1 to avoid redefinition warning.
57010         (__USE_GNU): Don't define.
57011         (init_signaling_nan): Protoize.
57013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57015 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57017         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57018         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57019         (__cpymn): Likewise.
57020         (norm): Remove commented code.
57021         (denorm): Likewise.
57022         (__mp_dbl): Likewise.
57023         (__inv): Likewise.
57024         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57025         (__cpymn): Likewise.
57026         (norm): Remove commented code.
57027         (denorm): Likewise.
57028         (__mp_dbl): Likewise.
57029         (__inv): Likewise.
57031         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57032         mp_no value for 1.0 and 2.0.
57033         (norm): Use RADIXI instead of radixi.d.
57034         (denorm): Likewise.
57035         (__mul): Use 0.0 instead of zero.d.
57036         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57037         mp_no value for 1.0 and 2.0.
57038         (norm): Use RADIXI instead of radixi.d.
57039         (denorm): Likewise.
57040         (__mul): Use 0.0 instead of zero.d.
57042 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
57044         [BZ #14994]
57045         * math/s_casinh.c (__casinh): Reduce finite argument to first
57046         quadrant then set signs of results at the end.
57047         * math/s_casinhf.c (__casinhf): Likewise.
57048         * math/s_casinhl.c (__casinhl): Likewise.
57049         * math/libm-test.inc (casin_test): Add more tests.
57050         (casinh_test): Likewise.
57051         * sysdeps/i386/fpu/libm-test-ulps: Update.
57052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57054 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57056         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57058         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57060         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57061         declarations.
57062         (denorm): Likewise.
57063         (__mp_dbl): Likewise.
57064         (__inv): Likewise.
57066         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57067         and adjust the header comment.
57069         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57070         variable name from declaration.
57072 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
57074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57075         Initialize COMMON_CPUID_INDEX_7 element.
57076         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57077         (CPUID_RTM): Likewise.
57078         (HAS_RTM): Likewise.
57079         (COMMON_CPUID_INDEX_7): New enum.
57081 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
57083         [BZ #14981]
57084         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57085         size is zero, record memory as freed.
57087 2013-01-03  Andreas Jaeger  <aj@suse.de>
57089         * po/ia.po: Add new Interlingua translation.
57091 2012-01-03  Allan McRae  <allan@archlinux.org>
57093         * locale/programs/localedef.c: Fix description of '--posix' flag.
57095 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
57097         * NEWS: Update dates in second copyright notice.
57098         * README: Update copyright dates in example.
57099         * manual/libc.texinfo: Update copyright dates.
57100         * scripts/test-installation.pl: Update copyright date in --version
57101         output.
57103         * hurd/ctty-input.c: Fix copyright notice formatting.
57104         * hurd/ctty-output.c: Likewise.
57105         * hurd/dtable.c: Likewise.
57106         * hurd/hurd-raise.c: Likewise.
57107         * hurd/hurdprio.c: Likewise.
57108         * hurd/msgportdemux.c: Likewise.
57109         * misc/sys/file.h: Likewise.
57110         * misc/sys/ioctl.h: Likewise.
57111         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57112         * sysdeps/mach/hurd/chdir.c: Likewise.
57113         * sysdeps/mach/hurd/fchdir.c: Likewise.
57114         * sysdeps/mach/hurd/rename.c: Likewise.
57115         * sysdeps/mach/hurd/rmdir.c: Likewise.
57116         * sysdeps/mach/hurd/seekdir.c: Likewise.
57117         * sysdeps/mach/hurd/setsid.c: Likewise.
57118         * sysdeps/posix/wait3.c: Likewise.
57120         * All files with FSF copyright notices: Update copyright dates
57121         using scripts/update-copyrights.
57122         * intl/plural.c: Regenerated.
57123         * locale/programs/charmap-kw.h: Likewise.
57124         * locale/programs/locfile-kw.h: Likewise.
57126 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57128         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57129         four values.
57131         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57132         calculation loop and add branch prediction.
57134         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57135         check access beyond bounds of m1np.
57137         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57138         MPTWO.
57139         (__inv): Remove local variable MPTWO to use the global
57140         constant.
57141         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57142         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57143         variable MPTWO.
57144         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57145         MP3HALFS static const.
57147 2013-01-01  David S. Miller  <davem@davemloft.net>
57149         * po/ca.po: Update from translation team.
57151 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57153         * scripts/update-copyrights: New file.
57154         * Makeconfig: Reformat copyright notice.
57155         * ctype/ctype.h: Likewise.
57156         * debug/swprintf_chk.c: Likewise.
57157         * elf/dl-cache.c: Likewise.
57158         * elf/dl-debug.c: Likewise.
57159         * elf/dl-object.c: Likewise.
57160         * grp/initgroups.c: Likewise.
57161         * hurd/Makefile: Likewise.
57162         * hurd/hurd/signal.h: Likewise.
57163         * hurd/hurdfault.c: Likewise.
57164         * hurd/hurdioctl.c: Likewise.
57165         * hurd/hurdlookup.c: Likewise.
57166         * hurd/intr-msg.c: Likewise.
57167         * iconv/gconv_open.c: Likewise.
57168         * libio/swprintf.c: Likewise.
57169         * locale/lc-ctype.c: Likewise.
57170         * locale/nl_langinfo.c: Likewise.
57171         * mach/Machrules: Likewise.
57172         * mach/Makefile: Likewise.
57173         * malloc/obstack.h: Likewise.
57174         * manual/Makefile: Likewise.
57175         * manual/tsort.awk: Likewise.
57176         * misc/bits/stab.def: Likewise.
57177         * nis/nis_print_group_entry.c: Likewise.
57178         * nis/nis_table.c: Likewise.
57179         * nis/nss_compat/compat-pwd.c: Likewise.
57180         * nis/nss_compat/compat-spwd.c: Likewise.
57181         * po/Makefile: Likewise.
57182         * posix/fnmatch.c: Likewise.
57183         * posix/regex.h: Likewise.
57184         * resolv/Makefile: Likewise.
57185         * resolv/nss_dns/dns-network.c: Likewise.
57186         * resolv/res_hconf.c: Likewise.
57187         * scripts/gen-sorted.awk: Likewise.
57188         * soft-fp/soft-fp.h: Likewise.
57189         * stdio-common/printf.h: Likewise.
57190         * stdlib/monetary.h: Likewise.
57191         * stdlib/random.c: Likewise.
57192         * stdlib/random_r.c: Likewise.
57193         * sysdeps/generic/Makefile: Likewise.
57194         * sysdeps/gnu/Makefile: Likewise.
57195         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57196         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57197         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57198         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57199         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57200         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57201         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57202         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57203         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57204         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57205         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57206         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57207         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57208         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57209         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57210         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57211         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57212         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57213         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57214         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57215         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57216         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57217         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57218         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57219         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57220         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57221         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57222         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57223         * sysdeps/mach/hurd/errnos.awk: Likewise.
57224         * sysdeps/mach/hurd/fork.c: Likewise.
57225         * sysdeps/mach/hurd/getcwd.c: Likewise.
57226         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57227         * sysdeps/mach/hurd/mmap.c: Likewise.
57228         * sysdeps/mach/hurd/utimes.c: Likewise.
57229         * sysdeps/mach/hurd/xmknod.c: Likewise.
57230         * sysdeps/posix/profil.c: Likewise.
57231         * sysdeps/posix/readdir_r.c: Likewise.
57232         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57233         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57234         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57235         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57236         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57237         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57238         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57239         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57241         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57242         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57243         * sysdeps/pthread/lio_listio.c: Likewise.
57244         * sysdeps/sparc/dl-procinfo.h: Likewise.
57245         * sysdeps/unix/i386/sysdep.S: Likewise.
57246         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57247         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57248         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57249         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57251         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57252         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57253         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57254         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57255         * sysdeps/wordsize-32/divdi3.c: Likewise.
57256         * time/sys/time.h: Likewise.
57257         * wcsmbs/Makefile: Likewise.
57259 2013-01-01  David S. Miller  <davem@davemloft.net>
57261         * po/fr.po: Update from translation team.
57263         * catgets/gencat.c: Update copyright year.
57264         * csu/version.c: Likewise.
57265         * debug/catchsegv.sh: Likewise.
57266         * debug/pcprofiledump.c: Likewise.
57267         * debug/xtrace.sh: Likewise.
57268         * elf/ldconfig.c: Likewise.
57269         * elf/ldd.bash.in: Likewise.
57270         * elf/pldd.c: Likewise.
57271         * elf/sotruss.ksh: Likewise.
57272         * elf/sprof.c: Likewise.
57273         * iconv/iconv_prog.c: Likewise.
57274         * iconv/iconvconfig.c: Likewise.
57275         * locale/programs/locale.c: Likewise.
57276         * locale/programs/localedef.c: Likewise.
57277         * login/programs/pt_chown.c: Likewise.
57278         * malloc/memusage.sh: Likewise.
57279         * malloc/memusagestat.c: Likewise.
57280         * malloc/mtrace.pl: Likewise.
57281         * nscd/nscd.c: Likewise.
57282         * nss/getent.c: Likewise.
57283         * nss/makedb.c: Likewise.
57284         * posix/getconf.c: Likewise.
57286 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57288         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57289         numbers.
57291 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57293         * math/bits/mathcalls.h (modf): Use __nonnull.
57295 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57297         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57298         (split): Use macro CN instead of the bare value.
57299         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57300         could be used.
57301         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57302         instead of the bare value.
57303         (power1): Likewise.
57305 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57307         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57308         __ATAN_TWOM.
57309         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57311         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57312         their values.
57313         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57314         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57315         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57316         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57318 2012-12-28  Andreas Jaeger  <aj@suse.de>
57320         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57321         values are from Linux 3.7.
57323         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57324         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57326 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57328         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57329         TRUE case.
57331         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57332         (norm): Likewise.
57333         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57334         variables with preprocessor constants.
57335         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57336         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57337         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57339 2012-12-27  Bruno Haible  <bruno@clisp.org>
57341         [BZ #14317]
57342         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57343         only if needed.
57345 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57347         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57348         and use variable directly.
57349         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57351         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57352         MPONE.
57353         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57354         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57355         variable MPONE.
57356         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57357         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57358         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57359         include directive.  Remove local variable MPONE.
57360         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57361         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57362         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57364 2012-12-25  David S. Miller  <davem@davemloft.net>
57366         * version.h (RELEASE): Set to "development".
57367         (VERSION): Set to "2.17.90".
57368         * NEWS: Add 2.18 section.
57370 2012-12-21  David S. Miller  <davem@davemloft.net>
57372         * po/hr.po: Update from translation team.
57374 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57376         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57378 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57380         * NEWS:  Mention new memcpy for MIPS.
57382 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57384         * manual/contrib.texi (Contributors): Spelling correction.
57386 2012-12-15  David S. Miller  <davem@davemloft.net>
57388         * po/ru.po: Update from translation team.
57390 2012-12-13  David S. Miller  <davem@davemloft.net>
57392         * NEWS: Mention IFUNC testsuite enhancements.
57394         * po/pl.po: Update from translation team.
57395         * po/bg.po: Likewise.
57397         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57398         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57400 2012-12-11  David S. Miller  <davem@davemloft.net>
57402         * po/sv.po: Update from translation team.
57404         * po/vi.po: Update from translation team.
57406         * po/cs.po: Update from translation team.
57408         * po/de.po: Update from translation team.
57409         * po/eo.po: Likewise.
57410         * po/nl.po: Likewise.
57412 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57414         [BZ #14246]
57415         * manual/argp.texi (Argp Helper Functions): Move node to follow
57416         Argp Parsing State.
57418         [BZ #14872]
57419         * manual/conf.texi (Limits on File System Capacity): Mention if
57420         terminating null is included in the max size.
57422 2012-12-10  Andreas Jaeger  <aj@suse.de>
57424         * po/cs.po: Update from translation team.
57426 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57428         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57429         void pointer and cast to uintptr_t.
57430         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57431         path.
57432         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57433         * sysdeps/s390/s390-64/memset.S: Likewise.
57435 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57437         [BZ #14833]
57438         * menual/message.texi (Message Translation): Fix typos.
57439         (Helper programs for gettext): Likewise.
57441 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57443         [BZ #14898]
57444         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57445         Change to -1.
57447 2012-12-07  David S. Miller  <davem@davemloft.net>
57449         * po/libc.pot: Update.
57451 2012-12-07  Richard Henderson  <rth@redhat.com>
57453         [BZ #10114]
57454         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57455         normal/normal case to before the switch.
57456         (_FP_DIV): Likewise.
57458 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57459             Mike Frysinger  <vapier@gentoo.org>
57461         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57462         check for __NR_fadvise64_64.
57464 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57466         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57467         0, not just to plain "0" as a statement.
57468         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57469         with cw.
57471 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57473         * NEWS: Use sourceware.org in Bugzilla URL.
57475 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57478         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57480         * stdio-common/tst-put-error.c (do_test): Add newline to the
57481         padded test to ensure flush.
57483 2012-12-05  Jeff Law  <law@redhat.com>
57485         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57487 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57489         * README: Don't refer to ports add-on as distributed separately.
57490         Mention AArch64 in list of systems supported in the ports add-on.
57492         * LICENSES: Add more non-FSF copyright and license notices.
57494         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57495         ((unused)).
57497         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57499         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57500         10000 as width of padded output.
57502 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57504         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57506         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57507         variable LX with __attribute__ ((unused)).
57508         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57509         Likewise.
57510         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57511         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57512         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57513         with __attribute__ ((unused)).
57515 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57517         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57519 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57521         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57522         (CFLAGS-nldbl-acos.c): New variable.
57523         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57524         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57525         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57526         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57527         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57528         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57529         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57530         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57531         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57532         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57533         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57534         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57535         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57536         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57537         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57538         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57539         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57540         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57541         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57542         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57543         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57544         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57545         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57546         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57547         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57548         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57549         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57550         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57551         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57552         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57553         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57554         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57555         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57556         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57557         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57558         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57559         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57560         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57561         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57562         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57563         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57564         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57565         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57566         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57567         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57568         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57569         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57570         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57571         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57572         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57573         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57574         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57575         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57576         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57577         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57578         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57579         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57580         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57581         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57582         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57583         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57584         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57585         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57586         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57587         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57588         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57589         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57590         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57591         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57592         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57593         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57594         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57595         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57596         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57597         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57598         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57599         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57600         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57601         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57602         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57603         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57604         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57605         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57606         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57607         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57608         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57609         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57610         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57611         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57612         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57613         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57614         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57615         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57616         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57617         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57618         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57619         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57622         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57624         [BZ #14914]
57625         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57626         whole low double instead of just low 47 bits when splitting values
57627         into two parts.
57629 2012-12-03  Allan McRae  <allan@archlinux.org>
57631         * manual/stdio.texi (Predefined Printf Handlers): Remove
57632         @hsep and @vsep usage.
57634 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57636         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57637         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57639 2012-12-03  Jeff Law  <law@redhat.com>
57641         * time/sys/time.h (settimeofday): Do not mark TV argument
57642         as __nonnull.
57644 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57646         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57647         when currently writing and seek to current position when not.
57648         * libio/Makefile (tests): Remove bug-fclose1.
57649         * libio/bug-fclose1.c: Delete.
57651 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57653         * manual/arith.texi (feenableexcept): Fix typo.
57654         (fedisableexcept): Likewise.
57656 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57658         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57659         second, differently-typed declaration, rather than a cast.
57661 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57663         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57664         * include/rpc/svc.h: ... here.
57666 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57668         [BZ #13013]
57669         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57670         depending n and resplen2 to catch cases where answer
57671         equals answerp2.
57673 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57675         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57676         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57678 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57680         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57682 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57684         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57686 2012-11-28  Jeff Law  <law@redhat.com>
57688         [BZ #13761]
57689         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57690         dataset_temporary.  Track alloca usage into alloca_used.
57691         If dataset is large allocate and release it via malloc/free.
57693 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57695         [BZ #14197]
57696         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57698 2012-11-28  David S. Miller  <davem@davemloft.net>
57700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57702 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57704         [BZ #14803]
57705         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57706         of pi/2 rounded to nearest to 64 bits.
57707         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57708         nearest to 64 bits.
57709         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57710         bits.
57712 2012-11-28  Jeff Law <law@redhat.com>
57713             Martin Osvald <mosvald@redhat.com>
57715         [BZ #14889]
57716         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57717         * sunrpc/svc.c: Include time.h.
57718         (__svc_accept_failed): New function.
57719         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57720         any reason other than EINTR, call __svc_accept_failed.
57721         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57722         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57724 2012-11-28  Andreas Schwab  <schwab@suse.de>
57726         * scripts/abilist.awk: Also handle indirect functions in .opd
57727         section.
57729 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57731         [BZ #13881]
57732         * sysdeps/x86/fpu/powl_helper.c: New file.
57733         * sysdeps/x86/fpu/Makefile: Likewise.
57734         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57735         (p3): New object.
57736         (__ieee754_powl): Use __powl_helper for finite arguments except
57737         integer exponents below 8.
57738         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57739         (p3): New object.
57740         (__ieee754_powl): Use __powl_helper for finite arguments except
57741         integer exponents below 8.
57742         * math/libm-test.inc (pow_test): Add more tests and enable some
57743         previously disabled tests.
57744         * sysdeps/i386/fpu/libm-test-ulps: Update.
57745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57747 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57748             Carlos O'Donell  <carlos_odonell@mentor.com>
57750         * nss/makedb.c (is_prime): Assert that input is odd and greater
57751         than 4.  Note that fact in a comment too.
57752         (next_prime): Add 4 to input.
57754 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57756         [BZ #11741]
57757         * libio/Makefile (tests): Add test case tst-fwrite-error.
57758         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57759         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57760         * libio/tst-fwrite-error.c: New test case.
57762 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57764         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57765         before casting to void *.
57766         * include/libc-internal.h (__pointer_type): New macro.
57767         (__integer_if_pointer_type_sub): Likewise.
57768         (__integer_if_pointer_type): Likewise.
57769         (cast_to_integer): Likewise.
57770         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57771         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57772         before casting to atomic64_t.
57773         (atomic_exchange_acq): Likewise.
57774         (__arch_exchange_and_add_body): Likewise.
57775         (__arch_add_body): Likewise.
57776         (atomic_add_negative): Likewise.
57777         (atomic_add_zero): Likewise.
57779 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57781         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57782         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57783         (add_fdes): Likewise.
57784         (linear_search_fdes): Likewise.
57785         (binary_search_unencoded_fdes): Likewise.
57787 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57789         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57791 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57793         * configure.in: Autodetect C++ header directories.
57794         * configure: Regenerated.
57796 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57798         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57800 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57804 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57806         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57807         LDBL_MANT_DIG == 106]: Disable some tests.
57808         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57809         Likewise.
57810         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57811         Likewise.
57813         [BZ #14871]
57814         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57815         input for small inputs.  Return +/- pi/2 for large inputs.
57816         * math/libm-test.inc (atan_test): Add more tests.
57818         * sysdeps/generic/unwind-dw2-fde-glibc.c
57819         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57820         __attribute__ ((unused)).
57822         [BZ #14645]
57823         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57824         x * y if x and y are nonzero and z is zero.
57826         [BZ #14811]
57827         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57828         nonzero exponents with absolute value below 0x1p-117 to +/-
57829         0x1p-117.
57831         [BZ #14869]
57832         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57833         up arguments below 2**-450, not just those below 2**-500.
57834         * math/libm-test.inc (hypot_test): Add another test.
57836         [BZ #14868]
57837         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57838         Return a+b for ratio over 2**120, not 2**60.
57839         * math/libm-test.inc (hypot_test): Add another test.
57841         * math/libm-test.inc (clog_test): Use
57842         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57843         (clog10_test): Likewise.
57845         [BZ #6778]
57846         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57848 2012-11-22  Andreas Schwab  <schwab@suse.de>
57850         * sysdeps/i386/fpu/libm-test-ulps: Update.
57852 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57854         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57855         printf output with newline.
57857 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57859         [BZ #14865]
57860         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57861         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57862         -z nodlopen, -z initfirst and -z execstack support.
57863         * configure: Regenerated.
57865         * elf/elf.h (DF_1_NODIRECT): New macro.
57866         (DF_1_IGNMULDEF): Likewise.
57867         (DF_1_NOKSYMS): Likewise.
57868         (DF_1_NOHDR): Likewise.
57869         (DF_1_EDITED): Likewise.
57870         (DF_1_NORELOC): Likewise.
57871         (DF_1_SYMINTPOSE): Likewise.
57872         (DF_1_GLOBAUDIT): Likewise.
57873         (DF_1_SINGLETON): Likewise.
57874         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57875         DT_1_SUPPORTED_MASK bits.
57876         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57878 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57880         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57882 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57884         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57885         macro.
57887         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57888         (sendmmsg): Move declarations...
57889         * socket/sys/socket.h: ... here.
57890         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57891         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57892         include it from...
57893         * socket/recvmmsg.c: ... this new file.
57894         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57895         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57896         definition of __sendmmsg hidden.
57897         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57898         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57899         Move ENOSYS stub into and include it from...
57900         * socket/sendmmsg.c: ... this new file.
57901         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57902         (sysdep_routines): Move recvmmsg and sendmmsg...
57903         * socket/Makefile (routines): ... here.
57904         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57905         (GLIBC_PRIVATE): Add __sendmmsg.
57906         * include/sys/socket.h (__sendmmsg): Add declarations.
57907         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57908         sendmmsg.
57910 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57912         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57913         variable I1 with __attribute__ ((unused)).
57914         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57916 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57918         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57919         DUMMY variables with __attribute__ ((unused)).
57921         * bits/byteswap.h: Include <bits/types.h>.
57922         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57924 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57926         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57927         string_t.  Do not manually set errno.
57928         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57929         length with __strnlen.  Make sure to both set errno and return it on
57930         failure.
57932 2012-11-19  David S. Miller  <davem@davemloft.net>
57934         With help from Joseph Myers.
57935         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57936         very large arguments properly.
57937         * math/libm-test.inc (atan_test): New tests.
57938         (atan2_test): New tests.
57939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57940         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57942 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57944         [BZ #14856]
57945         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57946         Define to 3.
57948         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57949         [POSIX] (EADDRNOTAVAIL): Likewise.
57950         [POSIX] (EAFNOSUPPORT): Likewise.
57951         [POSIX] (EALREADY): Likewise.
57952         [POSIX] (ECONNABORTED): Likewise.
57953         [POSIX] (ECONNREFUSED): Likewise.
57954         [POSIX] (ECONNRESET): Likewise.
57955         [POSIX] (EDESTADDRREQ): Likewise.
57956         [POSIX] (EDQUOT): Likewise.
57957         [POSIX] (EHOSTUNREACH): Likewise.
57958         [POSIX] (EIDRM): Likewise.
57959         [POSIX] (EISCONN): Likewise.
57960         [POSIX] (ELOOP): Likewise.
57961         [POSIX] (EMULTIHOP): Likewise.
57962         [POSIX] (ENETDOWN): Likewise.
57963         [POSIX] (ENETUNREACH): Likewise.
57964         [POSIX] (ENOBUFS): Likewise.
57965         [POSIX] (ENODATA): Likewise.
57966         [POSIX] (ENOLINK): Likewise.
57967         [POSIX] (ENOMSG): Likewise.
57968         [POSIX] (ENOPROTOOPT): Likewise.
57969         [POSIX] (ENOSR): Likewise.
57970         [POSIX] (ENOSTR): Likewise.
57971         [POSIX] (ENOTCONN): Likewise.
57972         [POSIX] (ENOTSOCK): Likewise.
57973         [POSIX] (EOPNOTSUPP): Likewise.
57974         [POSIX] (EOVERFLOW): Likewise.
57975         [POSIX] (EPROTO): Likewise.
57976         [POSIX] (EPROTONOSUPPORT): Likewise.
57977         [POSIX] (EPROTOTYPE): Likewise.
57978         [POSIX] (ESTALE): Likewise.
57979         [POSIX] (ETIME): Likewise.
57980         [POSIX] (ETXTBSY): Likewise.
57981         [POSIX] (EWOULDBLOCK): Likewise.
57982         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57983         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57984         [POSIX] (SEEK_CUR): Likewise.
57985         [POSIX] (SEEK_END): Likewise.
57986         [POSIX || UNIX98] (mode_t): Do not require.
57987         [POSIX] (off_t): Likewise.
57988         [POSIX] (pid_t): Likewise.
57989         [POSIX] (sys/stat.h): Do not allow header.
57990         [POSIX] (unistd.h): Likewise.
57991         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57992         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57993         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57994         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57995         require.
57996         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57997         sigevent): Specify elements.
57998         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57999         entry.
58000         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58001         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58003         * conform/data/cpio.h-data [POSIX]: Disable whole file.
58004         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58005         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58006         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58007         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58008         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58009         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58010         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58011         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58012         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58013         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58014         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58015         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58016         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58017         Likewise.
58018         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58019         Likewise.
58020         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58021         Likewise.
58022         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58023         Likewise.
58024         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58025         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58026         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58027         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58028         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58029         Specify lower bound on value.
58030         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58031         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58032         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58033         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58034         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58035         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58036         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58037         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58038         value.
58039         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58040         as optional.
58041         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58042         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58043         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58044         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58045         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58046         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58047         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58048         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58049         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58050         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58051         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58052         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58053         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58054         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58055         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58056         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58057         entry.
58058         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58059         optional.
58060         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58061         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58062         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58063         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58064         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58065         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58066         Likewise.
58067         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58068         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58069         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58070         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58071         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
58072         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58073         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58074         as optional.
58075         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58076         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58077         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58078         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58079         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58080         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58081         specify as optional.
58082         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58083         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58084         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58085         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58086         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58087         [XPG3] (NL_LANGMAX): Likewise.
58088         [POSIX || XPG3] (NL_MSGMAX): Likewise.
58089         [POSIX || XPG3] (NL_NMAX): Likewise.
58090         [POSIX || XPG3] (NL_SETMAX): Likewise.
58091         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58092         [XPG3] (NZERO): Likewise.
58093         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58094         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58095         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58096         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58097         (REG_ERANGE): Expect.
58098         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58099         optional-constant.
58100         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58101         Use (void) in prototype.
58102         [POSIX] (*_t): Allow.
58103         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58104         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58105         (WRDE_BADVAL): Expect.
58107         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58108         expect.
58109         [XPG3 || XPG4] (O_RSYNC): Likewise.
58110         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58111         Likewise.
58112         [XPG3 || XPG4] (pthread_sigmask): Likewise.
58113         [XPG3 || XPG4] (sigqueue): Likewise.
58114         [XPG3 || XPG4] (sigtimedwait): Likewise.
58115         [XPG3 || XPG4] (sigwaitinfo): Likewise.
58116         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58117         [XPG3 || XPG4] (vsnprintf): Likewise.
58118         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58119         Likewise.
58120         [XPG3 || XPG4] (blksize_t): Likewise.
58121         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58122         Likewise.
58123         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58124         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58125         [XPG3 || XPG4] (struct itimerspec): Likewise.
58126         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58127         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58128         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58129         [XPG3 || XPG4] (clockid_t): Likewise.
58130         [XPG3 || XPG4] (timer_t): Likewise.
58131         [XPG3 || XPG4] (clock_getres): Likewise.
58132         [XPG3 || XPG4] (clock_gettime): Likewise.
58133         [XPG3 || XPG4] (clock_settime): Likewise.
58134         [XPG3 || XPG4] (nanosleep): Likewise.
58135         [XPG3 || XPG4] (timer_create): Likewise.
58136         [XPG3 || XPG4] (timer_delete): Likewise.
58137         [XPG3 || XPG4] (timer_gettime): Likewise.
58138         [XPG3 || XPG4] (timer_getoverrun): Likewise.
58139         [XPG3 || XPG4] (timer_settime): Likewise.
58140         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58141         [XPG3 || XPG4] (getlogin_r): Likewise.
58142         [XPG3 || XPG4] (pread): Likewise.
58143         [XPG3 || XPG4] (pthread_atfork): Likewise.
58144         [XPG3 || XPG4] (pwrite): Likewise.
58146         [BZ #14835]
58147         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58148         <bits/siginfo.h>.
58150 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58152         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58153         finalizing MALLSTREAM.
58155         * sysdeps/mach/hurd/syncfs.c: New file.
58157 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58159         [BZ #14719]
58160         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58161         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58162         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58163         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58164         (_nss_dns_gethostbyname4_r): Likewise.
58165         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58166         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58168 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58170         [BZ #13763]
58171         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58173 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58175         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58176         * elf/cache.c (print_entry): Print ",AArch64" for
58177         FLAG_AARCH64_LIB64
58179         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58180         * elf/cache.c (print_entry): Print ",hard-float" for
58181         FLAG_ARM_LIBHF.
58183 2012-11-18  David S. Miller  <davem@davemloft.net>
58185         With help from Joseph Myers.
58186         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58187         cutoff to 2**-13.
58188         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58189         cutoff to 2**-25.
58190         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58191         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58192         small.
58193         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58194         * math/libm-test.inc (y0_test): New tests.
58195         (y1_test): New tests.
58196         * sysdeps/i386/fpu/libm-test-ulps: Update.
58197         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58200 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58202         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58203         64-bit targets.
58204         * configure: Regenerated.
58206 2012-11-17  David S. Miller  <davem@davemloft.net>
58208         [BZ #14811]
58209         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58210         nonzero exponents with absolute value below 0x1p-128 to +/-
58211         0x1p-128.
58213 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58215         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58217         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58219         * posix/getconf-speclist.c: New file.
58220         * posix/posix-envs.def: Likewise.
58221         * posix/confstr.c (START_ENV_GROUP): New macro.
58222         (END_ENV_GROUP): Likewise.
58223         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58224         (KNOWN_PRESENT_ENV_STRING): Likewise.
58225         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58226         (UNKNOWN_ENVIRONMENT): Likewise.
58227         (confstr): Include posix-envs.def instead of handling
58228         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58229         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58230         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58231         (END_ENV_GROUP): Likewise.
58232         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58233         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58234         (UNKNOWN_ENVIRONMENT): Likewise.
58235         (__sysconf): Include posix-envs.def instead of handling associated
58236         cases directly here.
58237         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58238         preprocessing getconf-speclist.c rather than running getconf or
58239         generating empty file.
58241 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58243         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58245 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58247         [BZ #14672]
58248         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58250 2012-11-16  David S. Miller  <davem@davemloft.net>
58252         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58253         smaller than LDBL_EPSILON/2.0L, just return xm1.
58255 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58257         * elf/tst-array1.c (init): Set constructor priority to 1000.
58258         (fini): Set destructor priority to 1000.
58259         * elf/tst-array2dep.c: Likewise.
58261 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58263         [BZ #11741]
58264         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58265         (_IO_new_file_xsputn): Also return EOF if none of the input
58266         data was written when overflow failed.
58267         * libio/iopadn.c (_IO_padn): Likewise.
58268         * libio/iowpadn.c (_IO_wpadn): Likewise.
58269         * stdio-common/tst-put-error.c: Add copyright notice.
58270         (do_test): Add case for printing padded string.
58271         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58272         _IO_padn returned error.
58273         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58274         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58275         return EOF.
58277 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58279         * libio/libioP.h: Add comment note that the references to C++
58280         bits are now obsolete.
58282 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58284         * math/libm-test.inc (check_complex): Use asprintf.
58286 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58288         * debug/pcprofiledump.c (print_version): Update copyright year.
58289         * malloc/memusagestat.c (print_version): Likewise.
58291 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58293         [BZ #14831]
58294         * elf/Makefile (tests): Add tst-audit8.
58295         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58296         ($(objpfx)tst-audit8.out): New target.
58297         (tst-audit8-ENV): New variable.
58298         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58299         audit if l_reloc_result is NULL.
58300         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58301         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58302         * elf/tst-audit8.c: New file.
58304 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58306         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58307         * misc/Makefile (CFLAGS-select.c): Define.
58308         * posix/Makefile (CFLAGS-pause.c): Define.
58310 2012-11-13  David S. Miller  <davem@davemloft.net>
58312         * crypt/Makefile: Move test targets after toplevel Rules
58313         inclusion.  Grab any necessary sysdep routines when linking.
58314         * crypt/md5.c (md5_process_block): Remove define, we will always
58315         name it __md5_process_block.
58316         (md5_finish_ctx): Update md5_process_block call.
58317         (md5_stream): Likewise.
58318         (md5_process_bytes): Likewise.
58319         (md5_process_block): Rename to __md5_process_block and move to ...
58320         * crypt/md5-block.c: ... here.
58321         * crypt/sha256.c (sha256_process_block): Move to ...
58322         * crypt/sha256-block.c: ... here.
58323         * crypt/sha512.c (sha512_process_block): Move to ...
58324         * crypt/sha512-block.c: ... here.
58325         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58326         path.
58327         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58328         * sysdeps/sparc/sparc64/multiarch/Makefile
58329         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58330         crypt subdir.
58331         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58332         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58333         multiarch changes.
58334         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58335         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58336         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58337         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58338         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58339         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58340         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58341         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58342         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58343         file.
58344         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58345         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58346         file.
58347         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58349 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58351         * timezone/tzselect.ksh: Update from tzcode git revision
58352         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58353         * timezone/zdump.c: Likewise.
58354         * timezone/zic.c: Likewise.
58355         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58356         in TZVERSION setting, not $(PKGVERSION).
58357         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58358         REPORT_BUGS_TO settings.
58360         [BZ #14838]
58361         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58362         macro.
58364 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58366         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58367         detection to immediately after _FP_ROUND().
58368         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58369         bits are 0.
58371 2012-11-11  David S. Miller  <davem@davemloft.net>
58373         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58374         inttypes.h
58375         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58376         __close rather than their public counterparts.
58378 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58380         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58381         file.
58382         [UNIX98] (sem_timedwait): Do not expect.
58383         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58384         [XPG4 || UNIX98] (sockatmark): Do not expect.
58385         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58386         (clock_getcpuclockid): Do not expect.
58387         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58388         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58389         Do not expect.
58390         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58391         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58392         [UNIX98] (vwscanf): Likewise.
58393         [UNIX98] (vswscanf): Likewise.
58395 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58397         * timezone/version.h: Remove file.
58398         * timezone/README: Do not refer to version.h.
58399         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58400         $(objpfx)version.h.
58401         ($(objpfx)zdump.o): Likewise.
58402         ($(objpfx)version.h): New target.
58404         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58405         2012i.
58406         * timezone/README: Don't mention modification to tzselect.ksh.
58407         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58408         work on unmodified tzselect.ksh.  Substitute version numbers in
58409         tzselect.ksh.
58411         * Makefile (format-me): Remove.
58412         (INSTALL): Adjust indentation.  Use commands directly instead of
58413         using $(format-me).
58415         * aclocal.m4 (ACX_PKGVERSION): New macro.
58416         (ACX_BUGURL): Likewise.
58417         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58418         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58419         (REPORT_BUGS_TO): Likewise.
58420         * configure: Regenerated.
58421         * config.h.in (PKGVERSION): New macro.
58422         (REPORT_BUGS_TO): Likewise.
58423         * config.make.in (PKGVERSION): New variable.
58424         (PKGVERSION_TEXI): Likewise.
58425         (REPORT_BUGS_TO): Likewise.
58426         (REPORT_BUGS_TEXI): Likewise.
58427         * Makefile (format-me): Use -I$(common-objpfx)manual.
58428         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58429         ($(common-objpfx)manual/%): New target.
58430         (manual/%): Remove target.
58431         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58432         (print_version): Use PKGVERSION.
58433         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58434         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58435         and REPORT_BUGS_TO.
58436         ($(objpfx)xtrace): Likewise.
58437         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58438         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58439         (print_version): Use PKGVERSION.
58440         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58441         (do_version): Use PKGVERSION.
58442         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58443         REPORT_BUGS_TO.
58444         (common-ldd-rewrite): Likewise.
58445         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58446         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58447         (print_version): Use PKGVERSION.
58448         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58449         * elf/pldd.c (argp_program_bug_address): Remove variable.
58450         (more_help): New function.
58451         (argp): Use more_help.
58452         (print_version): Use PKGVERSION.
58453         * elf/sln.c (main): Use PKGVERSION.
58454         (usage): Use REPORT_BUGS_TO.
58455         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58456         (top level): Use PKGVERSION.
58457         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58458         (print_version): Use PKGVERSION.
58459         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58460         (print_version): Use PKGVERSION.
58461         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58462         (print_version): Use PKGVERSION.
58463         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58464         (print_version): Use PKGVERSION.
58465         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58466         (print_version): Use PKGVERSION.
58467         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58468         (print_version): Use PKGVERSION.
58469         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58470         and BUGURL.
58471         ($(objpfx)memusage): Likewise.
58472         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58473         (do_version): Use PKGVERSION.
58474         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58475         (print_version): Use PKGVERSION.
58476         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58477         ($PKGVERSION): New variable.
58478         ($REPORT_BUGS_TO): Likewise.
58479         (usage): Use $REPORT_BUGS_TO.
58480         (top level): Use $PKGVERSION.
58481         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58482         ($(objpfx)pkgvers.texi): New rule.
58483         ($(objpfx)stamp-pkgvers): Likewise.
58484         * manual/install.texi: Include pkgvers.texi.
58485         (--with-pkgversion): Document new configure option.
58486         (--with-bugurl): Likewise.
58487         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58488         than necessarily for this particular distribution.  Use
58489         REPORT_BUGS_TO for where to report bugs.
58490         * INSTALL: Regenerated.
58491         * manual/libc.texinfo: Include pkgvers.texi.
58492         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58493         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58494         (print_version): Use PKGVERSION.
58495         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58496         (print_version): Use PKGVERSION.
58497         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58498         (print_version): Use PKGVERSION.
58499         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58500         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58501         macro.
58502         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58503         (print_version): Use PKGVERSION.
58504         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58505         (print_version): Use PKGVERSION.
58506         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58507         and PKGVERSION.
58509         * timezone/checktab.awk: Update from tzcode 2012i.
58510         * timezone/ialloc.c: Likewise.
58511         * timezone/private.h: Likewise.
58512         * timezone/scheck.c: Likewise.
58513         * timezone/tzfile.h: Likewise.
58514         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58515         (TZVERSION): Hardcode tzcode version number.
58516         * timezone/zdump.c: Update from tzcode 2012i.
58517         * timezone/zic.c: Likewise.
58518         * timezone/version.h: New file.
58519         * timezone/README: Describe version.h.  Update upstream location.
58521         [BZ #14824]
58522         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58523         (mktemp): Enable declaration.
58524         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58525         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58526         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58527         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58528         Likewise.
58529         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58530         Likewise.
58531         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58532         Likewise.
58533         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58534         Likewise.
58535         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58536         Likewise.
58537         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58538         Likewise.
58540         [BZ #14821]
58541         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58542         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58543         for copies of such integer values.
58544         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58545         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58547 2012-11-09  Andreas Jaeger  <aj@suse.de>
58549         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58550         definitions and declarations that are provided by
58551         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58553 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58555         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58556         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58557         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58558         definition.
58560 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58562         * elf/elf.h: Update comment before AArch64 relocations.
58564 2012-11-07  David S. Miller  <davem@davemloft.net>
58566         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58567         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58568         (__start_context): Declare.
58569         (__makecontext_ret): Delete.
58570         (__makecontext): Hook up __start_context instead of
58571         __makecontext_ret.
58572         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58573         (sysdep_routines): Add __start_context when in stdlib.
58575 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58577         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58578         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58579         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58580         hardcoded "nm".
58581         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58582         (READELF): New variable.  Use it instead of hardcoded "readelf".
58584 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58586         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58587         * sysdeps/x86/Makefile: Here.
58588         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58589         * sysdeps/x86/tst-xmmymm.sh: This.
58591 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58593         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58594         expectations.
58595         [UNIX98] (pthread_barrier_t): Do not expect.
58596         [UNIX98] (pthread_barrierattr_t): Likewise.
58597         [UNIX98] (pthread_spinlock_t): Likewise.
58598         [UNIX98] (pthread_barrier_destroy): Likewise.
58599         [UNIX98] (pthread_barrier_init): Likewise.
58600         [UNIX98] (pthread_barrier_wait): Likewise.
58601         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58602         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58603         [UNIX98] (pthread_barrierattr_init): Likewise.
58604         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58605         [UNIX98] (pthread_getcpuclockid): Likewise.
58606         [UNIX98] (pthread_mutex_timedlock): Likewise.
58607         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58608         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58609         [UNIX98] (pthread_sigmask): Likewise.
58610         [UNIX98] (pthread_spin_destroy): Likewise.
58611         [UNIX98] (pthread_spin_init): Likewise.
58612         [UNIX98] (pthread_spin_lock): Likewise.
58613         [UNIX98] (pthread_spin_trylock): Likewise.
58614         [UNIX98] (pthread_spin_unlock): Likewise.
58615         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58616         Do not expect.
58617         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58618         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58619         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58620         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58621         [XPG3 || XPG4] (pthread_key_t): Likewise.
58622         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58623         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58624         [XPG3 || XPG4] (pthread_once_t): Likewise.
58625         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58626         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58627         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58628         [XPG3 || XPG4] (pthread_t): Likewise.
58630         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58631         not expect.
58632         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58634         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58635         Change function return type to int.
58637         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58638         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58639         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58640         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58641         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58642         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58643         [!POSIX] (posix_madvise): Likewise.
58644         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58645         && !UNIX98].
58646         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58647         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58648         (mode_t): Likewise.
58649         (posix_mem_offset): Likewise.
58650         (posix_typed_mem_get_info): Likewise.
58651         (posix_typed_mem_open): Likewise.
58653         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58654         Change condition to [XOPEN2K8].
58656         * conform/conformtest.pl: Preprocess allow-header data with -x c
58657         instead of from stdin.
58658         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58659         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58660         [C99-based standards] (cerfc): Likewise.
58661         [C99-based standards] (cexp2): Likewise.
58662         [C99-based standards] (cexpm1): Likewise.
58663         [C99-based standards] (clog10): Likewise.
58664         [C99-based standards] (clog1p): Likewise.
58665         [C99-based standards] (clog2): Likewise.
58666         [C99-based standards] (clgamma): Likewise.
58667         [C99-based standards] (ctgamma): Likewise.
58668         [C99-based standards] (cerff): Likewise.
58669         [C99-based standards] (cerfcf): Likewise.
58670         [C99-based standards] (cexp2f): Likewise.
58671         [C99-based standards] (cexpm1f): Likewise.
58672         [C99-based standards] (clog10f): Likewise.
58673         [C99-based standards] (clog1pf): Likewise.
58674         [C99-based standards] (clog2f): Likewise.
58675         [C99-based standards] (clgammaf): Likewise.
58676         [C99-based standards] (ctgammaf): Likewise.
58677         [C99-based standards] (cerfl): Likewise.
58678         [C99-based standards] (cerfcl): Likewise.
58679         [C99-based standards] (cexp2l): Likewise.
58680         [C99-based standards] (cexpm1l): Likewise.
58681         [C99-based standards] (clog10l): Likewise.
58682         [C99-based standards] (clog1pl): Likewise.
58683         [C99-based standards] (clog2l): Likewise.
58684         [C99-based standards] (clgammal): Likewise.
58685         [C99-based standards] (ctgammal): Likewise.
58686         * conform/data/inttypes.h-data [C99-based standards]: Include
58687         stdint.h-data.  Remove all expectations for stdint.h contents.
58688         [C99-based standards] (PRI*): Do not allow.
58689         [C99-based standards] (SCN*): Likewise.
58690         [C99-based standards] (*_t): Likewise.
58691         [C99-based-standards] (PRId8): Expect macro.
58692         [C99-based-standards] (PRIi8): Likewise.
58693         [C99-based-standards] (PRIo8): Likewise.
58694         [C99-based-standards] (PRIu8): Likewise.
58695         [C99-based-standards] (PRIx8): Likewise.
58696         [C99-based-standards] (PRIX8): Likewise.
58697         [C99-based-standards] (SCNd8): Likewise.
58698         [C99-based-standards] (SCNi8): Likewise.
58699         [C99-based-standards] (SCNo8): Likewise.
58700         [C99-based-standards] (SCNu8): Likewise.
58701         [C99-based-standards] (SCNx8): Likewise.
58702         [C99-based-standards] (PRIdLEAST8): Likewise.
58703         [C99-based-standards] (PRIiLEAST8): Likewise.
58704         [C99-based-standards] (PRIoLEAST8): Likewise.
58705         [C99-based-standards] (PRIuLEAST8): Likewise.
58706         [C99-based-standards] (PRIxLEAST8): Likewise.
58707         [C99-based-standards] (PRIXLEAST8): Likewise.
58708         [C99-based-standards] (SCNdLEAST8): Likewise.
58709         [C99-based-standards] (SCNiLEAST8): Likewise.
58710         [C99-based-standards] (SCNoLEAST8): Likewise.
58711         [C99-based-standards] (SCNuLEAST8): Likewise.
58712         [C99-based-standards] (SCNxLEAST8): Likewise.
58713         [C99-based-standards] (PRIdFAST8): Likewise.
58714         [C99-based-standards] (PRIiFAST8): Likewise.
58715         [C99-based-standards] (PRIoFAST8): Likewise.
58716         [C99-based-standards] (PRIuFAST8): Likewise.
58717         [C99-based-standards] (PRIxFAST8): Likewise.
58718         [C99-based-standards] (PRIXFAST8): Likewise.
58719         [C99-based-standards] (SCNdFAST8): Likewise.
58720         [C99-based-standards] (SCNiFAST8): Likewise.
58721         [C99-based-standards] (SCNoFAST8): Likewise.
58722         [C99-based-standards] (SCNuFAST8): Likewise.
58723         [C99-based-standards] (SCNxFAST8): Likewise.
58724         [C99-based-standards] (PRId16): Likewise.
58725         [C99-based-standards] (PRIi16): Likewise.
58726         [C99-based-standards] (PRIo16): Likewise.
58727         [C99-based-standards] (PRIu16): Likewise.
58728         [C99-based-standards] (PRIx16): Likewise.
58729         [C99-based-standards] (PRIX16): Likewise.
58730         [C99-based-standards] (SCNd16): Likewise.
58731         [C99-based-standards] (SCNi16): Likewise.
58732         [C99-based-standards] (SCNo16): Likewise.
58733         [C99-based-standards] (SCNu16): Likewise.
58734         [C99-based-standards] (SCNx16): Likewise.
58735         [C99-based-standards] (PRIdLEAST16): Likewise.
58736         [C99-based-standards] (PRIiLEAST16): Likewise.
58737         [C99-based-standards] (PRIoLEAST16): Likewise.
58738         [C99-based-standards] (PRIuLEAST16): Likewise.
58739         [C99-based-standards] (PRIxLEAST16): Likewise.
58740         [C99-based-standards] (PRIXLEAST16): Likewise.
58741         [C99-based-standards] (SCNdLEAST16): Likewise.
58742         [C99-based-standards] (SCNiLEAST16): Likewise.
58743         [C99-based-standards] (SCNoLEAST16): Likewise.
58744         [C99-based-standards] (SCNuLEAST16): Likewise.
58745         [C99-based-standards] (SCNxLEAST16): Likewise.
58746         [C99-based-standards] (PRIdFAST16): Likewise.
58747         [C99-based-standards] (PRIiFAST16): Likewise.
58748         [C99-based-standards] (PRIoFAST16): Likewise.
58749         [C99-based-standards] (PRIuFAST16): Likewise.
58750         [C99-based-standards] (PRIxFAST16): Likewise.
58751         [C99-based-standards] (PRIXFAST16): Likewise.
58752         [C99-based-standards] (SCNdFAST16): Likewise.
58753         [C99-based-standards] (SCNiFAST16): Likewise.
58754         [C99-based-standards] (SCNoFAST16): Likewise.
58755         [C99-based-standards] (SCNuFAST16): Likewise.
58756         [C99-based-standards] (SCNxFAST16): Likewise.
58757         [C99-based-standards] (PRId32): Likewise.
58758         [C99-based-standards] (PRIi32): Likewise.
58759         [C99-based-standards] (PRIo32): Likewise.
58760         [C99-based-standards] (PRIu32): Likewise.
58761         [C99-based-standards] (PRIx32): Likewise.
58762         [C99-based-standards] (PRIX32): Likewise.
58763         [C99-based-standards] (SCNd32): Likewise.
58764         [C99-based-standards] (SCNi32): Likewise.
58765         [C99-based-standards] (SCNo32): Likewise.
58766         [C99-based-standards] (SCNu32): Likewise.
58767         [C99-based-standards] (SCNx32): Likewise.
58768         [C99-based-standards] (PRIdLEAST32): Likewise.
58769         [C99-based-standards] (PRIiLEAST32): Likewise.
58770         [C99-based-standards] (PRIoLEAST32): Likewise.
58771         [C99-based-standards] (PRIuLEAST32): Likewise.
58772         [C99-based-standards] (PRIxLEAST32): Likewise.
58773         [C99-based-standards] (PRIXLEAST32): Likewise.
58774         [C99-based-standards] (SCNdLEAST32): Likewise.
58775         [C99-based-standards] (SCNiLEAST32): Likewise.
58776         [C99-based-standards] (SCNoLEAST32): Likewise.
58777         [C99-based-standards] (SCNuLEAST32): Likewise.
58778         [C99-based-standards] (SCNxLEAST32): Likewise.
58779         [C99-based-standards] (PRIdFAST32): Likewise.
58780         [C99-based-standards] (PRIiFAST32): Likewise.
58781         [C99-based-standards] (PRIoFAST32): Likewise.
58782         [C99-based-standards] (PRIuFAST32): Likewise.
58783         [C99-based-standards] (PRIxFAST32): Likewise.
58784         [C99-based-standards] (PRIXFAST32): Likewise.
58785         [C99-based-standards] (SCNdFAST32): Likewise.
58786         [C99-based-standards] (SCNiFAST32): Likewise.
58787         [C99-based-standards] (SCNoFAST32): Likewise.
58788         [C99-based-standards] (SCNuFAST32): Likewise.
58789         [C99-based-standards] (SCNxFAST32): Likewise.
58790         [C99-based-standards] (PRId64): Likewise.
58791         [C99-based-standards] (PRIi64): Likewise.
58792         [C99-based-standards] (PRIo64): Likewise.
58793         [C99-based-standards] (PRIu64): Likewise.
58794         [C99-based-standards] (PRIx64): Likewise.
58795         [C99-based-standards] (PRIX64): Likewise.
58796         [C99-based-standards] (SCNd64): Likewise.
58797         [C99-based-standards] (SCNi64): Likewise.
58798         [C99-based-standards] (SCNo64): Likewise.
58799         [C99-based-standards] (SCNu64): Likewise.
58800         [C99-based-standards] (SCNx64): Likewise.
58801         [C99-based-standards] (PRIdLEAST64): Likewise.
58802         [C99-based-standards] (PRIiLEAST64): Likewise.
58803         [C99-based-standards] (PRIoLEAST64): Likewise.
58804         [C99-based-standards] (PRIuLEAST64): Likewise.
58805         [C99-based-standards] (PRIxLEAST64): Likewise.
58806         [C99-based-standards] (PRIXLEAST64): Likewise.
58807         [C99-based-standards] (SCNdLEAST64): Likewise.
58808         [C99-based-standards] (SCNiLEAST64): Likewise.
58809         [C99-based-standards] (SCNoLEAST64): Likewise.
58810         [C99-based-standards] (SCNuLEAST64): Likewise.
58811         [C99-based-standards] (SCNxLEAST64): Likewise.
58812         [C99-based-standards] (PRIdFAST64): Likewise.
58813         [C99-based-standards] (PRIiFAST64): Likewise.
58814         [C99-based-standards] (PRIoFAST64): Likewise.
58815         [C99-based-standards] (PRIuFAST64): Likewise.
58816         [C99-based-standards] (PRIxFAST64): Likewise.
58817         [C99-based-standards] (PRIXFAST64): Likewise.
58818         [C99-based-standards] (SCNdFAST64): Likewise.
58819         [C99-based-standards] (SCNiFAST64): Likewise.
58820         [C99-based-standards] (SCNoFAST64): Likewise.
58821         [C99-based-standards] (SCNuFAST64): Likewise.
58822         [C99-based-standards] (SCNxFAST64): Likewise.
58823         [C99-based-standards] (PRIdMAX): Likewise.
58824         [C99-based-standards] (PRIiMAX): Likewise.
58825         [C99-based-standards] (PRIoMAX): Likewise.
58826         [C99-based-standards] (PRIuMAX): Likewise.
58827         [C99-based-standards] (PRIxMAX): Likewise.
58828         [C99-based-standards] (PRIXMAX): Likewise.
58829         [C99-based-standards] (SCNdMAX): Likewise.
58830         [C99-based-standards] (SCNiMAX): Likewise.
58831         [C99-based-standards] (SCNoMAX): Likewise.
58832         [C99-based-standards] (SCNuMAX): Likewise.
58833         [C99-based-standards] (SCNxMAX): Likewise.
58834         [C99-based-standards] (PRIdPTR): Likewise.
58835         [C99-based-standards] (PRIiPTR): Likewise.
58836         [C99-based-standards] (PRIoPTR): Likewise.
58837         [C99-based-standards] (PRIuPTR): Likewise.
58838         [C99-based-standards] (PRIxPTR): Likewise.
58839         [C99-based-standards] (PRIXPTR): Likewise.
58840         [C99-based-standards] (SCNdPTR): Likewise.
58841         [C99-based-standards] (SCNiPTR): Likewise.
58842         [C99-based-standards] (SCNoPTR): Likewise.
58843         [C99-based-standards] (SCNuPTR): Likewise.
58844         [C99-based-standards] (SCNxPTR): Likewise.
58845         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58846         allow.
58847         * conform/data/stdint.h-data: Update comments to clarify
58848         requirements.
58849         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58850         type.
58851         [C99-based standards] (INT8_MAX): Likewise.
58852         [C99-based standards] (INT16_MIN): Likewise.
58853         [C99-based standards] (INT16_MAX): Likewise.
58854         [C99-based standards] (INT32_MIN): Likewise.
58855         [C99-based standards] (INT32_MAX): Likewise.
58856         [C99-based standards] (INT64_MIN): Likewise.
58857         [C99-based standards] (INT64_MAX): Likewise.
58858         [C99-based standards] (UINT8_MAX): Likewise.
58859         [C99-based standards] (UINT16_MAX): Likewise.
58860         [C99-based standards] (UINT32_MAX): Likewise.
58861         [C99-based standards] (UINT64_MAX): Likewise.
58862         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58863         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58864         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58865         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58866         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58867         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58868         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58869         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58870         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58871         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58872         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58873         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58874         [C99-based standards] (INT_FAST8_MIN): Likewise.
58875         [C99-based standards] (INT_FAST8_MAX): Likewise.
58876         [C99-based standards] (INT_FAST16_MIN): Likewise.
58877         [C99-based standards] (INT_FAST16_MAX): Likewise.
58878         [C99-based standards] (INT_FAST32_MIN): Likewise.
58879         [C99-based standards] (INT_FAST32_MAX): Likewise.
58880         [C99-based standards] (INT_FAST64_MIN): Likewise.
58881         [C99-based standards] (INT_FAST64_MAX): Likewise.
58882         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58883         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58884         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58885         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58886         [C99-based standards] (INTPTR_MIN): Likewise.
58887         [C99-based standards] (INTPTR_MAX): Likewise.
58888         [C99-based standards] (UINTPTR_MAX): Likewise.
58889         [C99-based standards] (INTMAX_MIN): Likewise.
58890         [C99-based standards] (INTMAX_MAX): Likewise.
58891         [C99-based standards] (UINTMAX_MAX): Likewise.
58892         [C99-based standards] (PTRDIFF_MIN): Likewise.
58893         [C99-based standards] (PTRDIFF_MAX): Likewise.
58894         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58895         [C99-based standards] (SIZE_MAX): Likewise.
58896         [C99-based standards] (WCHAR_MAX): Likewise.
58897         [C99-based standards] (WINT_MAX): Likewise.
58898         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58899         constraint on value.
58900         [C99-based standards] (WCHAR_MIN): Likewise.
58901         [C99-based standards] (WINT_MIN): Likewise.
58902         [C99-based standards] (*_t): Allow.
58903         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58904         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58905         Include math.h-data and complex.h-data.  Remove all expectations
58906         of math.h and complex.h contents.
58907         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58908         at end of line.
58909         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58910         (struct tm): Expect tag.
58911         [C99-based-standards] (wcstof): Expect function.
58912         [C99-based-standards] (wcstold): Likewise.
58913         [C99-based-standards] (wcstoll): Likewise.
58914         [C99-based-standards] (wcstoull): Likewise.
58915         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58916         macro-int-constant.  Specify type.
58917         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58918         constraint on value.
58919         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58920         Specify type.
58921         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58922         Specify value.
58923         [ISO C standards]: Do not allow headers.
58924         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58925         wcs[abcdefghijklmnopqrstuvwxyz]*.
58926         [ISO C standards] (*_t): Do not allow.
58927         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58928         Expect function.
58929         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58930         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58931         Specify type.
58932         [ISO C standards]: Do not allow headers.
58933         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58934         is[abcdefghijklmnopqrstuvwxyz]*.
58935         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58936         to[abcdefghijklmnopqrstuvwxyz]*.
58937         [ISO C standards] (*_t): Do not allow.
58938         * conform/data/stdalign.h-data: New file.
58939         * conform/data/stdbool.h-data: Likewise.
58940         * conform/data/stdnoreturn.h-data: Likewise.
58942 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58944         [BZ #14815]
58945         * manual/filesys.texi (Directory Entries): Typo fix.
58946         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58948 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58950         * elf/elf.h (EM_AARCH64): New macro.
58951         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58952         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58953         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58954         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58955         (R_AARCH64_TLSDESC): Likewise.
58956         (NT_ARM_TLS): Likewise.
58957         (NT_ARM_HW_BREAK): Likewise.
58958         (NT_ARM_HW_WATCH): Likewise.
58960 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58962         [BZ #14811]
58963         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58964         (__ieee754_powl): Saturate nonzero exponents with absolute value
58965         below 0x1p-79 to +/- 0x1p-79.
58966         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58967         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58968         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58969         nonzero exponents with absolute value below 0x1p-32 to +/-
58970         0x1p-32.
58971         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58972         (__ieee754_powl): Saturate nonzero exponents with absolute value
58973         below 0x1p-79 to +/- 0x1p-79.
58974         * math/libm-test.inc (pow_test): Add more tests.
58976 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58978         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58979         _dl_s390_cap_flags with kernel. Increase string length.
58980         (_dl_s390_platforms): Add z196 and zEC12.
58982 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58984         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58985         Change XOPEN21K to XOPEN2K.
58987 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58989         * string/memmove.c: Use memcpy when possible.
58991 2012-11-06  Andreas Jaeger  <aj@suse.de>
58993         * po/eo.po: Update from translation team.
58995 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58997         [BZ #14793]
58998         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58999         exponent and small x and y exponents, scale x or y up.  Increase
59000         by 2 the exponent used in scaling up.
59001         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59002         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59003         * math/libm-test.inc (fma_test): Add more tests.
59004         (fma_test_towardzero): Likewise.
59005         (fma_test_downward): Likewise.
59006         (fma_test_upward): Likewise.
59008 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
59010         [BZ #14805]
59011         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59012         fenv_t *.
59014         [BZ #14801]
59015         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59016         namespace for names of struct fields.
59017         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59018         fenv_t fields.
59019         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59020         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59022 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59024         [BZ #3665]
59025         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59027 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59029         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59030         PTR_DEMANGLE.
59032         [BZ #5246]
59033         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59034         PTR_DEMANGLE.
59036 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
59038         [BZ #14797]
59039         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59040         definitely overflow as x * y not x * y + z.
59041         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59042         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59043         * math/libm-test.inc (fma_test): Add more tests.
59044         (fma_test_towardzero): Likewise.
59045         (fma_test_downward): Likewise.
59046         (fma_test_upward): Likewise.
59048 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59050         [BZ #157]
59052         * include/stub-tag.h: Remove file.
59053         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59054         '#include' of it.
59055         * manual/maint.texi (Porting): Don't reference it.
59056         * Makerules ($(objpfx)stubs): Likewise.
59057         * dirent/closedir.c: Don't include <stub-tag.h>.
59058         * dirent/dirfd.c: Likewise.
59059         * dirent/fdopendir.c: Likewise.
59060         * dirent/getdents.c: Likewise.
59061         * dirent/getdents64.c: Likewise.
59062         * dirent/opendir.c: Likewise.
59063         * dirent/readdir.c: Likewise.
59064         * dirent/readdir64.c: Likewise.
59065         * dirent/readdir64_r.c: Likewise.
59066         * dirent/readdir_r.c: Likewise.
59067         * dirent/rewinddir.c: Likewise.
59068         * dirent/seekdir.c: Likewise.
59069         * dirent/telldir.c: Likewise.
59070         * gmon/profil.c: Likewise.
59071         * grp/setgroups.c: Likewise.
59072         * inet/if_index.c: Likewise.
59073         * io/access.c: Likewise.
59074         * io/chdir.c: Likewise.
59075         * io/chmod.c: Likewise.
59076         * io/chown.c: Likewise.
59077         * io/close.c: Likewise.
59078         * io/dup.c: Likewise.
59079         * io/dup2.c: Likewise.
59080         * io/dup3.c: Likewise.
59081         * io/euidaccess.c: Likewise.
59082         * io/faccessat.c: Likewise.
59083         * io/fchdir.c: Likewise.
59084         * io/fchmod.c: Likewise.
59085         * io/fchmodat.c: Likewise.
59086         * io/fchown.c: Likewise.
59087         * io/fchownat.c: Likewise.
59088         * io/fcntl.c: Likewise.
59089         * io/flock.c: Likewise.
59090         * io/fstatfs.c: Likewise.
59091         * io/fstatfs64.c: Likewise.
59092         * io/fstatvfs.c: Likewise.
59093         * io/fstatvfs64.c: Likewise.
59094         * io/futimens.c: Likewise.
59095         * io/fxstat.c: Likewise.
59096         * io/fxstat64.c: Likewise.
59097         * io/fxstatat.c: Likewise.
59098         * io/fxstatat64.c: Likewise.
59099         * io/getcwd.c: Likewise.
59100         * io/isatty.c: Likewise.
59101         * io/lchmod.c: Likewise.
59102         * io/lchown.c: Likewise.
59103         * io/link.c: Likewise.
59104         * io/linkat.c: Likewise.
59105         * io/lseek.c: Likewise.
59106         * io/lseek64.c: Likewise.
59107         * io/lxstat64.c: Likewise.
59108         * io/mkdir.c: Likewise.
59109         * io/mkdirat.c: Likewise.
59110         * io/mkfifo.c: Likewise.
59111         * io/mkfifoat.c: Likewise.
59112         * io/open.c: Likewise.
59113         * io/open64.c: Likewise.
59114         * io/openat.c: Likewise.
59115         * io/openat64.c: Likewise.
59116         * io/pipe.c: Likewise.
59117         * io/pipe2.c: Likewise.
59118         * io/poll.c: Likewise.
59119         * io/posix_fadvise.c: Likewise.
59120         * io/posix_fadvise64.c: Likewise.
59121         * io/posix_fallocate.c: Likewise.
59122         * io/posix_fallocate64.c: Likewise.
59123         * io/read.c: Likewise.
59124         * io/readlink.c: Likewise.
59125         * io/readlinkat.c: Likewise.
59126         * io/rmdir.c: Likewise.
59127         * io/sendfile.c: Likewise.
59128         * io/sendfile64.c: Likewise.
59129         * io/statfs.c: Likewise.
59130         * io/statfs64.c: Likewise.
59131         * io/statvfs.c: Likewise.
59132         * io/statvfs64.c: Likewise.
59133         * io/symlink.c: Likewise.
59134         * io/symlinkat.c: Likewise.
59135         * io/ttyname.c: Likewise.
59136         * io/ttyname_r.c: Likewise.
59137         * io/umask.c: Likewise.
59138         * io/unlink.c: Likewise.
59139         * io/unlinkat.c: Likewise.
59140         * io/utime.c: Likewise.
59141         * io/utimensat.c: Likewise.
59142         * io/write.c: Likewise.
59143         * io/xmknod.c: Likewise.
59144         * io/xmknodat.c: Likewise.
59145         * io/xstat.c: Likewise.
59146         * io/xstat64.c: Likewise.
59147         * login/getpt.c: Likewise.
59148         * login/grantpt.c: Likewise.
59149         * login/unlockpt.c: Likewise.
59150         * math/e_acoshl.c: Likewise.
59151         * math/e_acosl.c: Likewise.
59152         * math/e_asinl.c: Likewise.
59153         * math/e_atan2l.c: Likewise.
59154         * math/e_atanhl.c: Likewise.
59155         * math/e_coshl.c: Likewise.
59156         * math/e_expl.c: Likewise.
59157         * math/e_fmodl.c: Likewise.
59158         * math/e_gammal_r.c: Likewise.
59159         * math/e_hypotl.c: Likewise.
59160         * math/e_j0l.c: Likewise.
59161         * math/e_j1l.c: Likewise.
59162         * math/e_jnl.c: Likewise.
59163         * math/e_lgammal_r.c: Likewise.
59164         * math/e_log10l.c: Likewise.
59165         * math/e_log2l.c: Likewise.
59166         * math/e_logl.c: Likewise.
59167         * math/e_powl.c: Likewise.
59168         * math/e_rem_pio2l.c: Likewise.
59169         * math/e_sinhl.c: Likewise.
59170         * math/e_sqrtl.c: Likewise.
59171         * math/fclrexcpt.c: Likewise.
59172         * math/fedisblxcpt.c: Likewise.
59173         * math/feenablxcpt.c: Likewise.
59174         * math/fegetenv.c: Likewise.
59175         * math/fegetexcept.c: Likewise.
59176         * math/fegetround.c: Likewise.
59177         * math/feholdexcpt.c: Likewise.
59178         * math/fesetenv.c: Likewise.
59179         * math/fesetround.c: Likewise.
59180         * math/feupdateenv.c: Likewise.
59181         * math/fgetexcptflg.c: Likewise.
59182         * math/fraiseexcpt.c: Likewise.
59183         * math/fsetexcptflg.c: Likewise.
59184         * math/ftestexcept.c: Likewise.
59185         * math/k_cosl.c: Likewise.
59186         * math/k_rem_pio2l.c: Likewise.
59187         * math/k_sinl.c: Likewise.
59188         * math/k_tanl.c: Likewise.
59189         * math/s_asinhl.c: Likewise.
59190         * math/s_atanl.c: Likewise.
59191         * math/s_cbrtl.c: Likewise.
59192         * math/s_erfl.c: Likewise.
59193         * math/s_expm1l.c: Likewise.
59194         * math/s_log1pl.c: Likewise.
59195         * math/s_tanhl.c: Likewise.
59196         * misc/acct.c: Likewise.
59197         * misc/brk.c: Likewise.
59198         * misc/chflags.c: Likewise.
59199         * misc/chroot.c: Likewise.
59200         * misc/fchflags.c: Likewise.
59201         * misc/fgetxattr.c: Likewise.
59202         * misc/flistxattr.c: Likewise.
59203         * misc/fremovexattr.c: Likewise.
59204         * misc/fsetxattr.c: Likewise.
59205         * misc/fsync.c: Likewise.
59206         * misc/ftruncate.c: Likewise.
59207         * misc/futimes.c: Likewise.
59208         * misc/futimesat.c: Likewise.
59209         * misc/getdomain.c: Likewise.
59210         * misc/getdtsz.c: Likewise.
59211         * misc/gethostid.c: Likewise.
59212         * misc/gethostname.c: Likewise.
59213         * misc/getloadavg.c: Likewise.
59214         * misc/getpagesize.c: Likewise.
59215         * misc/getsysstats.c: Likewise.
59216         * misc/getxattr.c: Likewise.
59217         * misc/gtty.c: Likewise.
59218         * misc/ioctl.c: Likewise.
59219         * misc/lgetxattr.c: Likewise.
59220         * misc/listxattr.c: Likewise.
59221         * misc/llistxattr.c: Likewise.
59222         * misc/lremovexattr.c: Likewise.
59223         * misc/lsetxattr.c: Likewise.
59224         * misc/lutimes.c: Likewise.
59225         * misc/madvise.c: Likewise.
59226         * misc/mincore.c: Likewise.
59227         * misc/mlock.c: Likewise.
59228         * misc/mlockall.c: Likewise.
59229         * misc/mmap.c: Likewise.
59230         * misc/mprotect.c: Likewise.
59231         * misc/msync.c: Likewise.
59232         * misc/munlock.c: Likewise.
59233         * misc/munlockall.c: Likewise.
59234         * misc/munmap.c: Likewise.
59235         * misc/preadv.c: Likewise.
59236         * misc/preadv64.c: Likewise.
59237         * misc/ptrace.c: Likewise.
59238         * misc/pwritev.c: Likewise.
59239         * misc/pwritev64.c: Likewise.
59240         * misc/readv.c: Likewise.
59241         * misc/reboot.c: Likewise.
59242         * misc/remap_file_pages.c: Likewise.
59243         * misc/removexattr.c: Likewise.
59244         * misc/revoke.c: Likewise.
59245         * misc/select.c: Likewise.
59246         * misc/setdomain.c: Likewise.
59247         * misc/setegid.c: Likewise.
59248         * misc/seteuid.c: Likewise.
59249         * misc/sethostid.c: Likewise.
59250         * misc/sethostname.c: Likewise.
59251         * misc/setregid.c: Likewise.
59252         * misc/setreuid.c: Likewise.
59253         * misc/setxattr.c: Likewise.
59254         * misc/sstk.c: Likewise.
59255         * misc/stty.c: Likewise.
59256         * misc/swapoff.c: Likewise.
59257         * misc/swapon.c: Likewise.
59258         * misc/sync.c: Likewise.
59259         * misc/syncfs.c: Likewise.
59260         * misc/syscall.c: Likewise.
59261         * misc/truncate.c: Likewise.
59262         * misc/ualarm.c: Likewise.
59263         * misc/usleep.c: Likewise.
59264         * misc/ustat.c: Likewise.
59265         * misc/utimes.c: Likewise.
59266         * misc/vhangup.c: Likewise.
59267         * misc/writev.c: Likewise.
59268         * posix/_exit.c: Likewise.
59269         * posix/alarm.c: Likewise.
59270         * posix/execve.c: Likewise.
59271         * posix/fexecve.c: Likewise.
59272         * posix/fork.c: Likewise.
59273         * posix/fpathconf.c: Likewise.
59274         * posix/getaddrinfo.c: Likewise.
59275         * posix/getegid.c: Likewise.
59276         * posix/geteuid.c: Likewise.
59277         * posix/getgid.c: Likewise.
59278         * posix/getgroups.c: Likewise.
59279         * posix/getlogin.c: Likewise.
59280         * posix/getlogin_r.c: Likewise.
59281         * posix/getpgid.c: Likewise.
59282         * posix/getpid.c: Likewise.
59283         * posix/getppid.c: Likewise.
59284         * posix/getresgid.c: Likewise.
59285         * posix/getresuid.c: Likewise.
59286         * posix/getsid.c: Likewise.
59287         * posix/getuid.c: Likewise.
59288         * posix/glob64.c: Likewise.
59289         * posix/nanosleep.c: Likewise.
59290         * posix/pathconf.c: Likewise.
59291         * posix/pause.c: Likewise.
59292         * posix/posix_madvise.c: Likewise.
59293         * posix/pread.c: Likewise.
59294         * posix/pread64.c: Likewise.
59295         * posix/pwrite.c: Likewise.
59296         * posix/pwrite64.c: Likewise.
59297         * posix/sched_getaffinity.c: Likewise.
59298         * posix/sched_getp.c: Likewise.
59299         * posix/sched_gets.c: Likewise.
59300         * posix/sched_primax.c: Likewise.
59301         * posix/sched_primin.c: Likewise.
59302         * posix/sched_rr_gi.c: Likewise.
59303         * posix/sched_setaffinity.c: Likewise.
59304         * posix/sched_setp.c: Likewise.
59305         * posix/sched_sets.c: Likewise.
59306         * posix/sched_yield.c: Likewise.
59307         * posix/setgid.c: Likewise.
59308         * posix/setlogin.c: Likewise.
59309         * posix/setpgid.c: Likewise.
59310         * posix/setresgid.c: Likewise.
59311         * posix/setresuid.c: Likewise.
59312         * posix/setsid.c: Likewise.
59313         * posix/setuid.c: Likewise.
59314         * posix/sleep.c: Likewise.
59315         * posix/spawni.c: Likewise.
59316         * posix/sysconf.c: Likewise.
59317         * posix/times.c: Likewise.
59318         * posix/wait.c: Likewise.
59319         * posix/wait3.c: Likewise.
59320         * posix/wait4.c: Likewise.
59321         * posix/waitpid.c: Likewise.
59322         * resolv/gai_sigqueue.c: Likewise.
59323         * resource/getpriority.c: Likewise.
59324         * resource/getrlimit.c: Likewise.
59325         * resource/getrusage.c: Likewise.
59326         * resource/nice.c: Likewise.
59327         * resource/setpriority.c: Likewise.
59328         * resource/setrlimit.c: Likewise.
59329         * resource/ulimit.c: Likewise.
59330         * rt/aio_cancel.c: Likewise.
59331         * rt/aio_fsync.c: Likewise.
59332         * rt/aio_read.c: Likewise.
59333         * rt/aio_sigqueue.c: Likewise.
59334         * rt/aio_suspend.c: Likewise.
59335         * rt/aio_write.c: Likewise.
59336         * rt/clock_getres.c: Likewise.
59337         * rt/clock_gettime.c: Likewise.
59338         * rt/clock_nanosleep.c: Likewise.
59339         * rt/clock_settime.c: Likewise.
59340         * rt/lio_listio.c: Likewise.
59341         * rt/mq_close.c: Likewise.
59342         * rt/mq_getattr.c: Likewise.
59343         * rt/mq_notify.c: Likewise.
59344         * rt/mq_open.c: Likewise.
59345         * rt/mq_receive.c: Likewise.
59346         * rt/mq_send.c: Likewise.
59347         * rt/mq_setattr.c: Likewise.
59348         * rt/mq_timedreceive.c: Likewise.
59349         * rt/mq_timedsend.c: Likewise.
59350         * rt/mq_unlink.c: Likewise.
59351         * rt/shm_open.c: Likewise.
59352         * rt/shm_unlink.c: Likewise.
59353         * rt/timer_create.c: Likewise.
59354         * rt/timer_delete.c: Likewise.
59355         * rt/timer_getoverr.c: Likewise.
59356         * rt/timer_gettime.c: Likewise.
59357         * rt/timer_settime.c: Likewise.
59358         * setjmp/__longjmp.c: Likewise.
59359         * setjmp/setjmp.c: Likewise.
59360         * signal/kill.c: Likewise.
59361         * signal/killpg.c: Likewise.
59362         * signal/raise.c: Likewise.
59363         * signal/sigaction.c: Likewise.
59364         * signal/sigaltstack.c: Likewise.
59365         * signal/sigblock.c: Likewise.
59366         * signal/sigignore.c: Likewise.
59367         * signal/sigintr.c: Likewise.
59368         * signal/signal.c: Likewise.
59369         * signal/sigpause.c: Likewise.
59370         * signal/sigpending.c: Likewise.
59371         * signal/sigqueue.c: Likewise.
59372         * signal/sigreturn.c: Likewise.
59373         * signal/sigset.c: Likewise.
59374         * signal/sigsetmask.c: Likewise.
59375         * signal/sigstack.c: Likewise.
59376         * signal/sigsuspend.c: Likewise.
59377         * signal/sigtimedwait.c: Likewise.
59378         * signal/sigvec.c: Likewise.
59379         * signal/sigwait.c: Likewise.
59380         * signal/sigwaitinfo.c: Likewise.
59381         * signal/sysv_signal.c: Likewise.
59382         * socket/accept.c: Likewise.
59383         * socket/accept4.c: Likewise.
59384         * socket/bind.c: Likewise.
59385         * socket/connect.c: Likewise.
59386         * socket/getpeername.c: Likewise.
59387         * socket/getsockname.c: Likewise.
59388         * socket/getsockopt.c: Likewise.
59389         * socket/isfdtype.c: Likewise.
59390         * socket/listen.c: Likewise.
59391         * socket/recv.c: Likewise.
59392         * socket/recvfrom.c: Likewise.
59393         * socket/recvmsg.c: Likewise.
59394         * socket/send.c: Likewise.
59395         * socket/sendmsg.c: Likewise.
59396         * socket/sendto.c: Likewise.
59397         * socket/setsockopt.c: Likewise.
59398         * socket/shutdown.c: Likewise.
59399         * socket/sockatmark.c: Likewise.
59400         * socket/socket.c: Likewise.
59401         * socket/socketpair.c: Likewise.
59402         * stdio-common/ctermid.c: Likewise.
59403         * stdio-common/cuserid.c: Likewise.
59404         * stdio-common/remove.c: Likewise.
59405         * stdio-common/rename.c: Likewise.
59406         * stdio-common/renameat.c: Likewise.
59407         * stdio-common/tempname.c: Likewise.
59408         * stdlib/getcontext.c: Likewise.
59409         * stdlib/makecontext.c: Likewise.
59410         * stdlib/setcontext.c: Likewise.
59411         * stdlib/swapcontext.c: Likewise.
59412         * stdlib/system.c: Likewise.
59413         * streams/fattach.c: Likewise.
59414         * streams/fdetach.c: Likewise.
59415         * streams/getmsg.c: Likewise.
59416         * streams/getpmsg.c: Likewise.
59417         * streams/putmsg.c: Likewise.
59418         * streams/putpmsg.c: Likewise.
59419         * sysdeps/unix/bsd/getpt.c: Likewise.
59420         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59421         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59422         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59424         Likewise.
59425         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59426         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59427         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59428         * sysvipc/msgctl.c: Likewise.
59429         * sysvipc/msgget.c: Likewise.
59430         * sysvipc/msgrcv.c: Likewise.
59431         * sysvipc/msgsnd.c: Likewise.
59432         * sysvipc/semctl.c: Likewise.
59433         * sysvipc/semget.c: Likewise.
59434         * sysvipc/semop.c: Likewise.
59435         * sysvipc/semtimedop.c: Likewise.
59436         * sysvipc/shmat.c: Likewise.
59437         * sysvipc/shmctl.c: Likewise.
59438         * sysvipc/shmdt.c: Likewise.
59439         * sysvipc/shmget.c: Likewise.
59440         * termios/tcdrain.c: Likewise.
59441         * termios/tcflow.c: Likewise.
59442         * termios/tcflush.c: Likewise.
59443         * termios/tcgetattr.c: Likewise.
59444         * termios/tcgetpgrp.c: Likewise.
59445         * termios/tcsendbrk.c: Likewise.
59446         * termios/tcsetattr.c: Likewise.
59447         * termios/tcsetpgrp.c: Likewise.
59448         * time/adjtime.c: Likewise.
59449         * time/clock.c: Likewise.
59450         * time/getitimer.c: Likewise.
59451         * time/gettimeofday.c: Likewise.
59452         * time/setitimer.c: Likewise.
59453         * time/settimeofday.c: Likewise.
59454         * time/stime.c: Likewise.
59455         * time/time.c: Likewise.
59457 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59459         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59460         /usr/old/bin.
59462         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59463         instead of spaces.
59464         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59466 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59468         [BZ #14796]
59469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59470         FE_TONEAREST before applying Dekker multiplication and Knuth
59471         addition.  Clear inexact exceptions and check for exact zero
59472         results afterwards.
59473         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59474         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59476         * math/libm-test.inc (fma_test): Add more tests.
59477         (fma_test_towardzero): Likewise.
59478         (fma_test_downward): Likewise.
59479         (fma_test_upward): Likewise.
59480         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59481         function.
59482         (libc_fesetround): New macro.
59483         (libc_fesetroundf): Likewise.
59484         (libc_fesetroundl): Likewise.
59485         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59486         function.
59487         (libc_fesetround_387): Likewise.
59488         (libc_fesetroundf): New macro.
59489         (libc_fesetround): Likewise.
59490         (libc_fesetroundl): Likewise.
59491         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59492         function.
59493         (libc_fesetroundf): New macro.
59494         (libc_fesetround): Likewise.
59495         (libc_fesetroundl): Likewise.
59496         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59497         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59498         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59499         libm_hidden_ver.
59500         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59501         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59502         libm_hidden_def.
59503         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59504         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59505         libm_hidden_ver.
59506         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59507         libm_hidden_def.
59509         [BZ #3439]
59510         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59511         integer constant usable in #if and use that to give value to enum
59512         constant.
59513         (FE_DIVBYZERO): Likewise.
59514         (FE_UNDERFLOW): Likewise.
59515         (FE_OVERFLOW): Likewise.
59516         (FE_INVALID): Likewise.
59517         (FE_INVALID_SNAN): Likewise.
59518         (FE_INVALID_ISI): Likewise.
59519         (FE_INVALID_IDI): Likewise.
59520         (FE_INVALID_ZDZ): Likewise.
59521         (FE_INVALID_IMZ): Likewise.
59522         (FE_INVALID_COMPARE): Likewise.
59523         (FE_INVALID_SOFTWARE): Likewise.
59524         (FE_INVALID_SQRT): Likewise.
59525         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59526         (FE_TONEAREST): Likewise.
59527         (FE_TOWARDZERO): Likewise.
59528         (FE_UPWARD): Likewise.
59529         (FE_DOWNWARD): Likewise.
59530         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59531         (FE_DIVBYZERO): Likewise.
59532         (FE_OVERFLOW): Likewise.
59533         (FE_UNDERFLOW): Likewise.
59534         (FE_INEXACT): Likewise.
59535         (FE_TONEAREST): Likewise.
59536         (FE_DOWNWARD): Likewise.
59537         (FE_UPWARD): Likewise.
59538         (FE_TOWARDZERO): Likewise.
59539         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59540         (FE_UNDERFLOW): Likewise.
59541         (FE_OVERFLOW): Likewise.
59542         (FE_DIVBYZERO): Likewise.
59543         (FE_INVALID): Likewise.
59544         (FE_TONEAREST): Likewise.
59545         (FE_TOWARDZERO): Likewise.
59546         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59547         (FE_OVERFLOW): Likewise.
59548         (FE_UNDERFLOW): Likewise.
59549         (FE_DIVBYZERO): Likewise.
59550         (FE_INEXACT): Likewise.
59551         (FE_TONEAREST): Likewise.
59552         (FE_TOWARDZERO): Likewise.
59553         (FE_UPWARD): Likewise.
59554         (FE_DOWNWARD): Likewise.
59555         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59556         (FE_DIVBYZERO): Likewise.
59557         (FE_OVERFLOW): Likewise.
59558         (FE_UNDERFLOW): Likewise.
59559         (FE_INEXACT): Likewise.
59560         (FE_TONEAREST): Likewise.
59561         (FE_DOWNWARD): Likewise.
59562         (FE_UPWARD): Likewise.
59563         (FE_TOWARDZERO): Likewise.
59565 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59567         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59569 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59571         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59572         commands.  Quote $PWD.
59573         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59574         -x" by "export".
59575         (remove_newlines): Remove.
59577 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59579         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59580         * stdlib/stdlib.h (atof): Moved to ...
59581         * include/bits/stdlib-float.h: Here.  New file.
59582         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59583         * stdlib/bits/stdlib-float.h: New file.
59584         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59585         -mno-sse -mno-mmx.
59586         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59587         <xmmintrin.h>.
59589 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59591         * conform/conformtest.pl (@headers): Add fenv.h.
59592         * conform/data/fenv.h-data: New file.
59593         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59594         include of <math/fenv.h>.
59596         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59597         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59598         && !UNIX98].  Enables tests for XOPEN2K8.
59599         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59600         POSIX2008]: Likewise.
59602         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59603         (struct rusage): Do not expect type or its members.
59605         [BZ #3439]
59606         * math/math.h (FP_NAN): Define macro to integer constant usable in
59607         #if and use that to give value to enum constant.
59608         (FP_INFINITE): Likewise.
59609         (FP_ZERO): Likewise.
59610         (FP_SUBNORMAL): Likewise.
59611         (FP_NORMAL): Likewise.
59613 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59615         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59616         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59617         arguments.
59619 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59621         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59622         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59623         autoconf-time if not.
59624         * configure.in: Remove AC_PREREQ.
59626 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59628         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59629         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59630         of the internal implementation.
59632 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59634         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59635         except include of <misc/sys/syslog.h>.
59637 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59640         function returns with a NULL context exit with zero.
59642 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59644         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59646 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59648         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59649         (run_program_cmd): This.
59650         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59651         (tst_langinfo): New variable.  Use it.
59653 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59655         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59656         floating point opcodes.
59658 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59660         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59661         variable.
59663         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59665         * sysdeps/mach/hurd/powerpc: Remove directory.
59666         * sysdeps/mach/powerpc: Likewise.
59668 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59670         * scripts/check-local-headers.sh: Ignore c++ headers.
59672 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59674         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59675         __libc_cleanup_region_start argument.
59677 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59679         [BZ #14784]
59680         [BZ #14785]
59681         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59682         x * y using scaling, not as x * y + z.
59683         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59684         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59685         * math/libm-test.inc (fma_test): Add more tests.
59686         (fma_test_towardzero): Likewise.
59687         (fma_test_downward): Likewise.
59688         (fma_test_upward): Likewise.
59690 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59692         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59694 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59696         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59697         New variable.
59699 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59701         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59703 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59706         Fix sort order.
59707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59708         Likewise.
59710 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59713         Fix the order of the list for glibc 2.17.
59714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59715         Likewise.
59717 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59721 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59723         [BZ #14610]
59724         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59725         for low part of x being zero before using __atanl (y).
59726         * math/libm-test.inc (atan2_test): Add another test.
59728         * manual/install.texi (Configuring and compiling): Document
59729         general use of test-wrapper and test-wrapper-env.
59730         * INSTALL: Regenerated.
59732         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59733         (__fma): Do not extract and scale down low bits on after-rounding
59734         systems when result rounded to normal precision would have normal
59735         exponent.
59736         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59737         (__fmal): Do not extract and scale down low bits on after-rounding
59738         systems when result rounded to normal precision would have normal
59739         exponent.
59740         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59741         (__fmal): Do not extract and scale down low bits on after-rounding
59742         systems when result rounded to normal precision would have normal
59743         exponent.
59744         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59745         macro.
59746         (fma_test): Add more tests.
59747         (fma_test_towardzero): Likewise.
59748         (fma_test_downward): Likewise.
59749         (fma_test_upward): Likewise.
59751 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59753         * sysdeps/i386/tininess.h: Renamed to ...
59754         * sysdeps/x86/tininess.h: This.
59755         * sysdeps/x86_64/tininess.h: Removed.
59757 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59759         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59760         input.  Use $(build-program-cmd).
59761         ($(objpfx)tst-array1-static.out): Likewise.
59762         ($(objpfx)tst-array2.out): Likewise.
59763         ($(objpfx)tst-array3.out): Likewise.
59764         ($(objpfx)tst-array4.out): Likewise.
59765         ($(objpfx)tst-array5.out): Likewise.
59766         ($(objpfx)tst-array5-static.out): Likewise.
59768 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59770         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59771         if defined.
59773         * nss/nsswitch.h (nss_interface_function): Provide new
59774         macro for use with NSS functions.
59775         * grp/initgroups.c: Use new macro.
59776         * nss/getXXbyYY.c: Likewise.
59777         * nss/getXXbyYY_r.c: Likewise.
59778         * nss/getXXent.c: Likewise.
59779         * nss/getXXent_r.c: Likewise.
59780         * sysdeps/posix/getaddrinfo.c: Likewise.
59782 2012-10-30  Andreas Jaeger  <aj@suse.de>
59784         * po/ru.po: Update Russion translation from translation project.
59786 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59788         [BZ #14152]
59789         [BZ #14783]
59790         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59791         result and shift together with sticky bit instead of replicating
59792         round-to-nearest rounding.
59793         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59794         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59795         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59796         missing underflow exceptions.
59797         (fma_test_towardzero): Add more tests.
59798         (fma_test_downward): Likewise.
59799         (fma_test_upward): Likewise.
59801         [BZ #14047]
59802         * sysdeps/generic/tininess.h: New file.
59803         * sysdeps/i386/tininess.h: Likewise.
59804         * sysdeps/sh/tininess.h: Likewise.
59805         * sysdeps/x86_64/tininess.h: Likewise.
59806         * stdlib/tst-strtod-underflow.c: Likewise.
59807         * stdlib/tst-tininess.c: Likewise.
59808         * stdlib/strtod_l.c: Include <tininess.h>.
59809         (round_and_return): Do not set errno for exact underflow cases.
59810         Force an underflow exception when setting errno for underflow.
59811         Determine underflow based on rounding to normal precision if
59812         TININESS_AFTER_ROUNDING.
59813         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59814         ERANGE for exact underflow cases.
59815         * stdlib/Makefile (tests): Add tst-tininess and
59816         tst-strtod-underflow.
59817         ($(objpfx)tst-tininess): Use $(link-libm).
59818         ($(objpfx)tst-strtod-underflow): Likewise.
59820 2012-10-30  Andreas Jaeger  <aj@suse.de>
59822         [BZ#14767]
59823         * elf/Makefile (tests): Remove conditional for have-initfini-array
59824         since this is now always required and the variable does not exist
59825         anymore.
59826         (tests-static): Likewise.
59827         (modules-names): Likewise.
59829         * po/eo.po: Add Esperanto translation from translation project.
59831         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59832         merged with constructor/destructor.
59833         (init_array): Likewise.
59834         * elf/tst-array2dep.c (fini_array): Likewise.
59835         (init_array): Likewise.
59837 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59839         * manual/message.texi: Delete @cartouche tags.
59841 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59843         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59844         EOPNOTSUPP.
59845         * sysdeps/mach/hurd/fsync.c: Likewise.
59847         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59848         [_POSIX_REALTIME_SIGNALS]: Change condition to
59849         [_POSIX_REALTIME_SIGNALS > 0].
59851 2012-10-27  Andreas Jaeger  <aj@suse.de>
59853         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59854         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59855         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59856         [__WORDSIZE != 64]: Likewise.
59858 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59860         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59861         *  iconvdata/tst-tables.sh: Likewise.
59863 2012-10-25  David S. Miller  <davem@davemloft.net>
59865         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59866         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59867         of strtoull.
59869         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59870         ifunc-impl-list.c
59871         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59872         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59873         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59874         file.
59876 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59878         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59879         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59880         __getdirentries.
59882 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59883             Jim Blandy  <jimb@codesourcery.com>
59885         * scripts/cross-test-ssh.sh: New file.
59886         * manual/install.texi (Configuring and compiling): Document use of
59887         cross-test-ssh.sh.
59888         * INSTALL: Regenerated.
59890 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59892         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59893         EOPNOTSUPP.
59895 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59897         * Makeconfig (run-program-prefix): Fix comment.
59899 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59900             Jim Blandy  <jimb@codesourcery.com>
59902         * Makeconfig (test-wrapper): New variable,
59903         (test-wrapper-env): Likewise.
59904         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59905         (run-built-tests): Define to yes.
59906         (run-program-prefix): Use $(test-wrapper).
59907         (built-program-cmd): Likewise.
59908         * Rules (make-test-out): Use $(test-wrapper-env) and
59909         $(host-built-program-cmd).
59910         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59911         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59912         tst-pathopt.sh.
59913         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59914         $(test-wrapper-env) to tst-rtld-load-self.sh.
59915         ($(objpfx)order2.out): Use $(test-wrapper).
59916         ($(objpfx)tst-initorder.out): Likewise.
59917         ($(objpfx)tst-initorder2.out): Likewise.
59918         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59919         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59920         (test_wrapper_env): New variable.  Use it to run ld.so.
59921         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59922         Use it to run ld.so.
59923         (test_wrapper_env): Likewise.
59924         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59925         $(test-wrapper) to run-iconv-test.sh.
59926         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59927         (ICONV): Use $test_wrapper.
59928         * posix/Makefile ($(objpfx)globtest.out): Pass
59929         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59930         globtest.sh, not $(run-program-prefix).
59931         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59932         (test_wrapper): Likewise.
59933         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59934         set together with run_via_rtld_prefix.
59935         (run_program_prefix): Define in terms of test_wrapper and
59936         run_via_rtld_prefix.
59938 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59940         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59941         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59942         Targets removed.
59944         [BZ #14743]
59945         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59946         Declare __clock_getres, __clock_gettime, __clock_settime,
59947         __clock_nanosleep, and __clock_getcpuclockid.
59948         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59949         Remove librt_hidden_def (clock_gettime).
59950         * sysdeps/unix/clock_gettime.c: Likewise.
59951         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59952         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59953         * rt/clock_getres.c: Define __clock_getres as an alias.
59954         * sysdeps/posix/clock_getres.c: Likewise.
59955         * rt/clock_settime.c: Define __clock_settime as an alias.
59956         * sysdeps/unix/clock_settime.c: Likewise.
59957         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59958         * sysdeps/unix/clock_nanosleep.c: Likewise.
59959         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59960         * rt/clock-compat.c: New file.
59961         * rt/Makefile (librt-routines): Add clock-compat and move
59962         $(clock-routines) to ...
59963         (routines): ... here, new variable.
59964         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59965         Don't add get_clockfreq here.
59966         * rt/Versions (libc: GLIBC_2.17): New version set.
59967         Add clock_* symbols here.
59968         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59969         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59970         (GLIBC_2.17): Add clock_* symbols.
59971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59973         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59975         Likewise.
59976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59977         Likewise.
59978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59982         * NEWS: Mention the move.
59984         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59985         Use __open, __read, __close rather than their public counterparts.
59986         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59987         (__get_clockfreq_via_cpuinfo): Likewise.
59988         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59989         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59991         * config.h.in (HAVE_IFUNC): New #undef.
59992         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59993         was successful.
59994         * configure: Regenerated.
59996 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59998         * configure.in: Move READELF check to start of file.
59999         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60000         libc_cv_asm_gnu_indirect_function in the process.
60001         * configure: Regenerated.
60003 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60005         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60006         send the output to /dev/null.
60007         (libc_cv_cc_with_libunwind): Likewise.
60008         (libc_cv_as_noexecstack): Likewise.
60009         * configure: Regenerate.
60011 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60013         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60015         * posix/globtest.sh (TMPDIR): Do not set.
60016         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60017         (testout): Likewise.
60019 2012-10-24  Andreas Jaeger  <aj@suse.de>
60021         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60022         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60023         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60024         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60025         posix_fadvise64, posix_fallocate64.
60027         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60028         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60029         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60030         Likewise.
60031         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60032         Likewise.
60033         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60035         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60036         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60037         <bits/fcntl-linux.h>.
60038         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60040         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60041         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60042         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60043         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60044         [__WORDSIZE != 64]: Likewise.
60046 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60048         * Makeconfig (run-built-tests): New variable.
60049         * Rules [$(cross-compiling) = yes]: Change condition to
60050         [$(run-built-tests) = no].
60051         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60052         to [$(run-built-tests) = yes].
60053         * elf/Makefile [$(cross-compiling) = no]: Likewise.
60054         * grp/Makefile [$(cross-compiling) = no]: Likewise.
60055         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60056         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60057         * intl/Makefile [$(cross-compiling) = no]: Likewise.
60058         * io/Makefile [$(cross-compiling) = no]: Likewise.
60059         * libio/Makefile [$(cross-compiling) = no]: Likewise.
60060         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60061         * misc/Makefile [$(cross-compiling) = no]: Likewise.
60062         * posix/Makefile [$(cross-compiling) = no]: Likewise.
60063         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60064         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60065         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60066         * string/Makefile [$(cross-compiling) = no]: Likewise.
60068         * posix/Makefile ($(objpfx)globtest.out): Pass
60069         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60070         $(rtld-installed-name).
60071         * posix/globtest.sh (elf_objpfx): Remove variable.
60072         (rtld_installed_name): Likewise.
60073         (library_path): Likewise.
60074         (run_program_prefix): New variable.  Use for running globtest
60075         binary.
60077 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
60078             Joseph Myers  <joseph@codesourcery.com>
60080         * Makeconfig (host-built-program-cmd): New variable.
60081         * elf/Makefile (tst-stackguard1-ARGS): Use
60082         $(host-built-program-cmd).
60083         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60084         (tst-spawn-ARGS): Likewise.
60085         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60087 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60088             Jim Blandy  <jimb@codesourcery.com>
60090         * Makeconfig (run-via-rtld-prefix): New variable.
60091         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60092         (built-program-cmd): Likewise.
60094 2012-10-22  Andreas Jaeger  <aj@suse.de>
60096         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60097         __O_RSYNC if it exists, otherwise to O_SYNC.
60099 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
60100             Joseph Myers  <joseph@codesourcery.com>
60102         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60103         /dev/null.
60104         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60105         from /dev/null
60106         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60107         /dev/null.
60109 2012-10-22  Andreas Jaeger  <aj@suse.de>
60111         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60112         Define always.
60113         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60115         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60116         bits/fcntl-linux.h.
60118         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60119         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60121         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60122         to __O_LARGEFILE.
60123         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60124         to __O_LARGEFILE.
60126 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
60127             Joseph Myers  <joseph@codesourcery.com>
60129         * config.make.in (NM): New variable.
60131 2012-10-21  Andreas Jaeger  <aj@suse.de>
60133         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60134         definitions and declarations that are provided by
60135         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60137 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60139         [BZ #14683]
60140         * elf/Makefile (tests-static): Add tst-leaks1-static.
60141         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60142         ($(objpfx)tst-leaks1-static): New rule.
60143         ($(objpfx)tst-leaks1-static-mem): Likewise.
60144         (tst-leaks1-static-ENV): New macro.
60145         * elf/dl-open.c (dl_open_worker): Check the main application
60146         only if SHARED is defined.
60147         * elf/tst-leaks1-static.c: New file.
60149 2012-10-20  Andreas Jaeger  <aj@suse.de>
60151         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60152         generic values for Linux.
60153         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60154         and declarations that are provided by <bits/fcntl-linux.h> and
60155         include <bits/fcntl-linux.h>.
60156         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60157         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60159 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60161         * io/fcntl.h: Move include of <bits/types.h> to the top and
60162         include it unconditionally.
60164 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60166         * wcsmbs/Makefile (tests-ifunc): New variable.
60167         (tests): Add $(tests-ifunc).
60168         * wcsmbs/test-wcschr-ifunc.c: New file.
60169         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60170         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60171         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60172         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60173         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60175         * string/Makefile (tests-ifunc): New variable.
60176         (tests): Add $(tests-ifunc).
60177         * string/test-memccpy.c (TEST_NAME): New macro.
60178         * string/test-memchr.c (TEST_NAME): Likewise.
60179         * string/test-memcmp.c (TEST_NAME): Likewise.
60180         * string/test-memcpy.c (TEST_NAME): Likewise.
60181         * string/test-memmem.c (TEST_NAME): Likewise.
60182         * string/test-memmove.c (TEST_NAME): Likewise.
60183         * string/test-memset.c (TEST_NAME): Likewise.
60184         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60185         * string/test-stpcpy.c (TEST_NAME): Likewise.
60186         * string/test-stpncpy.c (TEST_NAME): Likewise.
60187         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60188         * string/test-strcasestr.c (TEST_NAME): Likewise.
60189         * string/test-strcat.c (TEST_NAME): Likewise.
60190         * string/test-strchr.c (TEST_NAME): Likewise.
60191         * string/test-strcmp.c(TEST_NAME): Likewise.
60192         * string/test-strcpy.c (TEST_NAME): Likewise.
60193         * string/test-strcspn.c (TEST_NAME): Likewise.
60194         * string/test-strlen.c (TEST_NAME): Likewise.
60195         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60196         * string/test-strncmp.c (TEST_NAME): Likewise.
60197         * string/test-strncpy.c (TEST_NAME): Likewise.
60198         * string/test-strnlen.c (TEST_NAME): Likewise.
60199         * string/test-strpbrk.c (TEST_NAME): Likewise.
60200         * string/test-strrchr.c (TEST_NAME): Likewise.
60201         * string/test-strspn.c (TEST_NAME): Likewise.
60202         * string/test-strstr.c (TEST_NAME): Likewise.
60203         * string/test-bcopy-ifunc.c: New file.
60204         * string/test-bzero-ifunc.c: Likewise.
60205         * string/test-memccpy-ifunc.c: Likewise.
60206         * string/test-memchr-ifunc.c: Likewise.
60207         * string/test-memcmp-ifunc.c: Likewise.
60208         * string/test-memcpy-ifunc.c: Likewise.
60209         * string/test-memmem-ifunc.c: Likewise.
60210         * string/test-memmove-ifunc.c: Likewise.
60211         * string/test-mempcpy-ifunc.c: Likewise.
60212         * string/test-memset-ifunc.c: Likewise.
60213         * string/test-rawmemchr-ifunc.c: Likewise.
60214         * string/test-stpcpy-ifunc.c: Likewise.
60215         * string/test-stpncpy-ifunc.c: Likewise.
60216         * string/test-strcasecmp-ifunc.c: Likewise.
60217         * string/test-strcasestr-ifunc.c: Likewise.
60218         * string/test-strcat-ifunc.c: Likewise.
60219         * string/test-strchr-ifunc.c: Likewise.
60220         * string/test-strchrnul-ifunc.c: Likewise.
60221         * string/test-strcmp-ifunc.c: Likewise.
60222         * string/test-strcpy-ifunc.c: Likewise.
60223         * string/test-strcspn-ifunc.c: Likewise.
60224         * string/test-strlen-ifunc.c: Likewise.
60225         * string/test-strncasecmp-ifunc.c: Likewise.
60226         * string/test-strncat-ifunc.c: Likewise.
60227         * string/test-strncmp-ifunc.c: Likewise.
60228         * string/test-strncpy-ifunc.c: Likewise.
60229         * string/test-strnlen-ifunc.c: Likewise.
60230         * string/test-strpbrk-ifunc.c: Likewise.
60231         * string/test-strrchr-ifunc.c: Likewise.
60232         * string/test-strspn-ifunc.c: Likewise.
60233         * string/test-strstr-ifunc.c: Likewise.
60235         * debug/Makefile (tests-ifunc): New variable.
60236         (tests): Add $(tests-ifunc).
60237         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60238         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60239         * debug/test-stpcpy_chk-ifunc.c: New file.
60240         * debug/test-strcpy_chk-ifunc.c: Likewise.
60242 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60244         [BZ #13601]
60245         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60246         header is not read in.
60248 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60250         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60251         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60252         directly.  Pass built executable to script as
60253         $(built-program-cmd).
60254         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60255         $testprogram without using LD_LIBRARY_PATH and $ldso.
60257         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60258         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60259         $(rtld-installed-name).
60260         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60261         (rtld_installed_name): Likewise.
60262         (library_path): Likewise.
60263         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60264         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60265         $(run-program-prefix) to tst-tables.sh.
60266         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60267         it to run tst-table-from and tst-table-to.
60268         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60269         Pass it to tst-table.sh.
60270         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60271         $(run-program-prefix) to tst-gettext.sh.
60272         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60273         tst-translit.sh.
60274         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60275         tst-gettext2.sh.
60276         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60277         to run tst-gettext.
60278         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60279         to run tst-gettext2.
60280         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60281         to run tst-translit.
60282         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60283         $(run-program-prefix) to tst-mtrace.sh.
60284         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60285         to run tst-mtrace.
60286         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60287         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60288         $(rtld-installed-name).
60289         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60290         (rtld_installed_name): Likewise.
60291         (run_program_prefix): New variable.  Use it to run wordexp-test.
60293         * Makeconfig (ARCH): Remove all definitions.
60294         (machine): Likewise.
60295         [ARCH]: Remove conditional code.
60296         [!objdir]: Give error.
60297         [!objdir] (objpfx): Remove.
60298         [!objdir] (common-objpfx): Likewise.
60299         [!objdir] (common-objdir): Likewise.
60300         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60301         AC_CONFIG_FILES call.
60302         * configure: Regenerated.
60304         [BZ #13888]
60305         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60306         or TMPDIR.
60307         (testout): Likewise.
60309         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60310         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60311         $(rtld-installed-name).
60312         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60313         (rtld_installed_name): Likwise.
60314         (runit): Remove function.
60315         (run_getconf): New variable,  Use it for running getconf binary.
60317 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60319         [BZ #14716]
60320         * string/test-memmem.c (check_result): New function.
60321         (do_one_test): Use it.
60322         (check1): New function.
60323         (test_main): Use it.
60325 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60327         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60329 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60331         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60332         (_G_LSEEK64): Likewise.
60333         (_G_MMAP64): Likewise.
60334         (_G_FSTAT64): Likewise.
60335         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60336         (_G_LSEEK64): Likewise.
60337         (_G_MMAP64): Likewise.
60338         (_G_FSTAT64): Likewise.
60339         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60340         unconditional.  Call __mmap64 directly.
60341         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60342         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60343         __lseek64 directly.
60344         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60345         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60346         __mmap64 directly.
60347         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60348         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60349         __lseek64 directly.
60350         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60351         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60352         __lseek64 directly.
60353         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60354         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60355         __lseek64 directly.
60356         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60357         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60358         __fxstat64 directly.
60359         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60360         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60361         unconditional.
60362         (freopen64) [!_G_OPEN64]: Remove conditional code.
60363         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60364         unconditional.
60365         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60366         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60367         unconditional.
60368         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60369         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60370         unconditional.
60371         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60372         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60373         unconditional.
60374         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60375         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60376         unconditional.
60377         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60378         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60379         unconditional.
60380         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60381         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60382         unconditional.
60383         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60385 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60387         [BZ #12140]
60388         * manual/memory.texi (Malloc Tunable Parameters): Add note
60389         about free list pointers overwriting some perturb bytes.
60390         Wording suggested by Roland McGrath.
60392 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60394         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60395         (lgamma_test): Likewise.
60396         (tgamma_test): Likewise.
60398 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60400         [BZ #14700]
60401         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60402         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60404 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60406         * NEWS: Mention BZ #14716.
60407         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60408         when removing AVAILABLE1_USES_J macro.
60410 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60412         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60413         (__bswap_64): __uint64_t for unsigned 64-bit int.
60415 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60417         * include/string.h (memmem): Declare libc hidden alias.
60418         * string/memmem.c (memmem): Define libc hidden alias.
60419         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60420         __read, __close instead of open, read, close.
60422 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60424         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60425         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60426         global and hidden.
60427         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60428         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60429         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60430         Likewise.
60431         (__rawmemchr_sse2): Likewise.
60432         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60433         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60434         (__strchr_sse2): Likewise.
60435         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60436         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60437         (__strcasecmp_sse2): Likewise.
60438         (__strncasecmp_sse2): Likewise.
60439         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60440         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60441         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60442         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60443         (__strrchr_sse2): Likewise.
60444         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60445         ifunc-impl-list.c.
60446         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60447         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60448         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60449         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60450         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60451         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60452         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60453         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60454         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60455         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60456         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60457         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60458         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60459         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60460         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60461         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60462         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60463         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60464         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60465         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60466         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60467         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60468         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60469         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60470         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60471         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60472         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60473         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60474         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60475         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60477         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60478         global and hidden.
60479         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60480         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60481         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60482         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60483         Likewise.
60484         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60485         Likewise.
60486         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60487         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60488         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60489         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60490         ifunc-impl-list.c.
60491         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60492         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60493         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60494         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60495         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60496         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60497         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60498         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60499         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60500         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60501         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60502         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60503         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60504         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60505         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60506         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60507         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60508         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60509         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60510         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60511         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60512         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60513         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60514         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60515         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60516         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60517         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60518         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60519         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60520         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60521         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60522         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60523         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60524         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60525         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60526         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60527         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60528         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60529         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60530         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60531         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60533         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60534         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60535         * include/ifunc-impl-list.h: New file.
60536         * misc/ifunc-impl-list.c: Likewise.
60537         * misc/Makefile (routines): Add ifunc-impl-list.
60538         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60539         * string/test-string.h: Include <ifunc-impl-list.h>.
60540         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60541         TEST_NAME]: New variables.
60542         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60543         are defined.
60544         (test_init): Call __libc_ifunc_impl_list to initialize
60545         func_list if TEST_IFUNC and TEST_NAME are defined.
60547         * string/Makefile (strop-tests): Add bcopy and bzero.
60548         * string/test-bcopy.c: New file.
60549         * string/test-bzero.c: Likewise.
60550         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60551         defined.
60552         * string/test-memset.c: Support bzero test if TEST_BZERO is
60553         defined.
60554         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60555         __libc_memmove.
60556         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60557         __libc_memset.
60558         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60559         of memset.
60561 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60563         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60564         * configure: Regenerated.
60566         * Makeconfig (+link-static-before-libc): Don't include
60567         $(link-static-libc).
60569         * libio/libio.h (_IO_pos_t): Remove.
60571 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60573         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60574         McGrath.
60576 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60578         * crypt/crypt-entry.c: Include fips-private.h.
60579         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60580         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60581         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60582         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60584 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60586         * crypt/crypt-private.h: Include stdbool.h.
60587         (_ufc_setup_salt_r): Return bool.
60588         * crypt/crypt-entry.c: Include errno.h.
60589         (__crypt_r): Return NULL with EINVAL for bad salt.
60590         * crypt/crypt_util.c (bad_for_salt): New.
60591         (_ufc_setup_salt_r): Check that salt is long enough and within
60592         the specified alphabet.
60593         * crypt/badsalttest.c: New file.
60594         * crypt/Makefile (tests): Add it.
60595         ($(objpfx)badsalttest): New.
60597 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60599         * NEWS: Add entry for BZ #14602.
60601 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60603         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60604         type-generic.
60605         * math/libm-test.inc: Update comment listing what functions and
60606         macros are tested.
60607         (isgreater_test): New function.
60608         (isgreaterequal_test): Likewise.
60609         (isless_test): Likewise.
60610         (islessequal_test): Likewise.
60611         (islessgreater_test): Likewise.
60612         (isunordered_test): Likewise.
60613         (main): Call the new functions.
60615 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60617         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60618         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60619         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60620         * sysdeps/i386/configure: Regenerated.
60621         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60622         * sysdeps/mach/configure: Regenerated.
60623         * sysdeps/mach/hurd/configure: Regenerated.
60624         * sysdeps/powerpc/configure: Regenerated.
60625         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60626         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60627         * sysdeps/s390/s390-32/configure: Regenerated.
60628         * sysdeps/s390/s390-64/configure: Regenerated.
60629         * sysdeps/sh/configure: Regenerated.
60630         * sysdeps/sparc/configure: Regenerated.
60631         * sysdeps/unix/sysv/linux/configure: Regenerated.
60632         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60633         * sysdeps/x86_64/configure: Regenerated.
60635         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60636         defined.  Don't check if MAP is NULL.
60638 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60640         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60641         (_G_stat64): Likewise.
60642         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60643         (_G_stat64): Likewise.
60644         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60645         instead of struct _G_stat64.
60646         * libio/fileops.c (mmap_remap_check): Likewise.
60647         (decide_maybe_mmap): Likewise.
60648         (_IO_new_file_seekoff): Likewise.
60649         (_IO_file_stat): Likewise.
60650         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60651         _G_off64_t.
60652         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60653         instead of struct _G_stat64.
60654         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60656 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60658         [BZ #14602]
60659         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60660         Replace with ...
60661         (CHECK_EOL): New macro.
60662         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60663         CHECK_EOL.
60664         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60665         Replace with CHECK_EOL.
60666         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60667         Replace with CHECK_EOL.
60669 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60671         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60672         type-generic.
60673         * math/libm-test.inc: Update comment listing what functions and
60674         macros are tested.
60675         (finite_test): New function.
60676         (isinf_test): Likewise.
60677         (isnan_test): Likewise.
60678         (fpclassify_test): Test subnormal input.
60679         (isfinite_test): Likewise.
60680         (isnormal_test): Likewise.
60681         (main): Call the new functions.
60683 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60685         [BZ #14660]
60686         * Makerules (%.dynsym): Force C locale when running
60687         $(OBJDUMP) --dynamic-syms.
60689 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60691         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60692         <stdint.h>.
60694 2012-10-06  David S. Miller  <davem@davemloft.net>
60696         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60697         upper 32-bits of the length value in %o2 since we use branch-on-register
60698         tests which consider the entire 64-bit register.
60700 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60702         * string/test-strstr.c (check2): Add a test for page boundary.
60704 2012-10-05  David S. Miller  <davem@davemloft.net>
60706         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60707         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60708         file.
60709         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60710         sysdep_routines.
60711         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60712         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60713         and bzero when HWCAP_SPARC_CRYPTO is present.
60715 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60717         [BZ #14602]
60718         * string/test-strstr.c (check2): New function.
60719         (test_main): Call check2.
60721         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60722         and bug-strchr1.
60723         * string/bug-strcasestr1.c (do_test): Moved to ...
60724         * string/test-strcasestr.c (check1): Here.  New function.
60725         (do_one_test): Break out result checking code into ...
60726         (check_result): This.  New function.
60727         (do_one_test): Call check_result.
60728         (test_main): Call check1.
60729         * string/bug-strchr1.c (do_test): Moved to ...
60730         * string/test-strchr.c (check1): Here.  New function.
60731         (do_one_test): Break out result checking code into ...
60732         (check_result): This.  New function.
60733         (do_one_test): Call check_result.
60734         (test_main): Call check1.
60735         * string/bug-strstr1.c (main): Moved to ...
60736         * string/test-strstr.c (check1): Here.  New function.
60737         (do_one_test): Break out result checking code into ...
60738         (check_result): This.  New function.
60739         (do_one_test): Call check_result.
60740         (test_main): Call check1.
60741         * string/bug-strcasestr1.c: Removed.
60742         * string/bug-strchr1.c: Likewise.
60743         * string/bug-strstr1.c: Likewise.
60745         * elf/Makefile (dl-routines): Add hwcaps.
60746         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60747         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60748         (_dl_important_hwcaps): Moved to ...
60749         * elf/dl-hwcaps.c: Here.  New file.
60750         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60752         [BZ #14557]
60753         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60754         if IS_IN_rtld isn't defined.
60756         * elf/dl-support.c (_dl_sysinfo_map): New.
60757         Include "get-dynamic-info.h" and "setup-vdso.h".
60758         (_dl_non_dynamic_init): Call setup_vdso.
60759         * elf/dynamic-link.h: Don't include <assert.h>.
60760         (elf_get_dynamic_info): Moved to ...
60761         * elf/get-dynamic-info.h: Here.  New file.
60762         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60763         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60764         * elf/setup-vdso.h: Here.  New file.
60765         * elf/rtld.c: Include "setup-vdso.h".
60766         (dl_main): Call setup_vdso.
60768 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60770         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60771         creal in comment listing functions tested.  List finite, isinf,
60772         isnan, isless, islessequal, isgreater, isgreaterequal,
60773         islessgreater, isunordered, lgamma_r and pow10 as functions and
60774         macros not tested.  Mention which functions not tested are aliases
60775         for other functions.  Fix typo.  Note that signs of NaNs are not
60776         tested.
60778         * scripts/config.guess: Update from config.git.
60779         * scripts/config.sub: Likewise.
60781 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60783         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60784         * misc/madvise.c (madvise): Renamed to __madvise.
60785         Make madvise a weak alias.
60786         * include/sys/mman.h: Declare __madvise.
60787         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60788         * sysdeps/unix/syscalls.list
60789         (madvise): Make __madvise the strong name, and madvise a weak alias.
60790         * sysdeps/unix/sysv/linux/syscalls.list
60791         (madvise, mmap): Remove redundant entries.
60792         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60793         * malloc/malloc.c (mtrim): Likewise.
60794         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60796 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60798         * sysdeps/mach/hurd/dl-cache.c: File removed.
60799         * config.h.in (USE_LDCONFIG): New #undef.
60800         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60801         * configure: Regenerated.
60802         * elf/Makefile (dl-routines): Add dl-cache only under
60803         [$(use-ldconfig) = yes].
60804         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60805         cache on [USE_LDCONFIG].
60806         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60807         [USE_LDCONFIG].
60808         * elf/rtld.c (dl_main): Likewise.
60810 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60812         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60813         _SC_LEVEL4_CACHE_LINESIZE.
60815 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60817         * sysdeps/unix/bsd/confstr.h: File removed.
60819 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60821         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60822         sys/sdt-config.h.
60824 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60826         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60827         Make 'mapoff' field ElfW(Off) rather than off_t.
60829 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60831         * nscd/Makefile: Remove nscd-cflags and all its users.
60832         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60833         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60835         [BZ #10631]
60836         * malloc.c (malloc_printerr): Clarify error message.
60838 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60840         [BZ #14648]
60841         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60842         Set bit_FMA_Usable if FMA is supported.
60843         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60844         macro.
60845         (bit_FMA4_Usable): Updated.
60846         (index_FMA_Usable): New macro.
60847         (CPUID_FMA): Likewise.
60848         (HAS_FMA): Defined with bit_FMA_Usable.
60850 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60852         * bits/types.h (__swblk_t): Type removed.
60853         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60854         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60855         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60856         (__SWBLK_T_TYPE): Likewise.
60857         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60858         (__SWBLK_T_TYPE): Likewise.
60859         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60860         (__SWBLK_T_TYPE): Likewise.
60861         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60862         (__SWBLK_T_TYPE): Likewise.
60864 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60865             Honza Horak <hhorak@redhat.com>
60867         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60868         (xdr_mapname): Use YPMAXMAP as maxsize.
60869         (xdr_peername): Use YPMAXPEER as maxsize.
60870         (xdr_keydat): Use YPAXRECORD as maxsize.
60871         (xdr_valdat): Use YPMAXRECORD as maxsize.
60873 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60875         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60877         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60878         * csu/init-first.c: ... here.
60879         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60880         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60881         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60882         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60883         * sysdeps/i386/init-first.c: File removed.
60884         * sysdeps/sh/init-first.c: File removed.
60886 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60888         [BZ #14645]
60889         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60890         if x * y might underflow to zero and z is zero.
60891         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60892         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60893         * math/libm-test.inc (min_subnorm_value): New variable.
60894         (fma_test): Add more tests.
60895         (fma_test_towardzero): Likewise.
60896         (fma_test_downward): Likewise.
60897         (fma_test_upward): Likewise.
60898         (initialize): Set min_subnorm_value.
60900 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60902         [BZ #14638]
60903         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60904         0 + 0.
60905         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60906         mode for addition resulting in exact zero.
60907         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60908         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60909         exact 0 + 0.
60910         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60911         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60912         * math/libm-test.inc (fma_test): Add more tests.
60913         (fma_test_towardzero): New function.
60914         (fma_test_downward): Likewise.
60915         (fma_test_upward): Likewise.
60916         (main): Call the new functions.
60918 2012-09-28  David S. Miller  <davem@davemloft.net>
60920         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60922 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60924         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60925         instead of SIGALRM.
60927         * sysdeps/gnu/_G_config.h: Moved to ...
60928         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60929         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60930         * sysdeps/generic/_G_config.h: ... here.
60932         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60934         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60936         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60937         Conditionalize target on [libnss_test1.so-version].
60939         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60941         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60942         (elfobjdir): Move out of conditionals.
60944         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60945         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60946         (__nss_lookup_function): Conditionalize label remove_from_tree on
60947         [!DO_STATIC_NSS || SHARED], matching its only use.
60949 2012-09-28  David S. Miller  <davem@davemloft.net>
60951         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60952         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60953         file.
60954         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60955         sysdep_routines.
60956         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60957         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60958         when HWCAP_SPARC_CRYPTO is present.
60960 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60962         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60964 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60966         [BZ #6530]
60967         * stdio-common/vfprintf.c (process_string_arg): Revert
60968         2000-07-22 change.
60970 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60972         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60973         for testcase.
60974         * stdio-common/tst-sprintf.c: Include <locale.h>
60975         (main): Test sprintf's handling of incomplete multibyte
60976         characters.
60978 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60980         * elf/dl-runtime.c (VERSYMIDX): Removed.
60981         * elf/dl-version.c (VERSYMIDX): Likewise.
60982         * elf/do-rel.h (VERSYMIDX): Likewise.
60983         (VALIDX): Likewise.
60984         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60985         * elf/rtld.c (VALIDX): Likewise.
60986         (ADDRIDX): Likewise.
60987         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60988         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60989         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60990         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60991         (VALIDX): Likewise.
60992         (ADDRIDX): Likewise.
60994 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60996         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60998 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
61000         [BZ #11438]
61001         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61002         to global scope.
61003         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61004         addresses are in the same scope as 192.0.2/24.
61005         * posix/gai.conf: Document new scope table defaults.
61007 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61009         [BZ #5298]
61010         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61011         for ftell.  Compute offsets from write pointers instead.
61012         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61014 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61016         [BZ #14543]
61017         * libio/Makefile (tests): New test case tst-fseek.
61018         * libio/tst-fseek.c: New test case to verify that fseek/ftell
61019         combination works in wide mode.
61020         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61021         state when the external buffer state changes.
61023 2012-09-27  David S. Miller  <davem@davemloft.net>
61025         [BZ #14376]
61026         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61027         pass reloc->r_addend in as the 'high' argument to
61028         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61032 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61034         * rt/tst-aio2.c: Include <pthread.h>.
61035         * rt/tst-aio3.c: Likewise.
61037 2012-09-27  Steve Ellcey  <sellcey@mips.com>
61039         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61041 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
61043         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61044         contents on [SHARED].
61046 2012-09-26  Marek Polacek  <polacek@redhat.com>
61048         [BZ #14530]
61049         [BZ #13741]
61050         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61051         for C++ and GCC <4.3 as well as for non GCC compilers.
61053 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61055         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61057 2012-09-25  Roland McGrath  <roland@hack.frob.com>
61059         * Makefile.in (all, install): Declare with .PHONY.
61060         Reported by Michael Hope <michael.hope@linaro.org>.
61062 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61064         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61065         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61066         system header.
61067         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61068         Likewise.
61069         (sydep_routines): Add the new and the internal functions.
61070         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61071         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61073         (GLIBC_2.17): Add the new function.
61074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61075         (GLIBC_2.17): Likewise.
61076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61077         (GLIBC_2.17): Likewise.
61078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61079         (GLIBC_2.17): Likewise.
61080         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61082 2012-09-25  Alan Modra  <amodra@gmail.com>
61084         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61085         Add release barrier before setting once_control to say
61086         initialisation is done.  Add hints on lwarx.  Use macro in
61087         place of isync.
61088         (clear_once_control): Add release barrier.
61090 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61092         [BZ #13629]
61093         * math/s_clog.c (__clog): Handle more values close to |z| = 1
61094         specially.
61095         * math/s_clog10.c (__clog10): Likewise.
61096         * math/s_clog10f.c (__clog10f): Likewise.
61097         * math/s_clog10l.c (__clog10l): Likewise.
61098         * math/s_clogf.c (__clogf): Likewise.
61099         * math/s_clogl.c (__clogl): Likewise.
61100         * math/Makefile (libm-calls): Add x2y2m1.
61101         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61102         (__x2y2m1): Likewise.
61103         (__x2y2m1l): Likewise.
61104         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61105         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61106         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61107         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61108         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61109         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61110         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61111         * sysdeps/i386/fpu/libm-test-ulps: Update.
61112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61114         [BZ #14621]
61115         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61116         int as type of variable DEPTH.
61117         (glob): Use size_t instead of int as type of variables NEWCOUNT
61118         and OLD_PATHC.
61120 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61122         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61123         Add s_sincosf-sse2.
61124         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61125         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61126         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61127         macros for using routine as __sincosf_ia32.
61128         Use macro for function declaration and weak_alias.
61129         * sysdeps/i386/fpu/libm-test-ulps: Update.
61131         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61132         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61134         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61135         subnormal argument.
61136         * math/s_cexpf.c (__cexpf): Likewise.
61137         * math/s_csinf.c (__csinf): Likewise.
61138         * math/s_csinhf.c (__csinhf): Likewise.
61139         * math/s_ctanf.c (__ctanf): Likewise.
61140         * math/s_ctanhf.c (__ctanhf): Likewise.
61141         * math/s_ccosh.c (__ccoshf): Likewise.
61142         * math/s_cexp.c (__cexpl): Likewise.
61143         * math/s_csin.c (__csin): Likewise.
61144         * math/s_csinh.c (__csinh): Likewise.
61145         * math/s_ctan.c (__ctan): Likewise.
61146         * math/s_ctanh.c (ctanh): Likewise.
61147         * math/s_ccoshl.c (__ccoshl): Likewise.
61148         * math/s_cexpl.c (__cexpl): Likewise.
61149         * math/s_csinl.c (__csinl): Likewise.
61150         * math/s_csinhl.c (__csinhl): Likewise.
61151         * math/s_ctanl.c (__ctanl): Likewise.
61152         * math/s_ctanhl.c (__ctanhl): Likewise.
61154 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61156         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61157         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61158         (_IO_off_t): Define to __off_t, not _G_off_t.
61159         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61160         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61161         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61162         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61163         type of __dummy and __dummy2 fields.
61164         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61165         (_G_ssize_t): Likewise.
61166         (_G_off_t): Likewise.
61167         (_G_pid_t): Likewise.
61168         (_G_uid_t): Likewise.
61169         (_G_wchar_t): Likewise.
61170         (_G_wint_t): Likewise.
61171         * sysdeps/gnu/_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/mach/hurd/_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.
61186 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61188         * malloc/arena.c: Include malloc-sysdep.h.
61189         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61190         is sufficient to shrink the heap or an unmap is needed.
61191         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61192         new function check_may_shrink_heap.
61193         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61194         new function check_may_shrink_heap.
61196 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61198         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61199         comments.
61201 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61203         * catgets/test-gencat.sh: Add "set -e".
61204         * elf/tst-pathopt.sh: Likewise.
61205         * grp/tst_fgetgrent.sh: Likewise.
61206         * iconvdata/run-iconv-test.sh: Likewise.
61207         * intl/tst-gettext.sh: Likewise.
61208         * intl/tst-gettext2.sh: Likewise.
61209         * intl/tst-gettext4.sh: Likewise.
61210         * intl/tst-gettext6.sh: Likewise.
61211         * intl/tst-translit.sh: Likewise.
61212         * io/ftwtest-sh: Likewise.
61213         * libio/test-freopen.sh: Likewise.
61214         * malloc/tst-mtrace.sh: Likewise.
61215         * posix/globtest.sh: Likewise.
61216         * posix/tst-getconf.sh: Likewise.
61217         * posix/wordexp-tst.sh: Likewise.
61218         * stdio-common/tst-printf.sh: Likewise.
61219         * stdio-common/tst-unbputc.sh: Likewise.
61220         * stdlib/tst-fmtmsg.sh: Likewise.
61221         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61222         * catgets/Makefile: Do not specify -e option when running
61223         testsuite shell scripts.
61224         * elf/Makefile: Likewise.
61225         * grp/Makefile: Likewise.
61226         * iconvdata/Makefile: Likewise.
61227         * intl/Makefile: Likewise.
61228         * io/Makefile: Likewise.
61229         * libio/Makefile: Likewise.
61230         * malloc/Makefile: Likewise.
61231         * posix/Makefile: Likewise.
61232         * stdio-common/Makefile: Likewise.
61233         * stdlib/Makefile: Likewise.
61234         * sysdeps/x86_64/Makefile: Likewise.
61236         * io/ftwtest-sh: Add copyright header.
61237         * posix/globtest.sh: Likewise.
61238         * posix/tst-getconf.sh: Likewise.
61239         * posix/wordexp-tst.sh: Likewise.
61240         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61242 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61244         [BZ #13679]
61245         * Makeconfig (+link): Defined as $(+link-static) if
61246         $(build-shared) isn't yes.
61247         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61248         isn't yes.
61249         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61251         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61253         [BZ #14562]
61254         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61255         new chunk size with MALLOC_ALIGN_MASK.
61257 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61259         [BZ #5044]
61260         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61261         <rounding-mode.h>.
61262         (__printf_fphex): Determine rounding using get_rounding_mode and
61263         round_away.
61264         * stdio-common/tst-printf-round.c (struct hex_test): New
61265         structure.
61266         (hex_tests): New variable.
61267         (test_hex_in_one_mode): New function.
61268         (do_test): Also run tests for hex float output.
61270 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61272         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61273         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61274         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61275         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61276         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61277         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61278         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61279         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61281 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61283         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61284         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61285         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61286         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61288 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61290         [BZ #14579]
61291         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61292         mode only.
61293         * elf/tst-rtld-load-self.sh: New test.
61294         * elf/Makefile: Run it.
61296 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61298         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61299         (tst-writev-ENV): Remove.
61300         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61302 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61304         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61306 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61308         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61309         unconditional.
61310         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61311         Likewise.
61312         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61313         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61314         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61315         Likewise.
61317 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61319         [BZ #14587]
61320         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61321         * config.make.in (have-cpp-asm-debuginfo): Removed.
61322         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61323         * configure: Regenerated.
61325 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61327         [BZ #5044]
61328         * stdio-common/printf_fp.c: Include <stdbool.h> and
61329         <rounding-mode.h>.
61330         (___printf_fp): Determine rounding using get_rounding_mode and
61331         round_away.
61332         * stdio-common/tst-printf-round.c: New file.
61333         * stdio-common/Makefile (tests): Add tst-printf-round.
61334         (link-libm): New variable.
61335         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61337 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61339         [BZ #14576]
61340         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61341         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61342         Likewise.
61343         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61344         Likewise.
61346 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61348         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61349         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61350         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61351         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61353 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61355         [BZ #14518]
61356         * include/rounding-mode.h: New file.
61357         * sysdeps/generic/get-rounding-mode.h: Likewise.
61358         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61359         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61360         (MAX_VALUE): New macro.
61361         (MIN_VALUE): Likewise.
61362         (overflow_value): New function.
61363         (underflow_value): Likewise.
61364         (round_and_return): Use overflow_value and underflow_value to
61365         determine return values in overflow and underflow cases.  Use
61366         round_away to determine rounding depending on rounding mode.
61367         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61368         determine return values in overflow and underflow cases.
61369         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61370         (struct test_results): New structure.
61371         (struct test): Use struct test_results to store expected results
61372         for all rounding modes.
61373         (TEST): Include expected results for all rounding modes.
61374         (test_in_one_mode): New function.
61375         (do_test): Use test_in_one_mode to compute and check results.
61376         Check results for all rounding modes.
61377         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61378         $(link-libm).
61380 2012-12-09  Allan McRae  <allan@archlinux.org>
61382         * sysdeps/i386/fpu/libm-test-ulps: Update
61384 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61386         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61387         (_G_int32_t): Likewise.
61388         (_G_uint16_t): Likewise.
61389         (_G_uint32_t): Likewise.
61390         (_G_HAVE_BOOL): Likewise.
61391         (_G_HAVE_ATEXIT): Likewise.
61392         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61393         (_G_HAVE_IO_FILE_OPEN): Likewise.
61394         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61395         (_G_int32_t): Likewise.
61396         (_G_uint16_t): Likewise.
61397         (_G_uint32_t): Likewise.
61398         (_G_HAVE_BOOL): Likewise.
61399         (_G_HAVE_ATEXIT): Likewise.
61400         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61401         (_G_HAVE_IO_FILE_OPEN): Likewise.
61402         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61403         (_G_int32_t): Likewise.
61404         (_G_uint16_t): Likewise.
61405         (_G_uint32_t): Likewise.
61406         (_G_HAVE_BOOL): Likewise.
61407         (_G_HAVE_ATEXIT): Likewise.
61408         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61409         (_G_HAVE_IO_FILE_OPEN): Likewise.
61411 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61413         * csu/libc-tls.c: Update copyright years.
61415 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61417         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61418         [!_G_USING_THUNKS]: Remove conditional code.
61419         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61420         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61422         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61423         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61424         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61425         (_G_VTABLE_LABEL_PREFIX): Likewise.
61426         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61427         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61428         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61429         (_G_VTABLE_LABEL_PREFIX): Likewise.
61430         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61431         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61432         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61433         (_G_VTABLE_LABEL_PREFIX): Likewise.
61434         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61436 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61438         * libio/Makefile: Include ../Makeconfig before tests.
61439         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61440         only if $(build-shared) is yes.
61442         * iconv/gconv_db.c: Update copyright years.
61444 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61446         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61447         unwind info if defined PIC. Fix special cases description.
61448         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61450         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61451         DP_HI_MASK entry.
61452         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61454 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61456         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61458         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61459         is NULL.
61461         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61462         (LDLIBS-tst-chk4): This.
61463         (LDFLAGS-tst-chk5): Renamed to ...
61464         (LDLIBS-tst-chk5): This.
61465         (LDFLAGS-tst-chk6): Renamed to ...
61466         (LDLIBS-tst-chk6): This.
61467         (LDFLAGS-tst-lfschk4): Renamed to ...
61468         (LDLIBS-tst-lfschk4): This.
61469         (LDFLAGS-tst-lfschk5): Renamed to ...
61470         (LDLIBS-tst-lfschk5): This.
61471         (LDFLAGS-tst-lfschk6): Renamed to ...
61472         (LDLIBS-tst-lfschk6): This.
61474         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61475         on $(common-objpfx)soversions.mk.
61477 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61479         [BZ #10014]
61480         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61481         example host name.
61483 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61485         * malloc/arena.c (arena_get_retry): New function that gets
61486         another arena for the caller to try its request on.
61487         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61488         current arena cannot fulfill the request.
61489         (__libc_memalign): Likewise.
61490         (__libc_memalign): Likewise.
61491         (__libc_pvalloc): Likewise.
61492         (__libc_calloc): Likewise.
61494 2012-09-05  John Tobey  <john.tobey@gmail.com>
61496         [BZ #13542]
61497         * manual/arith.texi (Operations on Complex): Fix description
61498         of carg branch cut.
61500 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61502         [BZ #10014]
61503         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61504         host name.
61506         [BZ #10038]
61507         * manual/memory.texi (Memory): Make order of menu items match
61508         order of sections.
61510 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61512         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61513         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61514         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61516 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61518         * csu/libc-tls.c (static_dtv): Renamed to ...
61519         (_dl_static_dtv): This.  Make it global.
61520         (_dl_initial_dtv): Removed.
61521         (__libc_setup_tls): Updated.
61522         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61523         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61524         DL_INITIAL_DTV.
61526 2012-09-06  Petr Machata  <pmachata@redhat.com>
61528         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61529         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61530         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61531         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61533 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61535         [BZ #14545]
61536         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61537         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61538         freeing dtv[-1].
61540 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61542         [BZ #14544]
61543         * Makeconfig (link-static-before-libc): Replace $(+prector)
61544         with $(+prectorT).
61545         (link-static-after-libc): Replace $(+postctor) with
61546         $(+postctorT).
61547         (link-bounded): Replace $(+prector)/$(+postctor) with
61548         $(+prectorT)/$(+postctorT).
61549         (+prectorT): New macro.
61550         (+postctorT): Likewise.
61552 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61554         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61555         (round_str): Handle values above the maximum for IBM long double
61556         as inexact.
61557         * stdlib/tst-strtod-round.c (tests): Regenerated.
61559 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61561         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61562         assembler flag.
61563         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61564         zarch_nohighgprs around the zarch optimized routines.
61565         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61566         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61567         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61568         for zarch.
61570 2012-09-05  David S. Miller  <davem@davemloft.net>
61572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61574         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61575         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61576         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61577         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61578         entries.
61580 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61582         * malloc/arena.c: Fold copyright years.
61583         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61585 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61587         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61589 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61591         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61593 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61595         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61596         change internal state upon failure.
61598 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61600         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61601         * malloc/memusage.c (mmap): Likewise.
61602         (mmap64, mremap): Likewise.  Adjust name in comment.
61604 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61606         * libio/fileops.c: Fix typos in comments.
61607         * libio/oldfileops.c: Likewise.
61608         * libio/wfileops.c: Likewise.
61610 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61612         [BZ #1349]
61613         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61614         (tst-malloc-usable-ENV): Set environment for test case.
61615         * malloc/hooks.c (malloc_check_get_size): New function to get
61616         requested size.
61617         * malloc/malloc.c (musable): Use malloc_check_get_size.
61618         * malloc/tst-malloc-usable.c: New test case.
61620 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61622         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61624 2012-09-05  Allan McRae  <allan@archlinux.org>
61626         [BZ #13966]
61627         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61628         determine header location.
61629         * configure: Regenerated.
61631 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61633         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61634         float format.
61635         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61636         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61637         format.
61638         (test): Regenerate.
61640 2012-09-04  David S. Miller  <davem@davemloft.net>
61642         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61643         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61644         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61646 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61648         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61649         failures.
61651         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61653 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61655         [BZ #9914]
61656         * libio/iogetdelim.c: Include <limits.h>.
61657         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61658         + len + 1 would overflow.
61660 2012-09-03  Andreas Jaeger  <aj@suse.de>
61662         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61663         * sysdeps/i386/fpu/libm-test-ulps: Update.
61665 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61667         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61668         Add s_sinf-sse2, s_conf-sse2.
61670         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61671         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61672         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61673         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61675         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61676         for using routine as __sinf_ia32.
61677         Use macro for function declaration and weak_alias.
61678         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61679         for using routine as __cosf_ia32.
61680         Use macro for function declaration and weak_alias.
61682         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61683         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61685         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61686         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61689         * math/libm-test.inc (cos_test): Add more test cases.
61690         (sin_test): Likewise.
61691         (sincos_test): Likewise.
61693 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61695         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61696         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61697         hidden.
61698         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61700 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61702         [BZ #14538]
61703         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61704         first element of the GOT.
61705         (elf_machine_load_address): Return the difference between
61706         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61708 2012-09-01  Allan McRae  <allan@archlinux.org>
61710         [BZ #13412]
61711         * configure.in (AWK): Require gawk version 3.0 or later.
61712         * configure: Regenerated.
61714 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61716         * sysdeps/unix/sysv/linux/kernel-features.h
61717         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61718         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61719         [__NR_clock_getres]: Make code unconditional.
61720         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61721         (clock_getcpuclockid): Remove code left unreachable by removal of
61722         conditionals.
61723         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61724         code unconditional.
61725         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61726         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61727         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61728         Make code unconditional.
61729         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61730         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61731         * sysdeps/unix/sysv/linux/clock_settime.c
61732         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61733         conditional code.
61734         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61735         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61737 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61739         [BZ #14476]
61740         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61741         scripts/test-installation.pl.
61743         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61744         and $ld_so_version if it is set.
61746 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61748         [BZ #14516]
61749         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61750         failure if reading from procfs failed.
61751         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61753 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61755         * sysdeps/unix/sysv/linux/kernel-features.h
61756         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61757         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61758         Remove conditional code.
61759         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61760         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61761         Remove conditional code.
61762         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61763         * sysdeps/unix/sysv/linux/i386/fxstat.c
61764         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61765         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61766         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61767         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61768         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61769         * sysdeps/unix/sysv/linux/i386/lxstat.c
61770         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61771         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61772         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61773         Remove conditional code.
61774         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61775         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61776         Remove conditional code.
61777         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61778         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61779         <kernel-features.h>.
61780         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61781         Remove.
61782         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61783         Remove conditional code.
61784         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61785         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61786         Remove conditional.
61788 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61790         [BZ #5400]
61791         * NEWS: Add fixed bug number.
61793 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61795         [BZ #14519]
61796         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61797         underflowing exponent in case of negative sign.
61798         * stdlib/tst-strtod-round-data: Add more tests.
61799         * stdlib/tst-strtod-round.c (tests): Regenerated.
61801         [BZ #3479]
61802         * stdlib/strtod_l.c (NDIG): Remove.
61803         (HEXNDIG): Likewise.
61804         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61805         smallest representable value.
61806         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61807         lie within an exact representation of 1/2 ulp of the result.
61808         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61809         unconditionally.
61810         (TENS_P9_IDX): Define unconditionally.
61811         (TENS_P9_SIZE): Likewise.
61812         (TENS_P10_IDX): Likewise.
61813         (TENS_P10_SIZE): Likewise.
61814         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61815         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61816         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61817         entries for 10^2^13 and 10^2^14.
61818         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61819         (TENS_P13_IDX): Define.
61820         (TENS_P13_SIZE): Likewise.
61821         (TENS_P14_IDX): Likewise.
61822         (TENS_P14_SIZE): Likewise.
61823         (_fpioconst_pow10): Change array size to
61824         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61825         unconditional.
61826         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61827         1024]: Add entries for 10^2^13 and 10^2^14.
61828         [LAST_POW10 > _LAST_POW10]: Remove #error.
61829         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61830         (_fpioconst_pow10): Change array size to
61831         FPIOCONST_POW10_ARRAY_SIZE.
61832         * stdlib/gen-fpioconst.c: New file.
61833         * stdlib/gen-tst-strtod-round.c: Likewise.
61834         * stdlib/tst-strtod-round-data: Likewise.
61835         * stdlib/tst-strtod-round.c: Likewise.
61836         * stdlib/Makefile (tests): Add tst-strtod-round.
61838         [BZ #14459]
61839         * stdlib/strtod_l.c: Include <stdint.h>.
61840         (NDEBUG): Do not define.
61841         (round_and_return): Change EXPONENT parameter to type intmax_t.
61842         Rearrange calculations to avoid internal overflow possibilities.
61843         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61844         Rearrange calculations to avoid internal overflow possibilities.
61845         Assert that number fits inside MPNSIZE limbs.
61846         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61847         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61848         calculations and add assertions to avoid internal overflow
61849         possibilities.  Add casts to avoid signed/unsigned operations.
61850         * stdlib/tst-strtod-overflow.c: New file.
61851         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61853 2012-08-25  Marek Polacek  <polacek@redhat.com>
61855         * time/time.h: Fix some typos in comments.
61857 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61859         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61860         * posix/tst-rfc3484-2.c: Likewise.
61861         * posix/tst-rfc3484-3.c: Likewise.
61863 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61865         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61866         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61868 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61870         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61871         #include of fxstatat64.c.
61873 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61875         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61876         * shadow/getspent_r.c: Likewise.
61877         * shadow/getspnam.c: Likewise.
61878         * shadow/getspnam_r.c: Likewise.
61879         * gshadow/getsgent.c: Likewise.
61880         * gshadow/getsgent_r.c: Likewise.
61881         * gshadow/getsgnam.c: Likewise.
61882         * gshadow/getsgnam_r.c: Likewise.
61883         * inet/getnetbyad.c: Likewise.
61884         * inet/getnetbyad_r.c: Likewise.
61885         * inet/getnetbynm.c: Likewise.
61886         * inet/getnetbynm_r.c: Likewise.
61887         * inet/getnetent.c: Likewise.
61888         * inet/getnetent_r.c: Likewise.
61889         * inet/getproto.c: Likewise.
61890         * inet/getproto_r.c: Likewise.
61891         * inet/getprtent.c: Likewise.
61892         * inet/getprtent_r.c: Likewise.
61893         * inet/getprtname.c: Likewise.
61894         * inet/getprtname_r.c: Likewise.
61895         * inet/getrpcbyname.c: Likewise.
61896         * inet/getrpcbyname_r.c: Likewise.
61897         * inet/getrpcbynumber.c: Likewise.
61898         * inet/getrpcbynumber_r.c: Likewise.
61899         * inet/getrpcent.c: Likewise.
61900         * inet/getrpcent_r.c: Likewise.
61901         * inet/getaliasent.c: Likewise.
61902         * inet/getaliasent_r.c: Likewise.
61903         * inet/getaliasname.c: Likewise.
61904         * inet/getaliasname_r.c: Likewise.
61905         * nscd/getgrgid_r.c: Likewise.
61906         * nscd/getgrnam_r.c: Likewise.
61907         * nscd/gethstbyad_r.c: Likewise.
61908         * nscd/gethstbynm3_r.c: Likewise.
61909         * nscd/getpwnam_r.c: Likewise.
61910         * nscd/getpwuid_r.c: Likewise.
61911         * nscd/getsrvbynm_r.c: Likewise.
61912         * nscd/getsrvbypt_r.c: Likewise.
61913         * nscd/gai.c: Likewise.
61915         * configure.in (build_nscd): New substituted variable, set
61916         by --disable-build-nscd and defaults to $use_nscd.
61917         * configure: Regenerated.
61918         * config.make.in (build-nscd): New substituted variable.
61919         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61920         Change conditional to require [$(build-nscd) = yes] as well.
61921         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61923         [BZ# 13696]
61924         * configure.in (use_nscd): New substituted variable, set by
61925         --disable-nscd.  If enabled, define USE_NSCD.
61926         * configure: Regenerated.
61927         * config.h.in: Add USE_NSCD.
61928         * config.make.in (use-nscd): New substituted variable.
61929         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61930         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61931         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61932         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61933         (CFLAGS-getgrnam_r.c): Likewise.
61934         (CFLAGS-initgroups.c): Likewise.
61935         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61936         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61937         Variables removed.
61938         * inet/getnetgrent_r.c
61939         (nscd_setnetgrent): New function, broken out of ...
61940         (setnetgrent): ... here.  Call it.
61941         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61942         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61943         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61944         * nscd/Makefile (routines, aux): Move definitions after include of
61945         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61946         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61947         Conditionalize on [USE_NSCD].
61948         (is_nscd, nscd_init_cb): Likewise.
61949         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61950         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61951         * nss/nss_db/db-init.c: Likewise.
61952         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61953         [USE_NSCD].
61954         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61955         (make_request): Use it.
61956         (cache_valid_p): New function.
61957         (__check_pf): Use it.
61958         * NEWS: Add item for --disable-nscd.
61960 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61962         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61963         to support sed >= 4.2.1-20-ga9bf076.
61964         * configure: Regenerated.
61966 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61968         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61969         Conditionalize whole body on [IREL].
61971 2012-08-22  Jeff Law <law@redhat.com>
61973         [BZ #14505]
61974         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61975         if the family is PF_UNSPEC.
61977 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61979         * Makerules (lib-version): Rename from V.
61980         (install-lib-nosubdir): Change V to lib-version.
61982 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61984         [BZ #14252]
61985         * powerpc32/power6/wcschr.c: New file.
61986         * powerpc32/power6/wcscpy.c: New file.
61987         * powerpc32/power6/wcsrchr.c: New file.
61988         * powerpc64/power6/wcschr.c: New file.
61989         * powerpc64/power6/wcscpy.c: New file.
61990         * powerpc64/power6/wcsrchr.c: New file.
61992 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61994         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61995         (two_way_short_needle): Use it.
61996         * string/strstr.c (AVAILABLE1_USES_J): Define.
61997         * string/strcasestr.c: Likewise.
61999         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62000         array references.
62001         * string/strcasestr.c (TOLOWER): Make side-effect safe.
62003         [BZ #11607]
62004         * NEWS: Add an entry.
62005         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62006         define their defaults.
62007         (two_way_short_needle): Detect end-of-string on-the-fly.
62008         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62009         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62010         * string/bug-strcasestr1.c: New test.
62011         * string/Makefile: Run it.
62013 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62015         [BZ #11607]
62016         * string/str-two-way.h (two_way_short_needle): Optimize matching of
62017         the first character.
62019 2012-08-21  Roland McGrath  <roland@hack.frob.com>
62021         * csu/elf-init.c (__libc_csu_irel): Function removed.
62022         * csu/libc-start.c (apply_irel): New function.
62023         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62025 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
62027         * sysdeps/unix/sysv/linux/kernel-features.h
62028         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62029         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62030         <kernel-features.h>.
62031         [__NR_fadvise64_64]: Make code unconditional.
62032         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62033         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62034         !__NR_fadvise64_64)]: Likewise.
62035         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62036         !__NR_fadvise64_64))]: Likewise.
62037         [__NR_fadvise64]: Make code unconditional.
62038         [!__NR_fadvise64]: Remove conditional code.
62039         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62040         <kernel-features.h>.
62041         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62042         unconditional.
62043         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62044         conditional code.
62045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
62046         not include <kernel-features.h>.
62047         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62048         unconditional.
62049         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62050         conditional code.
62051         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
62052         include <kernel-features.h>.
62053         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62054         unconditional.
62055         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62056         conditional code.
62058 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62060         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62061         slight instruction rearrangements per scrollpipe analysis.
62062         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62064 2012-08-20  Roland McGrath  <roland@hack.frob.com>
62066         * manual/syslog.texi (syslog; vsyslog, closelog):
62067         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62068         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62070         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62071         DSOCAPS to match condition on defining it.
62073 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
62075         * sysdeps/unix/sysv/linux/kernel-features.h
62076         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62078         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62079         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62081         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62082         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62084         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62085         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62087         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62088         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62090         * sysdeps/unix/sysv/linux/kernel-features.h
62091         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62092         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62093         unconditional.
62094         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62095         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62096         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62097         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62098         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62099         Make code unconditional.
62100         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62101         (__mmap64) [!__NR_mmap2]: Likewise.
62102         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62103         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62104         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62105         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62106         [__NR_mmap2]: Make code unconditional.
62107         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62108         (__mmap64) [!__NR_mmap2]: Likewise.
62110 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62112         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62114 2012-08-18  Andreas Jaeger  <aj@suse.de>
62116         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62118 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62120         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62121         * include/unistd.h (__have_sock_cloexec): Likewise.
62122         (__have_pipe2): Likewise.
62123         (__have_dup3): Likewise.
62125 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62127         [BZ #9685]
62128         * include/unistd.h (__have_pipe2): Change define into an extern int.
62129         (__have_dup3): Likewise.
62130         * socket/have_sock_cloexec.c: Include fcntl.h.
62131         (__have_pipe2): New variable.
62132         (__have_dup3): Likewise.
62134 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
62136         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62138 2012-08-17  Marek Polacek  <polacek@redhat.com>
62140         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62141         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62143 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62145         * configure.in: Add AC_SUBST for sysheaders.
62146         * configure: Regenerated.
62147         * config.make.in (sysheaders): New substituted variable.
62149         * sysdeps/unix/mkfifo.c: Moved ...
62150         * sysdeps/posix/mkfifo.c: ... here.
62151         * sysdeps/unix/mkfifoat.c: Moved ...
62152         * sysdeps/posix/mkfifoat.c: ... here.
62154         * sysdeps/unix/utime.c: Moved ...
62155         * sysdeps/posix/utime.c: ... here.
62157         * sysdeps/unix/time.c: Moved ...
62158         * sysdeps/posix/time.c: ... here.
62159         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62160         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62162         * sysdeps/unix/nice.c: Moved ...
62163         * sysdeps/posix/nice.c: ... here.
62165         * sysdeps/unix/alarm.c: Moved ...
62166         * sysdeps/posix/alarm.c: ... here.
62168         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62170 2012-08-17  Jeff Law <law@redhat.com>
62172         * intl/Makefile (codeset_mo): New variable.
62173         ($(codeset_mo)): New target.
62174         (tst-codeset.out): Depend on that.  Remove explicit rule.
62175         (tst-gettext3.out, tst-gettext5.out): Likewise.
62176         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62177         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62178         * intl/tst-codeset.sh: Remove.
62179         * intl/tst-gettext3.sh: Likewise.
62180         * intl/tst-gettext5.sh: Likewise.
62182 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62184         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62185         * sysdeps/unix/syscalls.list: ... here.
62187         * sysdeps/posix/getaddrinfo.c
62188         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62189         (gaiconf_init, gaiconf_reload): Use them.
62190         [!_STATBUF_ST_NSEC]
62191         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62192         Define using time_t rather than struct timespec.
62194         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62195         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62196         Macros removed.
62197         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62198         [!NO_THREADS].
62199         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62200         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62201         Likewise.
62203         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62204         __libc_cleanup_push argument.
62206         * bits/param.h: New file.
62207         * misc/sys/param.h: New file.
62208         * include/sys/param.h: New file.
62209         * misc/Makefile (headers): Add bits/param.h.
62210         * sysdeps/generic/sys/param.h: File removed.
62211         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62212         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62213         * sysdeps/mach/hurd/bits/param.h: New file.
62214         * sysdeps/mach/hurd/sys/param.h: File removed.
62216         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62217         last change.
62219         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62220         [_IO_MTSAFE_IO].
62221         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62222         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62223         New macros.
62225         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62226         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62227         rather than -D_IO_MTSAFE_IO conditionally.
62228         * stdio-common/Makefile (CPPFLAGS): Likewise.
62229         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62230         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62231         Use $(libio-mtsafe).
62232         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62233         of -D_IO_MTSAFE_IO.
62234         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62235         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62236         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62237         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62238         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62239         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62240         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62241         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62242         (CFLAGS-fread_u_chk.c): Likewise.
62243         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62244         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62245         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62246         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62247         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62248         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62249         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62250         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62251         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62253         * libio/Makefile: Test [$(libc-reentrant) = yes]
62254         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62256         * Makeconfig
62257         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62258         * sysdeps/pthread/configure: File removed.
62259         * sysdeps/pthread/Makeconfig: New file.
62260         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62261         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62263 2012-08-16  Gary Benson  <gbenson@redhat.com>
62265         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62266         unmapping the first object in a namespace.
62268 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62270         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62271         (__internal_setnetgrent): ... this.  Add internal_function to
62272         definition.  Add libc_hidden_def.
62273         (setnetgrent): Update caller.
62274         (internal_endnetgrent): Renamed to ...
62275         (__internal_endnetgrent): ... this.  Add internal_function to
62276         definition.  Add libc_hidden_def.
62277         (endnetgrent): Update caller.
62278         (internal_getnetgrent_r): Renamed to ...
62279         (__internal_getnetgrent_r): ... this.  Add internal_function to
62280         definition.  Add libc_hidden_def.
62281         (__getnetgrent_r): Update caller.
62282         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62284 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62286         * stdlib/longlong.h: Update from GCC.
62288 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62290         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62291         on _QL, which is set by umul_ppmm but never used.
62292         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62293         variables, which are set by GMP macros but never used.
62294         * stdio-common/_itowa.c (_itowa): Likewise.
62295         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62296         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62298 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62300         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62301         struct La_sh_regs is not constant.
62302         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62303         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62304         and struct La_sparc64_regs are not constant.
62306 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62308         * sysdeps/unix/sysv/linux/kernel-features.h
62309         (__ASSUME_POSIX_TIMERS): Remove.
62310         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62311         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62312         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62313         Make code unconditional.
62314         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62315         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62316         Make code unconditional.
62317         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62318         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62319         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62320         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62321         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62322         Make code unconditional.
62323         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62324         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62325         (__libc_missing_posix_timers): Remove.
62327 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62329         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62330         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62332         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62334         * elf/dl-sym.c: Include <stdlib.h>.
62336         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62337         constants, which avoids warnings in 32-bit builds.
62339         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62340         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62342         * misc/lseek.c: File moved to ...
62343         * io/lseek.c: ... here.
62345         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62347         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62348         shifting LEN more than 31 bits at once.
62350 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62352         [BZ #14195]
62353         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62354         segmentation fault for a case of two empty input strings.
62355         * string/test-strncasecmp.c (check1): Renamed to...
62356         (bz12205): ...this.
62357         (bz14195): Add new testcase for two empty input strings and N > 0.
62358         (test_main): Call new testcase, adapt for renamed function.
62360 2012-08-15  Andreas Jaeger  <aj@suse.de>
62362         [BZ #14090]
62363         * crypt/md5test2.c: New test, based on test supplied by Serge
62364         Belyshev <belyshev@depni.sinp.msu.ru>.
62365         * crypt/Makefile (xtests): Add md5test-giant..
62366         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62368 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62370         [BZ #14090]
62371         * crypt/md5.c (md5_process_block): Don't assume the buffer
62372         length is less than 2**32.
62373         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62374         length is less than 2**64.
62376 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62378         * string/str-two-way.h: Include <sys/param.h>.
62379         (MAX): Macro removed.
62381         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62382         Move #define and #undef of memmove to just before and after
62383         including <string.h>.
62385         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62386         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62387         and after including <string.h>.  Move declarations of
62388         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62389         to before #include "string/memmove.c".
62391         * include/dirent.h: Declare __getdirentries.
62393         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62394         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62396 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62398         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62399         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62400         * sysdeps/i386/configure: Regenerated.
62401         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62402         STABS_CURRENT_FILE, and STABS_FUN.
62403         (END): Remove call to STABS_FUN_END.
62404         (STABS_CURRENT_FILE1): Delete.
62405         (STABS_CURRENT_FILE): Likewise.
62406         (STABS_FUN): Likewise.
62407         (STABS_FUN_END): Likewise.
62408         (STABS_FUN2): Likewise.
62409         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62410         * sysdeps/x86_64/configure: Regenerated.
62412 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62414         * elf/dl-open.c: Include <atomic.h>.
62415         * elf/dl-lookup.c: Likewise.
62417 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62419         * sysdeps/unix/sysv/linux/kernel-features.h
62420         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62421         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62422         unconditionally.
62423         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62424         unconditionally.
62425         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62426         condition on __ASSUME_CLONE_THREAD_FLAGS.
62428 2012-08-14  Andreas Jaeger  <aj@suse.de>
62430         * sysdeps/i386/fpu/libm-test-ulps: Update.
62432 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62434         * include/atomic.h (atomic_exchange_and_add): Split into ...
62435         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62436         New atomic macros.
62438 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62442 2012-08-13  Jeff Law <law@redhat.com>
62444         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62445         null byte in the output string.
62447 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62449         * sysdeps/unix/sysv/linux/kernel-features.h
62450         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62451         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62452         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62453         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62454         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62455         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62456         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62458 2012-08-09  Jeff Law <law@redhat.com>
62460         [BZ #13939]
62461         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62462         When avoid_arena is set, don't retry in the that arena.  Pick the
62463         next one, whatever it might be.
62464         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62465         (arena_lock): Pass in new parameter to arena_get2.
62466         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62467         arena_get2.
62468         (__libc_malloc): Unify retrying after main arena failure with
62469         __libc_memalign version.
62470         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62472 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62474         [BZ #14166]
62475         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62476         to __redirect_strstr.
62477         (__strstr_sse42): Use typeof __redirect_strstr.
62478         (__strstr_ia32): Likewise.
62479         (__libc_strstr): New prototype.
62480         (strstr): Renamed to ...
62481         (__libc_strstr): This.
62482         (strstr): New strong alias of __libc_strstr.
62483         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62484         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62485         __redirect_time.
62486         Include <time.h>.
62487         (__libc_time): New prototype.
62488         (time_ifunc): Replace time with __libc_time.
62489         (time): New strong alias and hidden definition of __libc_time.
62490         (__GI_time): Remove strong alias.
62491         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62492         Include <stddef.h>.
62493         (memmove): Redefined to __redirect_memmove.
62494         (__memmove_sse2): Use typeof __redirect_memmove.
62495         (__memmove_ssse3): Likewise.
62496         (__memmove_ssse3_back): Likewise.
62497         (__libc_memmove): New prototype.
62498         (memmove): Renamed to ...
62499         (__libc_memmove): This.
62500         (memmove): New strong alias of __libc_memmove.
62502 2012-08-08  Mark Salter  <msalter@redhat.com>
62504         * elf/elf.h
62505         (R_MN10300_TLS_GD): Define.
62506         (R_MN10300_TLS_LD): Likewise.
62507         (R_MN10300_TLS_LDO): Likewise.
62508         (R_MN10300_TLS_GOTIE): Likewise.
62509         (R_MN10300_TLS_IE): Likewise.
62510         (R_MN10300_TLS_LE): Likewise.
62511         (R_MN10300_TLS_DTPMOD): Likewise.
62512         (R_MN10300_TLS_DTPOFF): Likewise.
62513         (R_MN10300_TLS_TPOFF): Likewise.
62514         (R_MN10300_SYM_DIFF): Likewise.
62515         (R_MN10300_ALIGN): Likewise.
62516         (R_MN10300_NUM): Update.
62518 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62520         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62521         Remove.
62523 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62525         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62527         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62528         sysdeps/unix -> sysdeps/posix move.
62529         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62531 2012-08-07      Allan McRae     <allan@archlinux.org>
62533         [BZ #14303]
62534         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62535         (SUNOS_CPP): Likewise.
62536         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62537         not found.
62538         (open_input): Call CPP using execvp.
62540 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62542         * sysdeps/unix/sysv/linux/kernel-features.h
62543         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62544         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62545         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62546         (__ASSUME_WAITID_SYSCALL): Likewise.
62547         * sysdeps/unix/sysv/linux/dl-execstack.c
62548         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62549         code unconditional.
62550         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62551         conditional code.
62552         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62553         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62554         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62555         code.
62556         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62557         unconditional.
62558         [__ASSUME_WAITID_SYSCALL]: Likewise.
62559         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62561 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62563         * sysdeps/unix/closedir.c: Renamed to ...
62564         * sysdeps/posix/closedir.c: ... here.
62565         * sysdeps/unix/dirfd.c: Renamed to ...
62566         * sysdeps/posix/dirfd.c: ... here.
62567         * sysdeps/unix/dirstream.h: Renamed to ...
62568         * sysdeps/posix/dirstream.h: ... here.
62569         * sysdeps/unix/fdopendir.c: Renamed to ...
62570         * sysdeps/posix/fdopendir.c: ... here.
62571         * sysdeps/unix/opendir.c: Renamed to ...
62572         * sysdeps/posix/opendir.c: ... here.
62573         * sysdeps/unix/readdir.c: Renamed to ...
62574         * sysdeps/posix/readdir.c: ... here.
62575         * sysdeps/unix/readdir_r.c: Renamed to ...
62576         * sysdeps/posix/readdir_r.c: ... here.
62577         * sysdeps/unix/rewinddir.c: Renamed to ...
62578         * sysdeps/posix/rewinddir.c: ... here.
62579         * sysdeps/unix/seekdir.c: Renamed to ...
62580         * sysdeps/posix/seekdir.c: ... here.
62581         * sysdeps/unix/telldir.c: Renamed to ...
62582         * sysdeps/posix/telldir.c: ... here.
62583         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62584         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62585         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62586         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62588         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62589         * bits/fcntl.h: ... here.
62591         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62592         not 0.
62593         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62594         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62595         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62596         (struct flock): Move l_start, l_len to the beginning.
62597         Use __pid_t for l_pid.
62598         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62599         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62600         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62601         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62602         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62603         [__USE_LARGEFILE64] (struct flock64): New type.
62604         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62606         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62607         * bits/dirent.h: ... here.
62609         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62610         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62612 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62614         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62615         Change from 2.6.0 to 2.6.16.
62616         * sysdeps/unix/sysv/linux/configure: Regenerated.
62617         * sysdeps/unix/sysv/linux/kernel-features.h
62618         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62619         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62620         version.
62621         (__ASSUME_UTIMES): Likewise.
62622         (__ASSUME_CLONE_STOPPED): Remove.
62623         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62624         architectures, not kernel version.
62625         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62626         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62627         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62628         (__ASSUME_WAITID_SYSCALL): Likewise.
62629         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62630         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62631         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62632         refer to older versions.
62634 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62636         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62637         Define alphasort64 as an alias.
62638         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62639         Define versionsort64 as an alias.
62640         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62641         Define scandir64 as an alias.
62642         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62643         Define scandirat64 as an alias.
62644         * dirent/alphasort64.c (alphasort64):
62645         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62646         * dirent/versionsort64.c: Likewise.
62647         * dirent/scandir64.c: Likewise.
62648         * dirent/scandirat64.c: Likewise.
62649         * sysdeps/wordsize-64/alphasort.c: File removed.
62650         * sysdeps/wordsize-64/alphasort64.c: File removed.
62651         * sysdeps/wordsize-64/scandir.c: File removed.
62652         * sysdeps/wordsize-64/scandir64.c: File removed.
62653         * sysdeps/wordsize-64/scandirat.c: File removed.
62654         * sysdeps/wordsize-64/scandirat64.c: File removed.
62655         * sysdeps/wordsize-64/versionsort.c: File removed.
62656         * sysdeps/wordsize-64/versionsort64.c: File removed.
62657         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62658         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62659         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62660         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62661         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62662         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62663         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62664         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62666         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62667         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62668         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62669         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62670         [defined __arch64__ || defined __sparcv9]
62671         (__INO_T_MATCHES_INO64_T): New macro.
62672         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62673         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62674         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62675         * sysdeps/unix/sysv/linux/bits/dirent.h
62676         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62677         (_DIRENT_MATCHES_DIRENT64): New macro.
62679         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62680         Define lockf64 as an alias.
62681         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62682         Define fseeko64 as an alias.
62683         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62684         Define ftello64 as an alias.
62685         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62686         Define _IO_fgetpos64 and fgetpos64 as aliases.
62687         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62688         Define _IO_fsetpos64 and fsetpos64 as aliases.
62689         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62690         Conditionalize body on this.
62691         * libio/fseeko64.c: Likewise.
62692         * libio/ftello64.c: Likewise.
62693         * libio/iofgetpos64.c: Likewise.
62694         * libio/iofsetpos64.c: Likewise.
62695         * sysdeps/wordsize-64/lockf.c: File removed.
62696         * sysdeps/wordsize-64/lockf64.c: File removed.
62697         * sysdeps/wordsize-64/fseeko.c: File removed.
62698         * sysdeps/wordsize-64/fseeko64.c: File removed.
62699         * sysdeps/wordsize-64/ftello.c: File removed.
62700         * sysdeps/wordsize-64/ftello64.c: File removed.
62701         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62702         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62703         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62704         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62705         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62706         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62707         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62708         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62709         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62710         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62711         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62712         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62713         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62714         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62716         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62717         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62718         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62719         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62720         [defined __arch64__ || defined __sparcv9]
62721         (__OFF_T_MATCHES_OFF64_T): New macro.
62722         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62723         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62724         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62725         (__OFF_T_MATCHES_OFF64_T): New macro.
62727 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62729         * stdlib/secure-getenv.c (__secure_getenv): Replace
62730         GLIBC_2_16 with GLIBC_2_17.
62732 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62734         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62735         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62737 2012-08-03  David S. Miller  <davem@davemloft.net>
62739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62741 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62743         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62744         Remove.
62745         (__ASSUME_CORRECT_SI_PID): Likewise.
62746         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62747         (__ASSUME_TMPFS_NAME): Likewise.
62748         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62749         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62750         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62751         (HAVE_AUX_SECURE): Make definition unconditional.
62752         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62753         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62755 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62757         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62758         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62759         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62760         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62761         __eloop_threshold instead of SYMLOOP_MAX.
62763         * sysdeps/generic/eloop-threshold.h: New file.
62764         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62765         of MAXSYMLINKS.
62766         * elf/chroot_canon.c (chroot_canon): Likewise.
62768 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62770         [BZ #13717]
62771         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62772         Change to 2.6.0 everywhere.
62773         * sysdeps/unix/sysv/linux/configure: Regenerated.
62774         * sysdeps/unix/sysv/linux/kernel-features.h
62775         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62776         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62777         kernel versions.
62778         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62779         (__ASSUME_FUTEX_REQUEUE): Remove.
62780         (__ASSUME_STATFS64): Define unconditionally.
62781         (__ASSUME_AT_SECURE): Likewise.
62782         (__ASSUME_CORRECT_SI_PID): Likewise.
62783         (__ASSUME_TGKILL): Define without depending on kernel version for
62784         i386.
62785         (__ASSUME_UTIMES): Likewise.
62786         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62787         kernel version.
62788         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62789         (__ASSUME_TMPFS_NAME): Likewise.
62790         * README: Update reference to Linux kernel versions.
62792 2012-08-02  Marek Polacek  <polacek@redhat.com>
62794         [BZ# 14150]
62795         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62796         libc_cv_asm_type_prefix with %.
62797         * configure: Regenerated.
62798         * include/libc-symbols.h: Remove comment about
62799         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62800         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62801         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62802         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62803         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62804         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62805         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62806         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62807         * elf/tst-unique2mod1.c: Likewise.
62808         * elf/tst-unique1mod2.c: Likewise.
62809         * elf/tst-unique1mod1.c: Likewise.
62810         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62811         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62812         Replace ASM_TYPE_DIRECTIVE with .type.
62813         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62814         * sysdeps/i386/sysdep.h: Likewise.
62815         * sysdeps/x86_64/sysdep.h: Likewise.
62816         * sysdeps/sh/sysdep.h: Likewise.
62817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62818         Do not define ASM_TYPE_DIRECTIVE.
62819         * sysdeps/powerpc/sysdep.h: Likewise.
62820         * sysdeps/powerpc/powerpc32/sysdep.h:
62821         Replace ASM_TYPE_DIRECTIVE with .type.
62822         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62823         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62824         * sysdeps/i386/fpu/e_powf.S: Likewise.
62825         * sysdeps/i386/fpu/e_expl.S: Likewise.
62826         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62827         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62828         * sysdeps/i386/fpu/e_pow.S: Likewise.
62829         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62830         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62831         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62832         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62833         * sysdeps/i386/fpu/e_log2.S: Likewise.
62834         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62835         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62836         * sysdeps/i386/fpu/e_powl.S: Likewise.
62837         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62838         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62839         * sysdeps/i386/fpu/e_logl.S: Likewise.
62840         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62841         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62842         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62843         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62844         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62845         * sysdeps/i386/fpu/e_log.S: Likewise.
62846         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62847         * sysdeps/i386/fpu/e_logf.S: Likewise.
62848         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62849         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62850         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62851         * sysdeps/i386/fpu/e_log10.S: Likewise.
62852         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62853         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62854         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62855         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62856         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62857         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62858         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62859         * sysdeps/i386/i686/strtok.S: Likewise.
62860         * sysdeps/i386/i386-mcount.S: Likewise.
62861         * sysdeps/i386/strtok.S: Likewise.
62862         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62863         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62864         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62865         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62866         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62867         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62868         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62869         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62870         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62871         * sysdeps/x86_64/_mcount.S: Likewise.
62872         * sysdeps/x86_64/strtok.S: Likewise.
62873         * sysdeps/sh/_mcount.S: Likewise.
62875 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62877         * libio/iofopen.c: Include <fcntl.h>.
62878         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62879         (_IO_fopen64, fopen64): Define as aliases.
62880         * libio/iofopen64.c: Include <fcntl.h>.
62881         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62882         Conditionalize body on this.
62883         * sysdeps/wordsize-64/iofopen.c: File removed.
62884         * sysdeps/wordsize-64/iofopen64.c: File removed.
62886 2012-08-01  Marek Polacek  <polacek@redhat.com>
62888         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62889         Use dlfcn directly instead of a variable.
62890         (binfmt-subdir): Do not define.
62891         (dlfcn): Likewise.
62893 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62895         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62896         Remove all definitions.
62897         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62898         <kernel-features.h>.
62899         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62900         (miss_F_GETOWN_EX): Remove all definitions.
62901         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62902         macro definition.
62903         [!__ASSUME_FCNTL64]: Remove conditional code.
62904         [__ASSUME_FCNTL64]: Make code unconditional.
62905         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62906         <kernel-features.h>.
62907         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62908         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62909         (lockf64) [__NR_fcntl64]: Make code unconditional.
62910         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62912         * sysdeps/unix/sysv/linux/kernel-features.h
62913         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62914         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62915         Make code unconditional.
62916         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62917         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62919         [__NR_vfork]: Make code unconditional.
62920         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62921         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62923         [__NR_vfork]: Make code unconditional.
62924         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62925         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62927 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62929         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62930         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62932         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62933         Define mkstemp64 as an alias.
62934         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62935         Define mkstemps64 as an alias.
62936         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62937         Define mkostemp64 as an alias.
62938         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62939         Define mkostemps64 as an alias.
62940         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62941         Conditionalize body on this.
62942         * misc/mkostemp64.c: Likewise.
62943         * misc/mkostemps64.c: Likewise.
62944         * misc/mkstemps64.c: Likewise.
62945         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62946         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62947         * sysdeps/wordsize-64/mkostemp.c: File removed.
62948         * sysdeps/wordsize-64/mkstemp.c: File removed.
62949         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62950         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62951         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62952         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62954         [BZ #14138]
62955         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62956         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62957         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62958         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62960         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62961         compat_symbol macros from <shlib-compat.h> rather than the underlying
62962         default_symbol_version and symbol_version macros, so that DEFAULT
62963         lines in shlib-versions are respected.
62964         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62966 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62968         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62969         Declare with warn_unused_result.
62970         (setgid, setregid, setegid, setresgid): Likewise.
62971         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62972         Likewise.
62973         * WUR-REPORT: Remove set*id functions.
62975 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62977         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62979 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62981         [BZ #10191]
62982         * include/sys/socket.h (__libc_accept, __libc_accept4):
62983         Add attribute_hidden.
62984         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62986         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62987         use of PTR_MANGLE.
62988         * inet/getnetgrent_r.c (setup): Likewise.
62990         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62992 2012-07-31  David S. Miller  <davem@davemloft.net>
62994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62996 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62998         [BZ #13629]
62999         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63000         value between 1.0 and 2.0 and smaller part has absolute value less
63001         than 1.0.
63002         * math/s_clog10.c (__clog10): Likewise.
63003         * math/s_clog10f.c (__clog10f): Likewise.
63004         * math/s_clog10l.c (__clog10l): Likewise.
63005         * math/s_clogf.c (__clogf): Likewise.
63006         * math/s_clogl.c (__clogl): Likewise.
63007         * math/libm-test.inc (clog_test): Add more tests.
63008         (clog10_test): Likewise.
63009         * sysdeps/i386/fpu/libm-test-ulps: Update.
63010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63012 2012-07-31  Florian Weimer  <fweimer@redhat.com>
63014         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63015         Exit with zero in case no suitable GID is found, and write a
63016         message to standard error.
63018 2012-07-30  Roland McGrath  <roland@hack.frob.com>
63020         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63021         rather than to 1.
63022         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63023         (MAXPATHLEN): Removed.
63024         (NOGROUP, NODEV): New macros.
63025         (setbit, clrbit, isset, isclr): New macros.
63026         (howmany, roundup, powerof2): New macros.
63027         (DEV_BSIZE): New macro.
63029         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63030         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63032         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63033         definition on [!__NO_LONG_DOUBLE_MATH].
63035         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63036         PTR_MANGLE and PTR_DEMANGLE.
63038         * socket/accept4.c (accept4): Rename to __libc_accept4.
63039         Define accept4 as a weak alias.
63041         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63042         on [_DIRENT_HAVE_D_TYPE].
63043         * io/ftw.c (ftw_dir): Likewise.
63045         * io/xmknod.c (__xmknod): Don't check PATH for being null.
63047         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63049         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63050         Use the BSD numbers rather than the arbitrary ones we had.
63051         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63052         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63053         (SIGXCPU, SIGXFSZ): New macros.
63054         (_NSIG): Now 32.
63056         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63057         initializer on [_LIBC_REENTRANT].
63059         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63060         definitions inside [_POSIX_MAPPED_FILES].
63062         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63064         * dirent/opendir.c: Include <fcntl.h>.
63066         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63067         (__libc_getspecific): Likewise.
63068         (__libc_key_create): Likewise.
63070         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63071         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63072         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63073         (tmpfile64): Define as alias.
63074         * sysdeps/wordsize-64/tmpfile.c: File removed.
63075         * sysdeps/wordsize-64/tmpfile64.c: File removed.
63076         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63077         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63079         * stdio-common/vfscanf.c: Include <stdbool.h>.
63080         * nss/makedb.c: Likewise.
63081         * stdio-common/_i18n_number.h: Likewise.
63082         * argp/argp-help.c: Likewise.
63083         * posix/wordexp.c: Likewise.
63084         * sysdeps/posix/spawni.c: Likewise.
63085         * nss/nss_files/files-initgroups.c: Likewise.
63086         * stdio-common/reg-modifier.c: Include <stdlib.h>.
63087         * nss/nss_files/files-initgroups.c: Likewise.
63088         * nss/nss_db/db-netgrp.c: Likewise.
63089         * nss/nss_db/db-initgroups.c: Likewise.
63090         * io/fchmodat.c: Include <sys/stat.h>.
63092         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63093         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63095         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63096         [HAVE_MMAP].
63098         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63099         Add multiple inclusion protection.
63101 2012-07-27  David S. Miller  <davem@davemloft.net>
63103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63105 2012-07-27  Gary Benson  <gbenson@redhat.com>
63107         [BZ #14298]
63108         * elf/rtld.c: Include <stap-probe.h>.
63109         (dl_main): Added static probes "init_start" and "init_complete".
63110         * elf/dl-load.c: Include <stap-probe.h>.
63111         (lose): Take new parameter "nsid".
63112         Added static probe "map_failed".
63113         (_dl_map_object_from_fd): Pass namespace id to lose.
63114         Added static probe "map_start".
63115         (open_verify): Pass namespace id to lose.
63116         * elf/dl-open.c: Include <stap-probe.h>.
63117         (dl_open_worker) Added static probes "map_complete", "reloc_start"
63118         and "reloc_complete".
63119         * elf/dl-close.c: Include <stap-probe.h>.
63120         (_dl_close_worker): Added static probes "unmap_start" and
63121         "unmap_complete".
63122         * elf/rtld-debugger-interface.txt: New file documenting the above.
63124 2012-07-26  Roland McGrath  <roland@hack.frob.com>
63126         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63127         rather than a string variable.
63128         * sunrpc/rpc_main.c (h_output): Likewise.
63129         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63131 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
63133         * inet/check_native.c: New file.
63135 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
63137         [BZ #13629]
63138         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63139         if larger part has absolute value 1.0.
63140         * math/s_clog10.c (__clog10): Likewise.
63141         * math/s_clog10f.c (__clog10f): Likewise.
63142         * math/s_clog10l.c (__clog10l): Likewise.
63143         * math/s_clogf.c (__clogf): Likewise.
63144         * math/s_clogl.c (__clogl): Likewise.
63145         * math/libm-test.inc (clog_test): Add more tests.
63146         (clog10_test): Likewise.
63147         * sysdeps/i386/fpu/libm-test-ulps: Update.
63148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63150         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63151         (pltexit): Likewise.
63152         (La_regs): Likewise.
63153         (La_retval): Likewise.
63154         (int_retval): Likewise.
63155         Update #error for removed macros to refer only to definitions in
63156         tst-audit.h.
63157         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63158         macro.
63159         (pltexit): Likewise.
63160         (La_regs): Likewise.
63161         (La_retval): Likewise.
63162         (int_retval): Likewise.
63163         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
63164         macro.
63165         (pltexit): Likewise.
63166         (La_regs): Likewise.
63167         (La_retval): Likewise.
63168         (int_retval): Likewise.
63169         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
63170         macro.
63171         (pltexit): Likewise.
63172         (La_regs): Likewise.
63173         (La_retval): Likewise.
63174         (int_retval): Likewise.
63175         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
63176         macro.
63177         (pltexit): Likewise.
63178         (La_regs): Likewise.
63179         (La_retval): Likewise.
63180         (int_retval): Likewise.
63181         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
63182         macro.
63183         (pltexit): Likewise.
63184         (La_regs): Likewise.
63185         (La_retval): Likewise.
63186         (int_retval): Likewise.
63187         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63188         macro.
63189         (pltexit): Likewise.
63190         (La_regs): Likewise.
63191         (La_retval): Likewise.
63192         (int_retval): Likewise.
63193         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63194         macro definitions in tst-audit.h.
63195         * sysdeps/i386/tst-audit.h: New file.
63196         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63197         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63198         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63199         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63200         * sysdeps/sh/tst-audit.h: Likewise.
63201         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63202         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63203         * sysdeps/x86_64/tst-audit.h: Likewise.
63205 2012-07-26  Andreas Jaeger  <aj@suse.de>
63207         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63208         ptrace.
63210         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63211         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63212         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63213         PTRACE_O_MASK.
63214         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63215         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63216         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63218         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63219         value.
63221         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63222         _sigsys.
63223         (si_call_addr, si_syscall, si_arch): Define new macro.
63224         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63225         _sigsys.
63226         (si_call_addr, si_syscall, si_arch): Define new marcro.
63227         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63228         _sigsys.
63229         (si_call_addr, si_syscall, si_arch): Define new macro.
63230         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63231         _sigsys.
63232         (si_call_addr, si_syscall, si_arch): Define new macro.
63234 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63236         [BZ #13717]
63237         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63238         Change to 2.4.21 where previously 2.4.1.
63239         * sysdeps/unix/sysv/linux/configure: Regenerated.
63240         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63241         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63242         Linux kernel version.
63243         (__ASSUME_STD_AUXV): Remove.
63244         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63245         kernel version.
63246         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63247         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63248         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63249         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63250         (__ASSUME_NETLINK_SUPPORT): Likewise.
63251         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63252         (__no_netlink_support): Remove conditional definition.
63253         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63254         Remove.
63255         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63256         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63257         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63258         (if_nameindex_ioctl): Remove.
63259         (if_nameindex_netlink): Do not handle __no_netlink_support.
63260         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63261         code.
63262         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63263         Remove conditional code.
63264         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63265         code.
63266         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63267         unconditional.
63268         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63269         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63270         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63271         Remove.
63272         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63273         [!__ASSUME_STD_AUXV]: Remove conditional code.
63274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63275         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63276         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63278         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63279         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63280         code.
63281         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63283         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63284         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63285         conditional code.
63286         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63288         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63289         code.
63290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63291         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63292         conditional code.
63293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63294         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63295         code unconditional.
63296         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63297         conditional code.
63298         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63299         unconditional.
63300         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63301         conditional code.
63302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63303         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63304         unconditional.
63305         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63306         conditional code.
63307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63308         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63309         code unconditional.
63310         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63311         conditional code.
63312         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63313         unconditional.
63314         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63315         conditional code.
63316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63317         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63318         code unconditional.
63319         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63320         conditional code.
63321         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63322         unconditional.
63323         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63324         conditional code.
63326 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63328         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63329         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63330         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63331         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63332         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63333         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63334         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63335         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63336         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63337         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63338         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63339         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63340         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63341         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63342         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63343         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63344         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63345         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63346         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63347         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63348         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63349         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63350         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63352 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63354         * Versions.def: Add GLIBC_2.17.
63355         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63356         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63357         Introduce __libc_secure_getenv.
63358         * stdlib/Versions (2.17): Add secure_getenv
63359         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63360         * stdlib/secure-getenv.c: Rename __secure_getenv to
63361         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63362         symbol __secure_getenv for GLIBC_2.0.
63363         * stdlib/tst-secure-getenv.c: New.
63364         * stdlib/Makefile (tests): Add testcase.
63365         * manual/startup.texi (Environment Access): Document
63366         secure_getenv.
63367         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63368         __libc_secure_getenv.
63369         * inet/ruserpass.c (ruserpass): Likewise.
63370         * malloc/mtrace.c (mtrace): Likewise.
63371         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63372         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63373         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63374         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63375         HAVE_SECURE_GETENV.
63376         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63377         __secure_getenv to __libc_secure_getenv.
63378         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63380         Likewise.
63381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63382         Likewise.
63383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63385         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63391 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63393         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63394         (struct La_i86_retval): Likewise.
63395         (struct La_x86_64_regs): Likewise.
63396         (struct La_x86_64_retval): Likewise.
63397         (struct La_x32_regs): Likewise.
63398         (struct La_x32_retval): Likewise.
63399         (struct La_ppc32_regs): Likewise.
63400         (struct La_ppc32_retval): Likewise.
63401         (struct La_ppc64_regs): Likewise.
63402         (struct La_ppc64_retval): Likewise.
63403         (struct La_sh_regs): Likewise.
63404         (struct La_sh_retval): Likewise.
63405         (struct La_s390_32_regs): Likewise.
63406         (struct La_s390_32_retval): Likewise.
63407         (struct La_s390_64_regs): Likewise.
63408         (struct La_s390_64_retval): Likewise.
63409         (struct La_sparc32_regs): Likewise.
63410         (struct La_sparc32_retval): Likewise.
63411         (struct La_sparc64_regs): Likewise.
63412         (struct La_sparc64_retval): Likewise.
63413         (struct audit_ifaces): Remove architecture-specific pltenter and
63414         pltexit members.
63415         * sysdeps/i386/ldsodefs.h: New file.
63416         * sysdeps/powerpc/ldsodefs.h: Likewise.
63417         * sysdeps/s390/ldsodefs.h: Likewise.
63418         * sysdeps/sh/ldsodefs.h: Likewise.
63419         * sysdeps/sparc/ldsodefs.h: Likewise.
63420         * sysdeps/x86_64/ldsodefs.h: Likewise.
63422 2012-07-25  Marek Polacek  <polacek@redhat.com>
63424         [BZ #6808]
63425         * math/libm-test.inc (yn_test): Add another test.
63426         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63427         to ERANGE when the result is +-Inf.
63428         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63429         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63430         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63431         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63433 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63435         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63436         equal to 0.
63437         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63438         clock_t.
63439         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63441 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63443         * configure.in <sysdeps resolving>: Correct printing
63444         Implies_before.
63445         * configure: Regenerate.
63447 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63449         * math/w_ilogb.c: Include <limits.h>.
63450         * math/w_ilogbl.c: Likewise.
63452 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63454         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63455         va_copy.  Document allowing for unavailable va_copy only as
63456         pre-C99 compatibility.
63457         * manual/string.texi (Copying and Concatenation): Use va_copy
63458         instead of __va_copy in concat example.
63460 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63462         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63463         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63464         it if not null.
63466         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63467         with O_NOLINK passed to __file_name_lookup.
63469         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63470         with O_NOLINK passed to __file_name_lookup.
63472         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63473         negative N or less than NGIDS.
63475         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63476         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63477         enough.  Use memcpy instead of strncpy.
63479 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63481         * elf/Makefile (check-data): Remove.
63482         (localplt.data): New vpath directive.
63483         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63484         instead of $(check-data).
63485         * scripts/data/localplt-generic.data: Move to ...
63486         * sysdeps/generic/localplt.data: ... here.
63487         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63488         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63489         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63491         ... here.
63492         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63494         ... here.
63495         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63497         ... here.
63498         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63500         ... here.
63501         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63503         ... here.
63504         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63506         ... here.
63508 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63510         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63511         PPC32 and PPC64 files.
63512         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63513         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63515 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63517         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63518         __makecontext_ret to ...
63519         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63520         ... here and call exit if uc_link is NULL.  New file.
63521         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63522         __makecontext_ret.S.
63523         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63524         __makecontext_ret to ...
63525         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63526         ... here and call exit if uc_link is NULL.  New file.
63527         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63528         __makecontext_ret.S.
63530 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63532         * elf/elf.h (R_390_IRELATIVE): New definition.
63533         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63534         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63535         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63536         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63537         (elf_machine_lazy_rel): Likewise.
63538         * sysdeps/s390/dl-irel.h: New file.
63539         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63540         * sysdeps/s390/s390-64/memset.S: New asm code.
63541         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63542         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63543         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63544         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63545         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63546         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63547         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63548         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63549         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63550         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63551         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63552         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63553         * sysdeps/s390/s390-32/memset.S: New asm code.
63554         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63556 2012-07-17  Marek Polacek  <polacek@redhat.com>
63558         [BZ #14349]
63559         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63560         * sysdeps/s390/s390-64/configure.in: Likewise.
63561         * sysdeps/sparc/configure.in: Likewise.
63562         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63563         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63564         * sysdeps/i386/configure.in: Likewise.
63565         * sysdeps/x86_64/configure.in: Likewise.
63566         * sysdeps/sh/configure.in: Likewise.
63567         * sysdeps/s390/s390-32/configure: Regenerated.
63568         * sysdeps/s390/s390-64/configure: Likewise.
63569         * sysdeps/x86_64/configure: Likewise.
63570         * sysdeps/sh/configure: Likewise.
63571         * sysdeps/powerpc/powerpc64/configure: Likewise.
63572         * sysdeps/powerpc/powerpc32/configure: Likewise.
63573         * sysdeps/sparc/configure: Likwise.
63574         * sysdeps/i386/configure: Likewise.
63576         * elf/dl-open.c: Comment fixes.
63578 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63580         * Makefile [CXX] (check-data): Remove.
63581         [CXX] (c++-types.data): New vpath directive.
63582         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63583         vpath.  Do not allow for C++ type data being missing.
63584         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63585         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63586         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63587         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63588         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63589         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63590         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63592         ... here.
63593         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63595         ... here.
63596         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63598         ... here.
63599         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63601         ... here.
63602         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63604         ... here.
63605         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63607         ... here.
63608         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63610         ... here.
63611         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63614         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63615         definitions to architecture-specific files.
63616         (TLS_IE): Likewise.
63617         (TLS_LD): Likewise.
63618         (TLS_GD): Likewise.
63619         * sysdeps/i386/tls-macros.h: New file.
63620         * sysdeps/powerpc/tls-macros.h: Likewise.
63621         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63622         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63623         * sysdeps/sh/tls-macros.h: Likewise.
63624         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63625         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63626         * sysdeps/x86_64/tls-macros.h: Likewise.
63628 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63630         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63631         zero value for regular exit case.
63633         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63634         (__start_context): Preserve zero value for regular exit case.
63636 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63637             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63639         * manual/setjmp.texi (setcontext): Clarify normal process
63640         termination when uc_link is the null pointer.
63641         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63642         exit call.
63644 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63646         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63647         preprocessor.  Test for each exception mask separately.
63649 2012-07-16  Andreas Jaeger  <aj@suse.de>
63651         * po/ru.po: Update from translation team.
63653 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63655         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63656         equal to 0.
63657         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63658         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63659         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63660         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63661         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63663 2012-07-13  Andreas Jaeger  <aj@suse.de>
63665         * po/fr.po: Update from translation team.
63667 2012-07-12  Marek Polacek  <polacek@redhat.com>
63669         [BZ #14173]
63670         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63671         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63672         loop condition.
63674 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63676         [BZ #13717]
63677         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63678         Change to 2.4.1 where previously 2.4.0.
63679         * sysdeps/unix/sysv/linux/configure: Regenerated.
63680         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63681         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63682         version.
63683         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63684         (__ASSUME_AT_CLKTCK): Remove.
63685         (__ASSUME_AT_PAGESIZE): Likewise.
63686         (__ASSUME_AT_XID): Likewise.
63687         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63688         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63689         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63690         unconditionally.
63691         (HAVE_AUX_PAGESIZE): Likewise.
63692         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63693         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63694         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63696 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63698         [BZ #14307]
63699         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63700         the temporary buffer used to invoke __gethostbyname2_r,
63701         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63702         host_data / struct gaih_addrtuple.
63703         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63704         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63705         header file nss/nsswitch.h.
63706         * nss/nsswitch.h (global scope): Add definition of implementation
63707         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63708         resolv/nss_dns/dns-host.c).
63710 2012-07-11  Andreas Jaeger  <aj@suse.de>
63712         * po/fr.po: Update from translation team.
63714         * po/sv.po: Update from translation team
63715         * po/fr.po: Another update from translation team.
63717 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63719         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63720         for subnormals or multiply small sinh result by itself.
63721         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63724 2012-07-11  David S. Miller  <davem@davemloft.net>
63726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63728 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63730         [BZ #14347]
63731         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63732         (INTERNAL_MARK): Shift it here.
63734 2012-07-10  Marek Polacek  <polacek@redhat.com>
63736         [BZ #14151]
63737         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63738         libc_cv_asm_global_directive with .globl.
63739         * configure: Regenerated.
63740         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63741         with .globl.
63742         * sysdeps/i386/configure: Regenerated.
63743         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63744         with .globl.
63745         * sysdeps/x86_64/configure: Regenerated.
63746         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63747         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63748         * elf/tst-unique2mod2.c: Likewise.
63749         * elf/tst-unique2mod1.c: Likewise.
63750         * elf/tst-unique1mod2.c: Likewise.
63751         * elf/tst-unique1mod1.c: Likewise.
63752         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63753         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63754         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63755         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63756         * sysdeps/mach/sysdep.h: Likewise.
63757         * sysdeps/i386/sysdep.h: Likewise.
63758         * sysdeps/i386/i386-mcount.S: Likewise.
63759         * sysdeps/x86_64/_mcount.S: Likewise.
63760         * sysdeps/x86_64/sysdep.h: Likewise.
63761         * sysdeps/sh/_mcount.S: Likewise.
63762         * sysdeps/sh/sysdep.h: Likewise.
63763         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63764         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63765         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63766         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63767         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63768         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63769         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63770         * locale/localeinfo.h: Likewise.
63771         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63772         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63774 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63776         [BZ #14336]
63777         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63778         system".
63779         * manual/message.texi (The Uniforum approach): Likewise.
63780         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63781         (glibc iconv Implementation): Likewise.
63783 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63785         [BZ #14337]
63786         * math/s_clog.c (__clog): Avoid scaling a value down where that
63787         could result in underflow.
63788         * math/s_clog10.c (__clog10): Likewise.
63789         * math/s_clog10f.c (__clog10f): Likewise.
63790         * math/s_clog10l.c (__clog10l): Likewise.
63791         * math/s_clogf.c (__clogf): Likewise.
63792         * math/s_clogl.c (__clogl): Likewise.
63793         * math/libm-test.inc (clog_test): Add more tests.
63794         (clog10_test): Likewise.
63795         * sysdeps/i386/fpu/libm-test-ulps: Update.
63796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63798 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63800         [BZ #14283]
63801         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63802         by 7 not 8 to examine high bit of fractional part.
63804         [BZ #14042]
63805         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63806         for call to __mcount_internal.
63807         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63808         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63809         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63811 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63813         [BZ #14154]
63814         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63815         approximation for values within 0x1p-13f of an odd multiple of
63816         pi/4.
63817         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63818         exception.  Add more tests.
63819         * sysdeps/i386/fpu/libm-test-ulps: Update.
63821         [BZ #6778]
63822         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63823         inputs and return -1 for them.  Do not check for +Inf in case not
63824         reachable for +Inf.
63825         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63826         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63827         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63828         and return -1 for them.  Do not check for +Inf in case not
63829         reachable for +Inf.
63830         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63831         define.
63832         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63833         and return -1 for them.  Do not check for +Inf in case not
63834         reachable for +Inf.
63835         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63836         spurious underflow.
63837         * sysdeps/i386/fpu/libm-test-ulps: Update.
63838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63840 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63842         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63844 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63846         [BZ #14157]
63847         [BZ #14331]
63848         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63849         could result in spurious underflow.  Scale down values above
63850         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63851         * math/s_csqrtf.c (__csqrtf): Likewise.
63852         * math/s_csqrtl.c (__csqrtl): Likewise.
63853         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63854         spurious underflow.
63855         * sysdeps/i386/fpu/libm-test-ulps: Update.
63856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63858 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63860         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63861         xopen-msg.sed.
63862         * catgets/xopen-msg.awk: New file.
63863         * catgets/xopen-msg.sed: Removed.
63865         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63866         po2text.sed.
63867         * intl/po2test.awk: New file.
63868         * intl/po2test.sed: Removed.
63870 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63872         [BZ #14328]
63873         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63874         or multiply small sinh result by itself.
63875         * math/s_ctanf.c (__ctanf): Likewise.
63876         * math/s_ctanh.c (__ctanh): Likewise.
63877         * math/s_ctanhf.c (__ctanhf): Likewise.
63878         * math/s_ctanhl.c (__ctanhl): Likewise.
63879         * math/s_ctanl.c (__ctanl): Likewise.
63880         * math/libm-test.inc (ctan_test_tonearest): New function.
63881         (ctan_test_towardzero): Likewise.
63882         (ctan_test_downward): Likewise.
63883         (ctan_test_upward): Likewise.
63884         (ctanh_test_tonearest): Likewise.
63885         (ctanh_test_towardzero): Likewise.
63886         (ctanh_test_downward): Likewise.
63887         (ctanh_test_upward): Likewise.
63888         (main): Call these new functions.
63889         * sysdeps/i386/fpu/libm-test-ulps: Update.
63890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63892 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63894         * .gitignore: Delete /ports entry.
63896 2012-07-03  Andreas Jaeger  <aj@suse.de>
63898         * po/bg.po: Update from translation team.
63899         * po/cs.po: Likewise.
63900         * po/de.po: Likewise.
63901         * po/hr.po: Likewise.
63902         * po/nl.pl: Likewise.
63903         * po/pl.po: Likewise.
63904         * po/vi.po: Likewise.
63906 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63908         * Makeconfig [!+link] (+link-before-libc): New variable.
63909         [!+link] (+link-after-libc): Likewise.
63910         [!+link] (+link-tests): Likewise.
63911         [!+link] (+link): Define in terms of $(+link-before-libc) and
63912         $(+link-after-libc).
63913         [!+link-static] (+link-static-before-libc): New variable.
63914         [!+link-static] (+link-static-after-libc): Likewise.
63915         [!+link-static] (+link-static-tests): Likewise.
63916         [!+link-static] (+link-static): Define in terms of
63917         $(+link-static-before-libc) and $(+link-static-after-libc).
63918         [build-shared] (link-libc-before-gnulib): New variable.
63919         [build-shared] (link-libc-tests): Likewise.
63920         [build-shared] (link-libc): Define in terms of
63921         $(link-libc-before-gnulib).
63922         [!build-shared] (link-libc-tests): New variable.
63923         (link-libc-static-tests): New variable.
63924         [!gnulib] (gnulib-arch): New variable.
63925         [!gnulib] (gnulib-tests): Likewise.
63926         [!gnulib] (static-gnulib-arch): Likewise.
63927         [!gnulib] (static-gnulib-tests): Likewise.
63928         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63929         Define with "=" instead of ":=".
63930         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63931         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63932         * Rules (binaries-all-notests): New variable.
63933         (binaries-all-tests): Likewise.
63934         (binaries-static-notests): Likewise.
63935         (binaries-static-tests): Likewise.
63936         (binaries-all): Define using $(binaries-all-notests) and
63937         $(binaries-all-tests).
63938         (binaries-static): Define using $(binaries-static-notests) and
63939         $(binaries-static-tests).
63940         (binaries-shared-tests): New variable.
63941         (binaries-shared-notests): Likewise.
63942         (binaries-shared): Remove variable.
63943         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63944         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63945         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63946         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63947         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63948         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63949         * elf/Makefile (sln-modules): New variable.
63950         (extra-objs): Add $(sln-modules:=.o).
63951         (ldconfig-modules): Add static-stubs.
63952         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63953         * elf/static-stubs.c: New file.
63955         [BZ #14283]
63956         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63957         by 7 not 8 to examine high bit of fractional part.  Use volatile
63958         variables when splitting into final array of floats if
63959         __FLT_EVAL_METHOD__ != 0.
63960         * math/libm-test.inc (cos_test): Add another test.
63961         (sin_test): Likewise.
63962         * sysdeps/i386/fpu/libm-test-ulps: Update.
63964         [BZ #14273]
63965         * math/libm-test.inc (cosh_test): Add more tests.
63967         * version.h (RELEASE): Set to "development".
63968         (VERSION): Set to "2.16.90".
63970 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63972         * NEWS: Update copyright. Remove last-updated date.
63973         Mention math library bug fixes and timezone data changes.
63974         * README: Mention GNU/Hurd, x32, and HPPA support status.
63976 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63978         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63980 2012-06-27  Andreas Jaeger  <aj@suse.de>
63982         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63984 2012-06-25  Andreas Jaeger  <aj@suse.de>
63986         * sysdeps/s390/fpu/libm-test-ulps: Update.
63988 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63989             Thomas Schwinge  <thomas@codesourcery.com>
63991         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63992         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63993         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63994         fanotify_mark.
63996 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63998         * sysdeps/mach/start.c: Remove file.
63999         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64000         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64001         * sysdeps/sh/init-first.c: Likewise.
64003         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64004         registers for frame unwinding purposes, add CFI directives.
64005         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64006         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64007         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64008         Likewise.
64010         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64011         __fortify_fail returning.
64012         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64014         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64015         sysdeps/sh/____longjmp_chk.S.
64016         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64017         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64018         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64019         (gen-as-const-headers): Append sigaltstack-offsets.sym.
64021         * sysdeps/sh/abort-instr.h: New file.
64022         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64023         process in case exit returns.
64025         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64026         initialize the GOT register before use.
64028         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64029         calculation of ARGC > 4.
64031         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64032         meaningful names to some local labels.
64034 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64035             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64037         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64038         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64039         (__arch_compare_and_exchange_val_16_acq): Likewise.
64040         (__arch_compare_and_exchange_val_32_acq): Likewise.
64041         (atomic_exchange_and_add): Fix gUSA sequence.
64042         (atomic_add): Likewise.
64043         (atomic_add_negative): Likewise.
64044         (atomic_add_zero): Likewise.
64045         (atomic_bit_test_set): Likewise.
64047 2012-06-22  Andreas Schwab  <schwab@redhat.com>
64049         [BZ #13579]
64050         * include/link.h (struct link_map): Add l_free_initfini.
64051         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64052         l_initfini.
64053         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64054         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64055         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64056         set.
64058 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
64060         * configure.in: Use AC_LANG_SOURCE.
64061         * configure: Regenerate.
64063 2012-06-22  Roland McGrath  <roland@hack.frob.com>
64065         * configure.in (libc_cv_localstatedir): New substituted variable.
64066         * configure: Regenerated.
64067         * config.make.in (localstatedir): New variable, substituted from
64068         libc_cv_localstatedir.
64069         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64070         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64071         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64072         * sysdeps/gnu/configure: Regenerated.
64074 2012-06-21  Jeff Law  <law@redhat.com>
64076         [BZ #14277]
64077         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64078         free.  Simplify list management for _LIBC case.
64080 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
64082         [BZ #14273]
64083         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64084         Clear sign bit of 64-bit integer value before comparing against
64085         overflow value.
64087         * sysdeps/mach/configure: Regenerated.
64089 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
64091         [BZ #14278]
64092         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64094 2012-06-21  Jeff Law  <law@redhat.com>
64096         [BZ #13882]
64097         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
64098         uint16_t for elements in the "seen" array to avoid char overflows.
64099         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64100         * elf/dl-open.c (dl_open_worker): Likewise.
64102 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
64104         * scripts/list-sources.sh: Scan PORTS for translations.
64105         * po/libc.pot: Regenerated.
64107 2012-06-21  Andreas Jaeger  <aj@suse.de>
64109         [BZ #12194]
64110         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64111         warning.
64112         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64113         * bits/byteswap-16.h (__bswap_16): Likewise.
64114         * bits/byteswap.h (__bswap_constant_16): Likewise.
64116 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
64118         [BZ #14117]
64119         * sysdeps/i386/fpu_control.h: Removed.
64120         * sysdeps/x86_64/fpu_control.h: Moved to ...
64121         * sysdeps/x86/fpu_control.h: Here.
64123         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64124         (_FPU_SETCW): Likewise.
64126 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
64128         [BZ #14117]
64129         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64130         * sysdeps/x86/fpu/bits/mathinline.h: This.
64131         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64133         [BZ #14050]
64134         [BZ #14117]
64135         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64136         functions if __x86_64__ is defined.
64138 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
64140         * string/endian.h: Add !__ASSEMBLER__ condition for including
64141         conversion interfaces.
64143 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
64145         [BZ #14241]
64146         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64147         of ABS(x) in calculating zero to negative powers other than odd
64148         integers.
64149         * math/libm-test.inc (pow_test): Add more tests.
64151 2012-06-15  Andreas Jaeger  <aj@suse.de>
64153         * manual/contrib.texi (Contributors): Update entry of Liubov
64154         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64155         Machado Filho.
64157 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64159         * string/string.h: Add __wur to GNU version of strerror_r.
64161 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64163         [BZ #14229]
64164         * string/Makefile (tests): Add tst-strtok_r.
64165         * string/tst-strtok_r.c: New file.
64166         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64167         RAX_LP/RDX_LP on SAVE_PTR.
64169 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64171         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64173 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64175         * libm_test.inc (csqrt_test): Allow more spurious underflow
64176         exceptions.
64177         (j0_test): Likewise.
64178         (j1_test): Likewise.
64179         (y0_test): Likewise.
64180         (y1_test): Likewise.
64182 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64184         * po/Makefile (libc.pot): Use UTF-8 charset.
64186 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64188         [BZ #14210]
64189         Suppress sign-conversion warning from FD_SET.
64190         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64191         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64192         not unsigned long int.
64193         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64195 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64197         [BZ #14050]
64198         [BZ #14117]
64199         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64200         __extern_always_inline instead of __extern_inline.
64201         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64202         (__signbit): Likewise.
64203         (__signbitl): Support C++ namespace.
64204         (lrintf): New inline function.
64205         (lrint): Likewise.
64206         (llrintf): Likewise.
64207         (llrint): Likewise.
64208         (fmaxf): Likewise.
64209         (fmax): Likewise.
64210         (fminf): Likewise.
64211         (fmin): Likewise.
64212         (rint): Likewise.
64213         (rintf): Likewise.
64214         (ceil): Likewise.
64215         (ceilf): Likewise.
64216         (floor): Likewise.
64217         (floorf): Likewise.
64218         (nearbyint): Likewise.
64219         (nearbyintf): Likewise.
64221 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64223         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64224         non-default versions.
64226 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64228         [BZ #14218]
64229         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64231 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64233         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64234         (FE_UPWARD, FE_DOWNWARD): Don't define.
64235         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64236         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64238         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64239         reading it.
64240         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64241         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64243 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64245         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64246         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64247         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64248         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64250 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64252         [BZ #14117]
64253         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64254         * sysdeps/i386/fpu/Implies: New file.
64255         * sysdeps/x86_64/fpu/Implies: Likewise.
64256         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64257         * sysdeps/x86/fpu/bits/fenv.h: This.
64259         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64260         __SSE_MATH__.
64262 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64264         [BZ #14134]
64265         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64266         character 0xffff that matches the last element of the
64267         conversion table.
64269 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64271         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64272         fmodl commit.
64274 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64276         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64277         values higher than 25.6283.
64279 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64281         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64282         subnormal exponent extraction and add some __builtin_expect.
64283         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64284         Fix for subnormal mantissa calculation.
64286 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64288         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64289         cpu2 is -1 and errno is not ENOSYS.
64291 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64293         [BZ #14117]
64294         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64295         * sysdeps/x86/bits/string.h: This.
64296         * sysdeps/x86_64/bits/string.h: Removed.
64298         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64299         if not compiling for x86-64, but compiling for >= i486.
64301         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64302         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64304         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64305         New macro from Linux kernel 3.4.0.
64306         (FP_XSTATE_MAGIC2): Likewise.
64307         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64308         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64309         (struct _fpx_sw_bytes): New struct.
64310         (struct _xsave_hdr): Likewise.
64311         (struct _ymmh_state): Likewise.
64312         (struct _xstate): Likewise.
64314         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64315         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64316         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64317         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64318         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64319         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64321         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64322         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64323         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64324         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64325         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64326         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64328 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64330         [BZ #13743]
64331         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64332         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64333         (sysdep_headers): Include sys/platform/ppc.h.
64334         * sysdeps/powerpc/test-gettimebase.c: Test for
64335         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64336         * manual/Makefile (appendices): Include platform.texi.
64337         * manual/contrib.texi (Contributors): Update @node pointers.
64338         * manual/maint.texi (Maintenance): Likewise.
64339         (Platform): New node.
64340         * manual/platform.texi: New file.  Document the new features.
64342 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64343             Jakub Jelinek  <jakub@redhat.com>
64345         [BZ #14188]
64346         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64347         where __builtin_expect is unavailable.
64349 2012-06-03  David S. Miller  <davem@davemloft.net>
64351         * stdlib/longlong.h: Updated from GCC.
64353 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64355         [BZ #14042]
64356         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64357         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64358         __mcount_internal.
64359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64360         (GLIBC_2.16): Likewise.
64362 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64364         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64366 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64369         (default-abi): New variable.
64370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64371         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64372         variable.
64373         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64374         Likewise.
64375         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64376         Likewise.
64377         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64378         Likewise.
64380         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64381         definition.  Document in comment.
64383 2012-06-01  David S. Miller  <davem@davemloft.net>
64385         * stdlib/longlong.h: Updated from GCC.
64387 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64389         [BZ #14117]
64390         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64391         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64392         sys/debugreg.h sys/io.h here.
64393         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64394         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64395         sys/io.h.
64396         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64397         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64398         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64399         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64400         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64401         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64403         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64404         Define only if __x86_64__ is defined.
64406 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64408         [BZ #14048]
64409         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64410         Use int64_t for variable i.
64411         * math/libm-test.inc (fmod_test): Add more tests.
64413         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64414         z computation is not scheduled after fetestexcept.
64415         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64416         Use math_force_eval instead of asm to ensure calculation scheduled
64417         before exception test.
64418         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64419         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64421 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64423         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64424         computation is not scheduled after fetestexcept.
64426 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64428         [BZ #14117]
64429         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64430         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64432 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64434         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64435         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64437 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64439         [BZ #14117]
64440         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64441         <bits/wordsize.h>.
64442         (__WCHAR_MIN): Support __WORDSIZE == 64.
64443         (__WCHAR_MAX): Likewise.
64445         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64446         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64448         [BZ #14183]
64449         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64450         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64452         [BZ #14117]
64453         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64454         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64456         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64457         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64459         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64460         Defined to 1 if __x86_64__ isn't defined.
64461         (_STAT_VER_LINUX_OLD): New.
64462         (st_atime): Remove duplicate.
64463         (st_mtime): Likewise.
64464         (st_ctime): Likewise.
64466 2012-05-31  David S. Miller  <davem@davemloft.net>
64468         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64469         entries.
64471 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64473         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64474         gen-libm-test.pl.
64476         [BZ #14132]
64477         * elf/dl-reloc.c: Include <_itoa.h>.
64478         (_dl_reloc_bad_type): Remove use of INTUSE.
64479         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64480         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64481         * stdio-common/psiginfo.c (psiginfo): Likewise.
64482         * stdio-common/psignal.c (psignal): Likewise.
64483         * string/strsignal.c (strsignal): Likewise.
64484         * include/signal.h (_sys_siglist): Declare hidden proto.
64485         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64486         INTVARDEF with libc_hidden_data_def.
64487         * stdio-common/itoa-udigits.c: Likewise.
64488         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64489         (_itoa_lower_digits_internal): Remove declaration.
64490         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64491         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64492         (_sys_sigabbrev_internal): Remove aliases.
64493         (_sys_siglist): Define hidden alias.
64495 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64497         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64498         bits/sysctl.h.
64500 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64502         [BZ #14117]
64503         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64504         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64506         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64507         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64508         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64509         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64510         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64511         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64513         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64514         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64515         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64517         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64518         with __addr.
64519         (insw): Likewise.
64520         (insl): Likewise.
64521         (outsb): Likewise.
64522         (outsw): Likewise.
64523         (outsl): Likewise.
64525         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64526         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64527         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64529         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64530         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64531         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64532         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64533         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64534         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64536         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64537         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64539         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64540         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64542         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64543         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64544         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64546         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64547         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64548         to ...
64549         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64551         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64552         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64553         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64555         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64556         for x86-64.
64557         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64559 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64561         * math/math.h (M_El): Use two more decimal places.
64562         (M_LOG2El): Likewise.
64563         (M_LOG10El): Likewise.
64564         (M_LN2l): Likewise.
64565         (M_LN10l): Likewise.
64566         (M_PIl): Likewise.
64567         (M_PI_2l): Likewise.
64568         (M_PI_4l): Likewise.
64569         (M_1_PIl): Likewise.
64570         (M_2_PIl): Likewise.
64571         (M_2_SQRTPIl): Likewise.
64572         (M_SQRT2l): Likewise.
64573         (M_SQRT1_2l): Likewise.
64575 2012-05-31  David S. Miller  <davem@davemloft.net>
64577         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64578         values between float registers.
64579         * sysdeps/sparc/sparc64/memset.S: Likewise.
64580         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64582 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64584         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64585         -D_FORTIFY_SOURCE=1.
64586         (CPPFLAGS-tst-longjmp_chk.c): Define.
64587         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64588         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64589         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64590         CFLAGS-tst-wchar-h.c.
64592 2012-05-31  Marek Polacek  <polacek@redhat.com>
64594         [BZ #14132]
64595         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64596         __endmntent_internal): Remove declaration.
64597         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64598         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64599         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64601 2012-05-30  David S. Miller  <davem@davemloft.net>
64603         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64604         (___Q_simulate_exceptions): Use real FP ops rather than writing
64605         into the %fsr.
64606         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64607         Likewise.
64609 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64611         [BZ #14117]
64612         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64613         * sysdeps/x86/bits/xtitypes.h: This.
64615         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64616         * sysdeps/x86/bits/wordsize.h: This.
64618         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64619         * sysdeps/x86/bits/huge_vall.h: This.
64621         * sysdeps/i386/bits/select.h: Removed.
64622         * sysdeps/x86_64/bits/select.h: Renamed to ...
64623         * sysdeps/x86/bits/select.h: This.
64625         * sysdeps/i386/bits/setjmp.h: Removed.
64626         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64627         * sysdeps/x86/bits/setjmp.h: This.
64629         * sysdeps/i386/bits/mathdef.h: Removed.
64630         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64631         * sysdeps/x86/bits/mathdef.h: This.
64633 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64635         [BZ #14132]
64636         * include/sys/socket.h (__connect_internal)
64637         (__libc_sa_len_internal): Remove declaration.
64638         (__connect, __libc_sa_len): Declare hidden_proto.
64639         (SA_LEN): Remove use of INTUSE.
64640         * socket/connect.c: Add libc_hidden_def.
64641         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64642         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64643         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64644         alias.
64645         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64646         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64647         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64648         of adding _internal alias.
64650 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64652         [BZ #14117]
64653         * sysdeps/i386/bits/link.h: Removed.
64654         * sysdeps/i386/bits/linkmap.h: Likewise.
64655         * sysdeps/x86_64/bits/link.h: Renamed to ...
64656         * sysdeps/x86/bits/link.h: This.
64657         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64658         * sysdeps/x86/bits/linkmap.h: This.
64660         * sysdeps/i386/bits/endian.h: Removed.
64661         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64662         * sysdeps/x86/bits/endian.h: This.
64664         * sysdeps/i386/bits/byteswap.h: Removed.
64665         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64666         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64667         * sysdeps/x86/bits/byteswap.h: This.
64668         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64669         * sysdeps/x86/bits/byteswap-16.h: This.
64670         * sysdeps/i386/Implies: Add x86.
64671         * sysdeps/x86_64/Implies: Likewise.
64673 2012-05-30  David S. Miller  <davem@davemloft.net>
64675         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64676         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64677         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64678         (FP_TRAPPING_EXCEPTIONS): Define.
64679         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64680         (FP_TRAPPING_EXCEPTIONS): Define.
64681         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64682         subnormals only when inexact has been signalled or underflow
64683         exceptions are enabled.
64684         (_FP_PACK_CANONICAL): Likewise.
64686 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64688         [BZ #14183]
64689         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64690         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64692 2012-05-30  Richard Henderson  <rth@twiddle.net>
64694         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64695         with #ifndef NOT_IN_libc.
64697         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64698         marked to avoid plt entry.
64700 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64702         [BZ #14112]
64703         * Makeconfig (default-abi): New macro.
64704         (abi-includes): Likewise.
64705         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64706         $(abi-$(default-abi)-lib-soname) for soname if defined.
64707         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64708         abi-variants.
64709         * Makefile (installed-stubs): Likewise.
64710         * include/stubs-biarch.h: Removed.
64711         * scripts/lib-names.awk: Only handle one library at a time.
64712         * scripts/soversions.awk: Remove WORDSIZE support.
64713         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64714         entries.
64715         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64716         Removed.
64717         (syscall-list-default-condition): Likewise.
64718         (syscall-list-default-condition): Likewise.
64719         (syscall-list-includes): Likewise.
64720         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64721         syscall-list-* with abi-*.  Handle undefined abi-variants.
64722         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64723         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64724         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64725         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64726         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64727         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64728         Removed.
64729         (syscall-list-32-options): Likewise.
64730         (syscall-list-32-condition): Likewise.
64731         (syscall-list-64-options): Likewise.
64732         (syscall-list-64-condition): Likewise.
64733         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64734         macro.
64735         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64736         Renamed to ...
64737         (abi-*): This.
64738         (abi-64-ld-soname): New macro.
64739         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64740         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64741         Renamed to ...
64742         (abi-*): This.
64743         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64744         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64746 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64748         * sysdeps/unix/sysv/linux/kernel-features.h
64749         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64750         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64751         include <kernel-features.h>.
64752         [!__NR_ftruncate64]: Remove conditional code.
64753         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64754         [__NR_ftruncate64]: Make code unconditional.
64755         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64756         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64757         include <kernel-features.h>.
64758         [!__NR_ftruncate64]: Remove conditional code.
64759         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64760         [__NR_ftruncate64]: Make code unconditional.
64761         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64763         include <kernel-features.h>.
64764         [!__NR_ftruncate64]: Remove conditional code.
64765         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64766         [__NR_ftruncate64]: Make code unconditional.
64767         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64769         include <kernel-features.h>.
64770         [!__NR_ftruncate64]: Remove conditional code.
64771         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64772         [__NR_ftruncate64]: Make code unconditional.
64773         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64775         * configure.in (libc_cv_fpie): Weaken to a compile test using
64776         LIBC_TRY_CC_OPTION.
64777         * configure: Regenerated.
64779 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64785         Refreshed.
64786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64792         Refreshed.
64794 2012-05-27  David S. Miller  <davem@davemloft.net>
64796         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64797         (___Q_zero): New.
64798         (__Q_simulate_exceptions): Return void.  Change to simulate
64799         exceptions by writing into the %fsr.
64800         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64801         (__Qp_handle_exceptions): Likewise.
64802         (numbers): Delete.
64803         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64804         __Qp_handle_exceptions.
64805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64806         __Qp_handle_exceptions.
64807         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64808         as unused and give dummy FP_RND_NEAREST initializer.
64809         (FP_INHIBIT_RESULTS): Define.
64810         (___Q_simulate_exceptions): Update declaration.
64811         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64812         formatting.
64813         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64814         as unused and give dummy FP_RND_NEAREST initializer.
64815         (__Qp_handle_exceptions): Update declaration.
64816         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64817         formatting.
64819 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64821         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64822         the temporary FPU control word.
64823         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64824         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64825         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64826         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64827         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64828         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64829         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64830         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64831         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64832         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64833         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64835 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64837         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64838         fields.
64840 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64842         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64843         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64844         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64845         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64846         Likewise.
64847         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64848         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64849         Likewise.
64851 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64853         * po/h.po: Update from translation team.
64855 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64857         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64859         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64860         handling of denormals.
64861         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64862         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64863         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64864         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64865         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64866         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64867         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64868         Likewise.
64870 2012-05-26  Marek Polacek  <polacek@redhat.com>
64872         [BZ #14152]
64873         * math/libm-test.inc (fma_test): Don't always expect underflow
64874         exception.
64876 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64878         [BZ #12416]
64879         * elf/tst-execstack.c: Include stackinfo.h.
64880         (do_test): Adjust test case to ensure that pthread_getattr_np
64881         behaviour remains the same after marking stack executable.
64883 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64885         * sysdeps/unix/sysv/linux/kernel-features.h
64886         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64887         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64888         kernel-features.h.
64889         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64890         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64891         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64892         kernel-features.h.
64893         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64894         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64896 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64898         * configure.in: Define the default includes to being none.
64899         * configure: Regenerated.
64901 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64903         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64904         * sysdeps/x86_64/setjmp.S: Likewise.
64905         * sysdeps/i386/bsd-setjmp.S: Likewise.
64906         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64907         * sysdeps/i386/setjmp.S: Likewise.
64908         * sysdeps/i386/__longjmp.S: Likewise.
64909         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64910         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64912         * include/stap-probe.h: New file.
64913         * configure.in: Handle --enable-systemtap.
64914         * configure: Regenerated.
64915         * config.h.in (USE_STAP_PROBE): New #undef.
64916         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64917         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64918         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64920 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64922         [BZ #13717]
64923         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64924         to 2.4.0 where earlier.
64925         * sysdeps/unix/sysv/linux/configure: Regenerated.
64926         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64927         <kernel-features.h>.
64928         [__ASSUME_32BITUIDS]: Make code unconditional.
64929         [!__ASSUME_32BITUIDS]: Remove conditional code.
64930         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64931         <kernel-features.h>.
64932         [__ASSUME_32BITUIDS]: Make code unconditional.
64933         [!__ASSUME_32BITUIDS]: Remove conditional code.
64934         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64935         [__ASSUME_32BITUIDS]: Make code unconditional.
64936         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64937         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
64942         <kernel-features.h>.
64943         [__ASSUME_32BITUIDS]: Make code unconditional.
64944         [!__ASSUME_32BITUIDS]: Remove conditional code.
64945         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
64946         <kernel-features.h>.
64947         [__ASSUME_32BITUIDS]: Make code unconditional.
64948         [!__ASSUME_32BITUIDS]: Remove conditional code.
64949         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64950         <kernel-features.h>.
64951         [__ASSUME_32BITUIDS]: Make code unconditional.
64952         [!__ASSUME_32BITUIDS]: Remove conditional code.
64953         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64954         <kernel-features.h>.
64955         [__ASSUME_32BITUIDS]: Make code unconditional.
64956         [!__ASSUME_32BITUIDS]: Remove conditional code.
64957         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64958         <kernel-features.h>.
64959         [__ASSUME_32BITUIDS]: Make code unconditional.
64960         [!__ASSUME_32BITUIDS]: Remove conditional code.
64961         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64962         <kernel-features.h>.
64963         [__ASSUME_32BITUIDS]: Make code unconditional.
64964         [!__ASSUME_32BITUIDS]: Remove conditional code.
64965         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64966         <kernel-features.h>.
64967         [__ASSUME_32BITUIDS]: Make code unconditional.
64968         [!__ASSUME_32BITUIDS]: Remove conditional code.
64969         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64970         <kernel-features.h>.
64971         [__ASSUME_32BITUIDS]: Make code unconditional.
64972         [!__ASSUME_32BITUIDS]: Remove conditional code.
64973         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64974         <kernel-features.h>.
64975         [__ASSUME_32BITUIDS]: Make code unconditional.
64976         [!__ASSUME_32BITUIDS]: Remove conditional code.
64977         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64978         <kernel-features.h>.
64979         [__NR_setresgid] (__setresgid): Do not declare.
64980         [__ASSUME_32BITUIDS]: Make code unconditional.
64981         [!__ASSUME_32BITUIDS]: Remove conditional code.
64982         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64983         <kernel-features.h>.
64984         [__NR_setresuid] (__setresuid): Do not declare.
64985         [__ASSUME_32BITUIDS]: Make code unconditional.
64986         [!__ASSUME_32BITUIDS]: Remove conditional code.
64987         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64988         <kernel-features.h>.
64989         [__ASSUME_32BITUIDS]: Make code unconditional.
64990         [!__ASSUME_32BITUIDS]: Remove conditional code.
64991         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64992         <kernel-features.h>.
64993         [__ASSUME_32BITUIDS]: Make code unconditional.
64994         [!__ASSUME_32BITUIDS]: Remove conditional code.
64995         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64996         <kernel-features.h>.
64997         [__ASSUME_32BITUIDS]: Make code unconditional.
64998         [!__ASSUME_32BITUIDS]: Remove conditional code.
64999         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
65000         <kernel-features.h>.
65001         [__ASSUME_32BITUIDS]: Make code unconditional.
65002         [!__ASSUME_32BITUIDS]: Remove conditional code.
65003         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
65004         <kernel-features.h>.
65005         [__ASSUME_32BITUIDS]: Make code unconditional.
65006         [!__ASSUME_32BITUIDS]: Remove conditional code.
65007         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
65008         <kernel-features.h>.
65009         [__ASSUME_32BITUIDS]: Make code unconditional.
65010         [!__ASSUME_32BITUIDS]: Remove conditional code.
65011         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
65012         <kernel-features.h>.
65013         [__ASSUME_32BITUIDS]: Make code unconditional.
65014         [!__ASSUME_32BITUIDS]: Remove conditional code.
65015         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
65016         <kernel-features.h>.
65017         [__ASSUME_32BITUIDS]: Make code unconditional.
65018         [!__ASSUME_32BITUIDS]: Remove conditional code.
65019         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
65020         <kernel-features.h>.
65021         [__ASSUME_32BITUIDS]: Make code unconditional.
65022         [!__ASSUME_32BITUIDS]: Remove conditional code.
65023         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65024         <kernel-features.h>.
65025         [__ASSUME_32BITUIDS]: Make code unconditional.
65026         [!__ASSUME_32BITUIDS]: Remove conditional code.
65027         * sysdeps/unix/sysv/linux/kernel-features.h
65028         (__ASSUME_SETRESUID_SYSCALL): Remove.
65029         (__ASSUME_SETRESGID_SYSCALL): Likewise.
65030         (__ASSUME_32BITUIDS): Likewise.
65031         (__ASSUME_LDT_WORKS): Likewise.
65032         (__ASSUME_O_DIRECTORY): Likewise.
65033         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65034         architecture but not kernel version.
65035         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65036         (__ASSUME_MMAP2_SYSCALL): Likewise.
65037         (__ASSUME_STAT64_SYSCALL): Likewise.
65038         (__ASSUME_IPC64): Likewise.
65039         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65040         <kernel-features.h>.
65041         [__ASSUME_32BITUIDS]: Make code unconditional.
65042         [!__ASSUME_32BITUIDS]: Remove conditional code.
65043         * sysdeps/unix/sysv/linux/opendir.c: Do not include
65044         <kernel-features.h>.
65045         [__ASSUME_O_DIRECTORY]: Make code unconditional.
65046         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65047         132096]: Remove conditional code.
65048         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65049         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65050         <kernel-features.h>.
65051         [__ASSUME_32BITUIDS]: Make code unconditional.
65052         [!__ASSUME_32BITUIDS]: Remove conditional code.
65053         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65054         <kernel-features.h>.
65055         [__ASSUME_32BITUIDS]: Make code unconditional.
65056         [!__ASSUME_32BITUIDS]: Remove conditional code.
65057         * sysdeps/unix/sysv/linux/setegid.c: Do not include
65058         <kernel-features.h>.
65059         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65060         unconditional.
65061         (__setresgid): Do not declare.
65062         [__ASSUME_32BITUIDS]: Make code unconditional.
65063         [!__ASSUME_32BITUIDS]: Remove conditional code.
65064         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65065         <kernel-features.h>.
65066         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65067         unconditional.
65068         (__setresuid): Do not declare.
65069         [__ASSUME_32BITUIDS]: Make code unconditional.
65070         [!__ASSUME_32BITUIDS]: Remove conditional code.
65071         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65072         <kernel-features.h>.
65073         [__ASSUME_32BITUIDS]: Make code unconditional.
65074         [!__ASSUME_32BITUIDS]: Remove conditional code.
65075         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65076         <kernel-features.h>.
65077         [__ASSUME_32BITUIDS]: Make code unconditional.
65078         [!__ASSUME_32BITUIDS]: Remove conditional code.
65080 2012-05-25  Richard Henderson  <rth@twiddle.net>
65082         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65083         dl_hwcap to ifunc resolver.
65084         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65085         elf_ifunc_invoke.
65086         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65087         dl_hwcap to ifunc resolver.
65088         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65090 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65092         [BZ #14153]
65093         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65094         for |x| <= 2**-26, not 2**-57.
65095         * math/libm-test.inc (acos_test): Do not allow spurious underflow
65096         exception.
65098 2012-05-24  Jeff Law  <law@redhat.com>
65100         * stdio-common/Makefile (tests): Add bug25.
65101         * stdio-common/bug25.c: New test.
65103 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65105         [BZ #13576]
65106         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65107         multiple of MALLOC_ALIGNMENT in size.
65108         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65110 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65112         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65113         Require >= 256.
65114         (FILENAME_MAX): Use macro-int-constant.
65115         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
65116         (_IOFBF): Use macro-int-constant.
65117         (_IOLBF): Likewise.
65118         (_IONBF): Likewise.
65119         (SEEK_CUR): Likewise.
65120         (SEEK_END): Likewise.
65121         (SEEK_SET): Likewise.
65122         (TMP_MAX): Likewise.
65123         (EOF): Use macro-int-constant.  Require < 0.
65124         (NULL): Use macro-constant.  Require == 0.
65125         (stdin): Require type to be FILE *.
65126         (stdout): Likewise.
65127         (stderr): Likewise.
65128         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65129         macro-int-constant.
65130         (EXIT_SUCCESS): Likewise.
65131         (NULL): Use macro-constant.  Require == 0.
65132         (RAND_MAX): Use macro-int-constant.
65133         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65134         [C99-based standards] (strtof): Require function.
65135         [C99-based standards] (strtold): Likewise.
65136         [C99-based standards] (strtoll): Likewise.
65137         [C99-based standards] (strtoull): Likewise.
65138         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65139         [ISO || ISO99 || ISO11] (limits.h): Likewise.
65140         [ISO || ISO99 || ISO11] (math.h): Likewise.
65141         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65142         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65143         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65145 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65147         [BZ #14132]
65148         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65149         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65150         * intl/dgettext.c (DCGETTEXT): Likewise.
65151         * intl/gettext.c (DCGETTEXT): Likewise.
65152         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65153         * posix/regex_internal.h (gettext): Likewise.
65154         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65155         Remove declaration.
65156         * include/argz.h (__argz_count_internal)
65157         (__argz_stringify_internal): Remove declaration.
65158         (__argz_count, __argz_stringify): Declare hidden proto.
65159         * intl/dcgettext.c: Remove use of INTDEF.
65160         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65161         * string/argz-stringify.c: Likewise.
65162         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65163         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65164         Declare hidden proto.
65165         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65166         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65167         Declare hidden proto.
65168         * include/stdio.h (__asprintf_internal): Don't declare.
65169         (__asprintf): Don't define as macro.  Declare hidden proto.
65170         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65171         (__fsetlocking): Declare hidden proto.
65172         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65173         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65174         hidden proto.
65175         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65176         (_IO_setlinebuf): Remove use of INTUSE.
65177         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65178         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65179         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65180         Remove declaration.
65181         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65182         (_IO_do_flush): Remove use of INTUSE.
65183         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65184         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65185         (_IO_adjust_column, _IO_least_wmarker)
65186         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65187         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65188         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65189         (_IO_default_doallocate, _IO_wdefault_doallocate)
65190         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65191         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65192         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65193         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65194         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65195         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65196         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65197         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65198         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65199         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65200         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65201         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65202         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65203         proto.
65204         (_IO_flush_all_internal, _IO_adjust_column_internal)
65205         (_IO_default_uflow_internal, _IO_default_finish_internal)
65206         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65207         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65208         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65209         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65210         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65211         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65212         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65213         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65214         (_IO_file_close_internal, _IO_file_close_it_internal)
65215         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65216         (_IO_file_init_internal, _IO_file_attach_internal)
65217         (_IO_file_fopen_internal, _IO_file_read_internal)
65218         (_IO_file_sync_internal, _IO_file_seek_internal)
65219         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65220         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65221         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65222         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65223         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65224         (_IO_list_all_internal, _IO_link_in_internal)
65225         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65226         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65227         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65228         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65229         (_IO_do_write_internal, _IO_padn_internal)
65230         (_IO_getline_info_internal, _IO_getline_internal)
65231         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65232         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65233         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65234         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65235         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65236         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65237         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65238         with libc_hidden_ver, remove use of INTUSE.
65239         * libio/genops.c: Likewise.
65240         * libio/freopen.c: Likewise.
65241         * libio/freopen64.c: Likewise.
65242         * libio/iofclose.c: Likewise.
65243         * libio/iofdopen.c: Likewise.
65244         * libio/iofflush.c: Likewise.
65245         * libio/iofflush_u.c: Likewise.
65246         * libio/iofgets.c: Likewise.
65247         * libio/iofgets_u.c: Likewise.
65248         * libio/iofopen.c: Likewise.
65249         * libio/iofopncook.c: Likewise.
65250         * libio/iofread.c: Likewise.
65251         * libio/iofread_u.c: Likewise.
65252         * libio/ioftell.c: Likewise.
65253         * libio/iofwrite.c: Likewise.
65254         * libio/iogetline.c: Likewise.
65255         * libio/iogets.c: Likewise.
65256         * libio/iogetwline.c: Likewise.
65257         * libio/iopadn.c: Likewise.
65258         * libio/iopopen.c: Likewise.
65259         * libio/ioseekoff.c: Likewise.
65260         * libio/ioseekpos.c: Likewise.
65261         * libio/iosetbuffer.c: Likewise.
65262         * libio/iosetvbuf.c: Likewise.
65263         * libio/ioungetc.c: Likewise.
65264         * libio/ioungetwc.c: Likewise.
65265         * libio/iovdprintf.c: Likewise.
65266         * libio/iovsprintf.c: Likewise.
65267         * libio/iovsscanf.c: Likewise.
65268         * libio/memstream.c: Likewise.
65269         * libio/obprintf.c: Likewise.
65270         * libio/oldfileops.c: Likewise.
65271         * libio/oldiofclose.c: Likewise.
65272         * libio/oldiofdopen.c: Likewise.
65273         * libio/oldiofopen.c: Likewise.
65274         * libio/oldiopopen.c: Likewise.
65275         * libio/oldstdfiles.c: Likewise.
65276         * libio/putc.c: Likewise.
65277         * libio/setbuf.c: Likewise.
65278         * libio/setlinebuf.c: Likewise.
65279         * libio/stdfiles.c: Likewise.
65280         * libio/strops.c: Likewise.
65281         * libio/vasprintf.c: Likewise.
65282         * libio/vscanf.c: Likewise.
65283         * libio/vsnprintf.c: Likewise.
65284         * libio/vswprintf.c: Likewise.
65285         * libio/wfiledoalloc.c: Likewise.
65286         * libio/wfileops.c: Likewise.
65287         * libio/wgenops.c: Likewise.
65288         * libio/wmemstream.c: Likewise.
65289         * libio/wstrops.c: Likewise.
65290         * libio/__fpurge.c: Likewise.
65291         * libio/__fsetlocking.c: Likewise.
65292         * assert/assert.c: Likewise.
65293         * debug/fgets_chk.c: Likewise.
65294         * debug/fgets_u_chk.c: Likewise.
65295         * debug/fread_chk.c: Likewise.
65296         * debug/fread_u_chk.c: Likewise.
65297         * debug/gets_chk.c: Likewise.
65298         * debug/obprintf_chk.c: Likewise.
65299         * debug/vasprintf_chk.c: Likewise.
65300         * debug/vdprintf_chk.c: Likewise.
65301         * debug/vsnprintf_chk.c: Likewise.
65302         * debug/vsprintf_chk.c: Likewise.
65303         * malloc/mtrace.c: Likewise.
65304         * misc/error.c: Likewise.
65305         * misc/syslog.c: Likewise.
65306         * stdio-common/asprintf.c: Likewise.
65307         * stdio-common/fxprintf.c: Likewise.
65308         * stdio-common/getw.c: Likewise.
65309         * stdio-common/isoc99_fscanf.c: Likewise.
65310         * stdio-common/isoc99_scanf.c: Likewise.
65311         * stdio-common/isoc99_vfscanf.c: Likewise.
65312         * stdio-common/isoc99_vscanf.c: Likewise.
65313         * stdio-common/isoc99_vsscanf.c: Likewise.
65314         * stdio-common/printf-prs.c: Likewise.
65315         * stdio-common/printf_fp.c: Likewise.
65316         * stdio-common/printf_fphex.c: Likewise.
65317         * stdio-common/printf_size.c: Likewise.
65318         * stdio-common/putw.c: Likewise.
65319         * stdio-common/scanf.c: Likewise.
65320         * stdio-common/sprintf.c: Likewise.
65321         * stdio-common/tmpfile.c: Likewise.
65322         * stdio-common/vfprintf.c: Likewise.
65323         * stdio-common/vfscanf.c: Likewise.
65324         * stdlib/strfmon_l.c: Likewise.
65325         * sunrpc/openchild.c: Likewise.
65326         * sunrpc/xdr_stdio.c: Likewise.
65327         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65328         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65330 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65332         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65334         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65335         in the third column, to generate for the shared library an IFUNC
65336         that uses _dl_vdso_vsym.
65337         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65338         * Makeconfig (object-suffixes-noshared): New variable.
65340         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65341         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65342         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65343         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65345         [BZ #14132]
65346         * include/sys/time.h (__gettimeofday): Remove macro.
65347         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65348         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65349         Remove INTDEF.
65350         (__gettimeofday): Add libc_hidden_def.
65351         (gettimeofday): Add libc_hidden_weak.
65352         * sysdeps/mach/gettimeofday.c: Likewise.
65353         * sysdeps/posix/gettimeofday.c: Likewise.
65354         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65355         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65356         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65357         (__gettimeofday_internal): Remove strong_alias.
65358         (__gettimeofday): Add libc_hidden_def.
65359         (gettimeofday): Add libc_hidden_weak.
65360         * sysdeps/unix/syscalls.list (gettimeofday):
65361         Remove __gettimeofday_internal alias.
65363 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65364             H.J. Lu  <hongjiu.lu@intel.com>
65366         [BZ #12495]
65367         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65368         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65369         (largebin_index_32_big): New.
65370         (largebin_index): Use it for 16-byte alignment.
65371         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65372         correction with front_misalign.
65374 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65376         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65378         Likewise.
65379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65380         Likewise.
65381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65382         Likewise.
65383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65384         Likewise.
65385         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65386         Likewise.
65387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65388         Likewise.
65389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65390         Likewise.
65391         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65392         Likewise.
65393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65394         Likewise.
65395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65396         Likewise.
65397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65398         Likewise.
65399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65400         Likewise.
65402         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65403         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65405 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65407         [BZ #10846]
65408         [BZ #14036]
65409         * math/libm-test.inc (exp_test): Add test from bug 14036.
65410         (pow_test): Add test from bug 10846.
65412         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65413         and other flags.
65414         (special_function): Do not include flags in test name.
65415         (parse_args): Likewise.
65416         * sysdeps/i386/fpu/libm-test-ulps: Update.
65417         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65418         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65419         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65422         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65423         exceptions.
65424         * math/libm-test.inc ("Philosophy"): Update comment about
65425         exception testing.
65426         (UNDERFLOW_EXCEPTION): New macro.
65427         (UNDERFLOW_EXCEPTION_OK): Likewise.
65428         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65429         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65430         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65431         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65432         (INVALID_EXCEPTION_OK): Update value.
65433         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65434         (OVERFLOW_EXCEPTION_OK): Likewise.
65435         (IGNORE_ZERO_INF_SIGN): Likewise.
65436         (test_exceptions): Handle underflow exceptions.
65437         (acos_test): Update for underflow exception expectations.
65438         (cexp_test): Likewise.
65439         (clog_test): Likewise.
65440         (clog10_test): Likewise.
65441         (csqrt_test): Likewise.
65442         (ctan_test): Likewise.
65443         (ctanh_test): Likewise.
65444         (exp_test): Likewise.
65445         (exp10_test): Likewise.
65446         (exp2_test): Likewise.
65447         (expm1_test): Likewise.
65448         (fma_test): Likewise.
65449         (j0_test): Likewise.
65450         (jn_test): Likewise.
65451         (nexttoward_test): Likewise.
65452         (pow_test): Likewise.
65453         (scalbn_test): Likewise.
65454         (scalbln_test): Likewise.
65455         (tan_test): Likewise.
65456         (y1_test): Likewise.
65457         * sysdeps/i386/fpu/libm-test-ulps: Update.
65458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65460 2012-05-23  David S. Miller  <davem@davemloft.net>
65462         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65463         (__libc_sigaction): Remove unused local variables.
65465 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65467         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65469 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65471         mktime: avoid signed integer overflow
65472         * time/mktime.c (__mktime_internal): Do not mishandle the case
65473         where diff == INT_MIN.
65475         mktime: simplify computation of average
65476         * time/mktime.c (ranged_convert): Use new time_t_avg function
65477         instead of rolling our own (probably-slower) code.
65479         mktime: do not assume signed right shift propagates sign bit
65480         * time/mktime.c (isdst_differ): New static function.
65481         (__mktime_internal): No need to normalize tm_isdst now.
65482         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65483         tm_isdst values.
65485         mktime: merge another wrapv change from gnulib
65486         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65487         from some compilers.
65489         mktime: remove incorrect attempt at unusual arithmetics
65490         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65491         The code didn't really work on such machines anyway.
65492         (TYPE_MINIMUM): Assume two's complement.
65493         (twos_complement_arithmetic): Verify that long_int and time_t
65494         are two's complement (or unsigned, in the latter case).
65496         mktime: check signed shifts on long_int and time_t, too
65497         * time/mktime.c (SHR): Check that shifts work as desired
65498         on the types long_int and time_t too, as SHR is used on
65499         such types.
65501         mktime: do not assume 'long' is wide enough
65502         * time/mktime.c (verify): Move decl up.
65503         (long_int): New type.
65504         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65505         to remove assumption in the code that 'long' is wide enough to
65506         store year values.  This assumption is not true on x32 and on
65507         some non-glibc platforms.
65509         mktime: merge wrapv change from gnulib
65510         * time/mktime.c (WRAPV): New macro.
65511         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65512         (guess_time_tm, __mktime_internal): Do not assume that signed
65513         integer overflow wraps around; modern compilers generate code
65514         where this assumption is no longer valid.
65516 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65518         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65519         Replace "jmp L(pseudo_end)" with "ret".
65520         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65521         Likewise.
65523 2012-05-23  Andreas Jaeger  <aj@suse.de>
65525         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65526         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65528 2012-05-23  Andreas Jaeger  <aj@suse.de>
65529             Maximilian Attems  <max@stro.at>
65531         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65532         New macros.
65534 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65536         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65537         code so that pseudo_end is just ret and the stack pointer is
65538         correct also for static library in error case.
65540 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65542         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65543         move to syscalls.list.
65544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65549         * manual/install.texi (Running make install): Do not mention Linux
65550         kernel version for which pt_chown is not needed.
65551         (Linux): Do not mention problems with nscd with 2.0 kernels.
65552         * INSTALL: Regenerated.
65554 2012-05-23  Andreas Jaeger  <aj@suse.de>
65556         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65557         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65558         macro.
65559         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65560         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65561         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65562         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65563         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65564         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65565         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65566         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65567         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65568         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65569         * sysdeps/unix/sysv/linux/bits/in.h
65570         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65572 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65574         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65575         (PREPARE_VERSION): Just use assert instead, it will be elided
65576         under [NDEBUG] anyway.
65578 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65580         * sysdeps/unix/sysv/linux/Makefile: Include
65581         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65582         (sysdep_routines): Remove sysctl.
65583         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65584         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65585         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65586         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65587         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65589 2012-05-22  Andreas Jaeger  <aj@suse.de>
65591         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65592         that pseudo_end is just ret and the stack pointer is correct also
65593         for static library in error case.
65595 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65597         [BZ #14122]
65598         * nss/nsswitch.c (defconfig_entries): New variable.
65599         (__nss_database_lookup): Don't leak defconfig entries.
65600         (nss_parse_service_list): Don't leak on error paths.
65601         (free_database_entries): New function.
65602         (free_defconfig): New function.
65603         (free_mem): Move common code to free_database_entries.
65605 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65607         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65608         Add arch_prctl.
65609         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65611         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65612         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65613         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65614         New macro.
65615         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65616         (INTERNAL_SYSCALL_TYPES): Likewise.
65617         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65618         (LOAD_REGS_TYPES_[1-6]): Likewise.
65619         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65620         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65622 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65624         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65625         copysignl for GLIBC_2_0.
65626         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65627         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65628         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65629         logbl for GLIBC_2_0.
65630         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65631         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65633 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65635         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65636         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65638         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65639         Use "neg %eax".
65641         * time/mktime.c: Update copyright years.
65643 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65645         mktime: merge comment-quoting-style change from gnulib
65646         * time/mktime.c: Quote 'like this' in comments.
65647         The GNU coding standards suggest that we no longer quote `like this',
65648         as "`" and "'" are typically rendered asymmetrically nowadays.
65649         The typical gnulib style is to quote 'like this' when quoting
65650         code, and "like this" when quoting English.
65652         * time/mktime.c (compile-command): Add "-I.".
65654         mktime: merge mktime-internal.h change from gnulib
65655         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65657         mktime: merge time_r change from gnulib
65658         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65660         mktime: merge DEBUG change from gnulib
65661         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65662         case system <time.h> has a #define.
65664         mktime: merge <sys/types.h> change from gnulib
65665         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65666         since <time.t> is now guaranteed to define time_t.
65668         mktime: merge HAVE_CONFIG_H change from gnulib
65669         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65671 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65673         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65674         Use "neg %eax".
65676         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65677         __rlim_t cast.
65678         (struct rusage): Use anonymous union to pad each field to
65679         __syscall_slong_t.
65681 2012-05-21  David S. Miller  <davem@davemloft.net>
65683         * Makefules (o-iterator): Remove .s cases.
65684         (compile-command.s): Delete.
65685         (COMPILE.s): Delete.
65686         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65688 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65690         * configure.in (libc_cv_predef_stack_protector): Only consider
65691         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65692         * configure: Regenerated.
65694 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65696         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65697         New macro.  Use R*LP on int and pointer.
65698         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65699         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65700         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65701         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65703         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65704         [__WORDSIZE_TIME64_COMPAT32] instead of
65705         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65706         (struct utmp): Likewise.
65707         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65708         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65709         Renamed to ...
65710         (__WORDSIZE_TIME64_COMPAT32): This.
65711         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65712         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65713         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65714         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65715         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65716         (__WORDSIZE_TIME64_COMPAT32): New macro.
65718 2012-05-21  Andreas Jaeger  <aj@suse.de>
65720         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65721         only if [SHARED]. Add prototype for __wcschr_ia32.
65723 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65725         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65726         of %rbp unmolested in the jmp_buf while mangling the low bits.
65727         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65728         unmolested high bits of %rbp while demangling the low bits.
65729         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65731 2012-05-21  Andreas Jaeger  <aj@suse.de>
65733         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65734         * sunrpc/svc_simple.c: Use it for registerrpc.
65735         * sunrpc/xcrypt.c: Use it for passwd2des.
65737         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65739 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65741         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65742         Don't define if [__SYSCALL_WORDSIZE != 32].
65743         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65744         New macro.
65746 2012-05-21  Bruno Haible  <bruno@clisp.org>
65747             Andreas Jaeger  <aj@suse.de>
65749         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65750         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65751         inptr and inend for must_buffer_ch.
65752         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65753         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65754         * stdio-common/Makefile (tests): Remove bug15.
65755         (bug15-ENV): Remove macro.
65756         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65757         anymore.
65759 2012-05-19  Andreas Jaeger  <aj@suse.de>
65760             Roland McGrath  <roland@hack.frob.com>
65762         * manual/contrib.texi: Completely rewritten. It contains now an
65763         alphabetical list of contributors and their contributions.
65765 2012-05-21  Richard Henderson  <rth@twiddle.net>
65767         * misc/getauxval.c (__getauxval): Use unsigned long int.
65768         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65769         (getauxval): Use unsigned long int.
65771 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65773         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65775 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65777         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65778         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65779         __alignof__ (long double).
65781 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65785 2012-05-20  Richard Henderson  <rth@twiddle.net>
65787         * misc/getauxval.c: New file.
65788         * misc/sys/auxv.h: New file.
65789         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65790         (routines): Add getauxval.
65791         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65792         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65793         * elf/dl-sysdep.c (_dl_auxv): Remove.
65794         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65795         * elf/dl-support.c (_dl_auxv): New variable.
65796         (_dl_aux_init): Initialize it.
65797         * manual/startup.texi (Auxiliary Vector): New node.
65798         * sysdeps/generic/bits/hwcap.h: New file.
65799         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65800         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65801         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65802         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65803         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65804         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65806         Update.
65807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65810         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65816 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65820 2012-05-19  David S. Miller  <davem@davemloft.net>
65822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65824 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65826         [BZ #14123]
65827         * math/s_ccosh.c: Include <float.h>
65828         (__ccosh): Avoid internal overflow calculating sinh and cosh
65829         values before multiplying by sin and cos values.
65830         * math/s_ccoshf.c: Likewise.
65831         * math/s_ccoshl.c: Likewise.
65832         * math/s_csin.c: Likewise.
65833         * math/s_csinf.c: Likewise.
65834         * math/s_csinl.c: Likewise.
65835         * math/s_csinh.c: Likewise.
65836         * math/s_csinhf.c: Likewise.
65837         * math/s_csinhl.c: Likewise.
65838         * math/libm-test.inc (ccos_test): Add more tests.
65839         (ccosh_test): Likewise.
65840         (csin_test): Likewise.
65841         (csinh_test): Likewise.
65842         * sysdeps/i386/fpu/libm-test-ulps: Update.
65843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65845 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65847         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65848         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65850         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65852 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65854         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65855         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65856         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65857         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65858         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65859         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65860         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65861         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65862         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65863         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65864         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65865         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65866         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65867         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65868         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65869         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65870         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65871         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65872         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65873         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65874         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65875         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65876         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65877         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65878         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65879         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65880         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65881         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65882         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65883         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65884         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65886 2012-05-18  Andreas Jaeger  <aj@suse.de>
65888         * csu/.gitignore: Delete.
65890 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65892         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65893         (timex): Use __syscall_slong_t.
65895 2012-05-18  Andreas Jaeger  <aj@suse.de>
65896             Carlos O'Donell  <carlos_odonell@mentor.com>
65898         * manual/install.texi (Configuring and compiling): Update
65899         description about files modified in the source directory.
65900         * INSTALL: Regenerated.
65902 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65904         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65905         value.  Use "or" to set return value to -1.
65906         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65907         negate return value.
65909 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65911         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65912         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65913         failure if the compiler has Graphite support disabled.
65914         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65915         Likewise.
65916         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65917         (CFLAGS-memmove.c): Likewise.
65918         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65919         Likewise.
65921 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65923         * sysdeps/x86_64/x32/_itoa.h: New file.
65925         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65926         getdents system call only if kernel and user dirents have the
65927         same d_ino and d_off.
65929         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65930         LLONG_MAX != LONG_MAX.
65931         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65932         (_fitoa_word): Likewise.
65934         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65935         years.
65936         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65937         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65938         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65940         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65941         include <bits/wordsize.h>.  Check __x86_64__ instead of
65942         __WORDSIZE.
65943         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65944         if __x86_64__ is defined.  Use anonymous union on fpstate.
65946         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65947         anonymous union.
65949 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65951         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65952         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65953         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65954         Refer to _rtld_local_ro instead of _rtld_global_ro.
65955         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65956         Likewise.
65957         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65958         Likewise.
65959         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65960         Likewise.
65961         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65962         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65963         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65965         [BZ #10882]
65966         * sysdeps/powerpc/powerpc32/dl-machine.c
65967         (__elf_machine_runtime_setup) [PROF]: Don't reference
65968         _dl_prof_resolve.
65970 2012-05-18  Andreas Jaeger  <aj@suse.de>
65972         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65973         function only available for GCCs before 3.4 since GCC 3.4
65974         introduced a builtin.
65975         (lrint): Likewise.
65976         (llrintf): Likewise.
65977         (llrint): Likewise.
65978         (fmaxf): Likewise.
65979         (fmax): Likewise.
65980         (fminf): Likewise.
65981         (fmin): Likewise.
65982         (rint): Likewise.
65983         (rintf): Likewise.
65984         (nearbyint): Likewise.
65985         (nearbyintf): Likewise.
65986         (ceil): Likewise.
65987         (ceilf): Likewise.
65988         (floor): Likewise.
65989         (floorf): Likewise.
65991 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65993         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65994         on both fields and cast pointer to __syscall_ulong_t.
65996         * bits/types.h (__fsword_t): New type.
65997         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65998         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65999         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66000         (__FSWORD_T_TYPE): Likewise.
66001         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66002         (__FSWORD_T_TYPE): Likewise.
66003         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66004         (__FSWORD_T_TYPE): Likewise.
66005         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66006         (__FSWORD_T_TYPE): Likewise.
66007         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66008         __SWORD_TYPE with __fsword_t.
66009         (statfs64): Likewise.
66011 2012-05-17  David S. Miller  <davem@davemloft.net>
66013         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66015 2012-05-17  Andreas Jaeger  <aj@suse.de>
66017         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66018         warning.
66020 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66022         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66024 2012-05-17  Andreas Jaeger  <aj@suse.de>
66026         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66027         when it is used.
66029 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66031         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66033 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66035         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66036         * sysdeps/x86_64/tst-mallocalign1.c: New file.
66038 2012-05-17  Andreas Jaeger  <aj@suse.de>
66039             Carlos O'Donell  <carlos_odonell@mentor.com>
66041         [BZ #14059]
66042         * sysdeps/x86_64/multiarch/init-arch.h
66043         (bit_YMM_Usable): Rename to...
66044         (bit_AVX_Usable): ... this.
66045         (bit_FMA4_Usable): New macro.
66046         (bit_XMM_state): New macro.
66047         (bit_YMM_state): New macro.
66048         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66049         [__ASSEMBLER__] (index_AVX_Usable): ... this.
66050         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66051         (CPUID_OSXSAVE): New macro.
66052         (CPUID_AVX): New macro.
66053         (CPUID_FMA4): New macro.
66054         (index_YMM_Usable): Rename to...
66055         (index_AVX_Usable): ... this.
66056         (HAS_AVX): Use HAS_ARCH_FEATURE.
66057         (HAS_FMA4): Likewise.
66058         (HAS_YMM_USABLE): Remove.
66059         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66060         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66061         are present.
66062         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66063         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66064         * sysdeps/x86_64/multiarch/Makefile: Likewise.
66065         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66066         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66068 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66070         * math/libm-test.c: Support platforms without multiple rounding modes.
66071         * math/bug-nextafter.c: Support platforms without FP exceptions.
66072         * math/bug-nexttoward.c: Likewise.
66073         * math/test-fenv.c: Likewise.
66074         * math/test-misc.c: Likewise.
66075         * stdlib/bug-getcontext.c: Likewise.
66077 2012-05-17  Andreas Jaeger  <aj@suse.de>
66079         * manual/examples/search.c (critter_cmp): Change signature to
66080         avoid warnings.
66081         * manual/string.texi (Collation Functions): Likewise.
66083 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66085         * bits/types.h: Fold copyright years.
66086         * bits/typesizes.h: Likewise.
66087         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66088         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66089         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66090         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66091         * time/time.h: Likewise.
66093 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
66095         [BZ #208]
66096         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66097         in instead of returning them.  Return void.
66098         (__libc_mallinfo): Accumulate over all arenas.
66099         (__malloc_stats): Adjust for change in int_mallinfo interface.
66101 2012-05-16  Roland McGrath  <roland@hack.frob.com>
66103         [BZ #10375]
66104         * configure.in (NM): Add AC_CHECK_TOOL for it.
66105         (libc_extra_cflags): New substituted variable.
66106         Check for -fstack-protector being used implicitly.
66107         * configure: Regenerated.
66108         * config.make.in (config-extra-cflags): New variable,
66109         gets @libc_extra_cflags@.
66110         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66112         [BZ #10375]
66113         * configure.in: Check for _FORTIFY_SOURCE being predefined.
66114         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66115         * configure: Regenerated.
66116         * config.make.in (CPPUNDEFS): New substituted variable.
66117         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66118         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66119         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66121 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66123         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66124         (mq_attr): Use __syscall_slong_t.
66126 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66128         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66129         Check __x86_64__ instead of __WORDSIZE.
66130         (_STAT_VER_LINUX): Likewise.
66131         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
66132         __syscall_ulong_t and __syscall_slong_t.
66133         (stat64): Likewise.
66135 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66137         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66139 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66141         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66143 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66145         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66146         __syscall_ulong_t.
66148         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66149         include <bits/wordsize.h>.  Check __x86_64__ instead of
66150         __WORDSIZE.
66151         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66152         defined.
66153         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66155         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66156         include <bits/wordsize.h>.  Check __x86_64__ instead of
66157         __WORDSIZE.
66158         (user_regs_struct): Use "__extension__ unsigned long long"
66159         instead of "unsigned long" if __x86_64__ is defined.
66160         (user): Likewise.  Pad after pointer field if __ILP32__ is
66161         defined.
66163 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66165         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66166         versions 5 to 9.
66167         * configure: Regenerated.
66168         * manual/install.texi (texinfo): Increase version requirement to
66169         4.5 or later.
66170         * INSTALL: Regenerated.
66172         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66174 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66176         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66178         * sysdeps/x86_64/x32/ffs.c: New file.
66180         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66181         __syscall_ulong_t.
66182         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66183         defined.  Use __syscall_ulong_t.
66184         (shminfo): Use __syscall_ulong_t.
66185         (shm_info): Likewise.
66187         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66188         __syscall_ulong_t.
66190         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66191         <bits/wordsize.h>.
66192         (msgqnum_t): Use __syscall_ulong_t.
66193         (msglen_t): Likewise.
66194         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66195         __syscall_ulong_t.
66197         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66198         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66200         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66202         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66203         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66205         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66206         __syscall_slong_t.
66208         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66209         include <bits/wordsize.h>.  Check __x86_64__ instead of
66210         __WORDSIZE.
66212         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66213         "unsigned long long int" if __x86_64__ is defined.
66214         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66216         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66217         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66218         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66220         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66221         <stdint.h>.
66222         (GET_PC): Cast to uintptr_t first.
66223         (GET_FRAME): Likewise.
66224         (GET_STACK): Likewise.
66226         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66227         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66228         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66229         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66230         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66231         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66232         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66233         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66234         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66235         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66236         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66237         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66238         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66239         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66240         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66241         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66242         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66243         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66244         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66245         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66246         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66247         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66248         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66249         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66250         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66251         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66252         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66253         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66254         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66256 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66258         * Makerules (+depfiles): Also collect depfiles from .oS in
66259         $(extra-objs).
66260         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66261         .oS, $(libnldbl-routines)).
66263         * Makerules (native-compile-mkdep-flags): Define.
66264         * sunrpc/Makefile (extra-objs): Add $(addprefix
66265         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66266         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66267         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66268         calling $(make-target-directory).
66270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66272         * bits/types.h (__snseconds_t): Removed.
66273         * time/time.h (struct timespec): Replace __snseconds_t with
66274         __syscall_slong_t.
66275         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66276         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66277         Likewise.
66278         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66279         (__SNSECONDS_T_TYPE): Likewise.
66280         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66281         (__SNSECONDS_T_TYPE): Likewise.
66282         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66283         (__SNSECONDS_T_TYPE): Likewise.
66285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66287         * sysdeps/mach/hurd/bits/typesizes.h
66288         (__SYSCALL_SLONG_TYPE): New macro.
66289         (__SYSCALL_ULONG_TYPE): Likewise.
66291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66293         * bits/types.h (__syscall_slong_t): New type.
66294         (__syscall_ulong_t): Likewise.
66296         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66297         (__SYSCALL_ULONG_TYPE): Likewise.
66298         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66299         (__SYSCALL_SLONG_TYPE): Likewise.
66300         (__SYSCALL_ULONG_TYPE): Likewise.
66301         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66302         (__SYSCALL_SLONG_TYPE): Likewise.
66303         (__SYSCALL_ULONG_TYPE): Likewise.
66304         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66305         (__SYSCALL_SLONG_TYPE): Likewise.
66306         (__SYSCALL_ULONG_TYPE): Likewise.
66308 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66310         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66311         Add sigaltstack-offsets.sym.
66312         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66313         <sigaltstack-offsets.h>.
66314         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66315         longjmp_msg pointer.
66316         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66317         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66318         signal stack.
66319         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66321 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66323         * elf/stackguard-macros.h: Remove file.
66324         * sysdeps/generic/stackguard-macros.h: New file.
66325         * sysdeps/i386/stackguard-macros.h: Likewise.
66326         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66327         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66328         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66329         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66330         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66331         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66332         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66333         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66334         <elf/stackguard-macros.h>.
66336         [BZ #14109]
66337         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66338         __aligned__ in attribute.
66339         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66340         (gregset_t): Likewise.
66342 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66344         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66345         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66346         * sysdeps/x86_64/x32/Implies-after: New file.
66348 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66350         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66351         and access return value for _dl_profile_fixup.  Use R10_LP to
66352         load frame size.
66354 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66356         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66358 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66360         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66361         * sysdeps/x86_64/x32/sysdep.h: New file.
66363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66365         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66366         * sysdeps/x86_64/setjmp.S: Likewise.
66368 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66370         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66371         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66372         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66373         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66374         remove unused global constant.
66376 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66378         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66379         include of <not-cancel.h>.
66381 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66383         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66385 2012-05-15  Jeff Law  <law@redhat.com>
66386             Andreas Jaeger  <aj@suse.de>
66388         [BZ #13594]
66389         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66390         out from...
66391         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66392         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66393         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66394         code changing __hst_map_handle.map.
66396 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66398         * configure.in (sysnames): Look for Implies-before and Implies-after
66399         files.
66400         * configure: Regenerated.
66402 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66404         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66405         8-byte data alignment with LP_SIZE alignment.
66407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66409         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66410         into R10_LP.
66412 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66414         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66418         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66419         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66420         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66421         Likewise.
66422         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66426         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66427         (stackinfo_sub_sp): Likewise.
66429 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66431         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66432         RAX_LP.
66434 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66436         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66437         into R*_LP.
66439 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66441         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66442         sizes into R*_LP.
66444 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66446         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66450         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66451         into R11_LP and load __x86_64_shared_cache_size_half into
66452         R8_LP.
66454 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66456         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66457         R8_LP.
66459 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66461         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66462         logb for POWER7.
66463         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66464         logbf for POWER7.
66465         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66466         logbl for POWER7.
66467         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66468         powerpc32/power7/fpu/s_logb.c via #include.
66469         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66470         powerpc32/power7/fpu/s_logbf.c via #include.
66471         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66472         powerpc32/power7/fpu/s_logbl.c via #include.
66474 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66476         * README.libm: Remove file.
66478 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66480         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66481         count for x32.  Use R*_LP and omit operand-size suffix.
66483 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66485         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66486         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66487         * sysdeps/x86_64/x32/shlib-versions: New file.
66489 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66491         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66492         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66493         Use _dl_fatal_printf instead.
66495 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66497         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66498         set if not set by the user.  Do not allow for being unset.
66499         * sysdeps/unix/sysv/linux/configure: Regenerated.
66501 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66503         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66504         the `q' suffix from lea and replace .quad with ASM_ADDR.
66506 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66508         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66509         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66510         instead of $17.
66511         (PTR_DEMANGLE): Likewise.
66513 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66515         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66516         (LP_OP): Likewise.
66517         (ASM_ADDR): Likewise.
66518         (RAX_LP): Likewise.
66519         (RBP_LP): Likewise.
66520         (RBX_LP): Likewise.
66521         (RCX_LP): Likewise.
66522         (RDI_LP): Likewise.
66523         (RSI_LP): Likewise.
66524         (RSP_LP): Likewise.
66525         (R8_LP): Likewise.
66526         (R9_LP): Likewise.
66527         (R10_LP): Likewise.
66528         (R10_LP): Likewise.
66529         (R11_LP): Likewise.
66530         (R12_LP): Likewise.
66531         (R13_LP): Likewise.
66532         (R14_LP): Likewise.
66533         (R15_LP): Likewise.
66535 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66537         * sysdeps/x86_64/x32/dl-machine.h: New file.
66539 2012-05-14  Andreas Jaeger  <aj@suse.de>
66541         * manual/Makefile (subdir): Remove export of subdir.
66542         (all): Remove target.
66543         (.PHONY): Remove all from list.
66544         (mkinstalldirs): Remove.
66545         (.PHONY): Remove installdirs from list.
66546         ($(inst_infodir)/libc.info): Use make-target-directory.
66547         (installdirs): Remove.
66548         (subdir_%): Remove.
66549         (glibc-targets): Remove.
66550         (lib): Remove.
66551         (stubs): Remove.
66552         ($(objpfx)stubs ../po/manual.pot): Remove.
66553         ($(objpfx)stamp%): Remove.
66554         (make-target-directory): Remove.
66555         (subdir_install): Remove.
66556         (routines): Remove.
66557         (aux): Remove.
66558         (sources): Remove.
66559         (objects): Remove.
66560         (headers): Remove.
66562         [BZ #13750]
66563         * manual/.gitignore: Remove, it's not needed anymore.
66564         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66565         all files in it.
66566         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66567         directory.
66568         (texis): Renamed to $(objpfx)texis.
66569         (texis-path): New, contains path to generated files.
66570         (chapters.%): Use texis-path for complete path, add extra argument
66571         libc-texinfo.sh.
66572         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66573         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66574         (summary,texi, stamp-summary): Use complete path of
66575         files. Generate files in build dir.
66576         (dir-add.texi): Build in build dir.
66577         (libm-err.texi,stamp-libm-err): Likewise.
66578         (version.texi, stamp-version): Likewise.
66579         (.%c.texi): Likewise.
66580         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66581         (mostlyclean): Remove target.
66582         (realclean): Remove target.
66583         (generated): Add new variable with contents from mostlyclean and
66584         realclean, remove entries duplicated in common-mostlyclean, add
66585         stamp-libm-err and stamp-version.
66586         (generated-dirs): Add libc directory.
66587         ($(inst_infodir)/libc.info): Install files from build dir.
66589         * manual/install.texi (Configuring and compiling): Adjust since
66590         the info files are not part of the tar ball anymore.
66592 2012-05-14  Andreas Jaeger  <aj@suse.de>
66594         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66595         variable.
66597 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66599         [BZ #13717]
66600         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66601         to 2.2.0 where earlier.
66602         * sysdeps/unix/sysv/linux/configure: Regenerated.
66603         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66604         Remove conditional code.
66605         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66606         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66607         Remove conditional code.
66608         [!__NR_lchown]: Likewise.
66609         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66610         [__NR_lchown]: Likewise.
66611         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66612         comment referencing __ASSUME_LCHOWN_SYSCALL.
66613         * sysdeps/unix/sysv/linux/i386/sigaction.c
66614         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66615         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66616         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66617         Remove conditional code.
66618         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66619         (__protocol_available): Remove #if 0 code.
66620         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66621         conditional code.
66622         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66623         * sysdeps/unix/sysv/linux/kernel-features.h
66624         (__ASSUME_GETCWD_SYSCALL): Don't define.
66625         (__ASSUME_REALTIME_SIGNALS): Likewise.
66626         (__ASSUME_PREAD_SYSCALL): Likewise.
66627         (__ASSUME_PWRITE_SYSCALL): Likewise.
66628         (__ASSUME_POLL_SYSCALL): Likewise.
66629         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66630         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66631         non-SPARC.
66632         (__ASSUME_SIOCGIFNAME): Don't define.
66633         (__ASSUME_MSG_NOSIGNAL): Likewise.
66634         (__ASSUME_SENDFILE): Define unconditionally.
66635         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66636         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66637         conditional code.
66638         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66639         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66640         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66641         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66642         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66643         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66644         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66646         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66647         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66649         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66650         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66652         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66653         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66655         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66656         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66658         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66659         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66661         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66662         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66664         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66665         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66667         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66668         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66669         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66670         Remove conditional code.
66671         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66672         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66673         Remove conditional code.
66674         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66675         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66676         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66677         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66678         Remove conditional code.
66679         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66680         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66681         Remove conditional code.
66682         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66683         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66684         Remove conditional code.
66685         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66686         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66687         Remove conditional code.
66688         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66689         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66690         Remove conditional code.
66691         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66692         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66693         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66694         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66695         * sysdeps/unix/sysv/linux/sigaction.c
66696         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66697         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66698         * sysdeps/unix/sysv/linux/sigpending.c
66699         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66700         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66701         * sysdeps/unix/sysv/linux/sigprocmask.c
66702         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66703         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66704         * sysdeps/unix/sysv/linux/sigsuspend.c
66705         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66706         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66707         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66708         (__libc_missing_rt_sigs): Remove.
66709         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66710         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66711         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66712         Remove conditional code.
66713         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66714         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66715         return 1.
66716         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66717         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66718         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66719         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66721 2012-05-14  Andreas Jaeger  <aj@suse.de>
66723         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66724         it's not used in glibc.
66725         (__coshm1): Likewise.
66726         (__acosh1p): Likewise.
66727         (__sgn): Likewise.
66729         * manual/string.texi (Copying and Concatenation): Add missing
66730         variable in concat example.
66731         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66733 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66735         [BZ #14103]
66736         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66737         __builtin_clzl with __builtin_clzll.
66739 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66741         [BZ #14104]
66742         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66743         libc_freeres_ptr.
66745 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66747         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66748         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66749         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66750         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66752 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66754         * NEWS: Update ia64 info.
66756 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66758         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66759         used as bcopy.
66761 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66763         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66764         * sysdeps/unix/syscalls.list (dup3): Likewise.
66765         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66766         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66768 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66770         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66771         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66773 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66775         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66776         thread pointer.
66777         (TLS_IE): Use mov/add instead of movq/addq to load thread
66778         pointer.
66779         (TLS_GD_PREFIX): New.
66780         (TLS_GD): Use it.
66782 2012-05-11  David S. Miller  <davem@davemloft.net>
66784         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66785         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66786         (_FPU_SETCW): Likewise.
66788 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66790         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66791         is 32-byte aligned.
66793 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66795         [BZ #11837]
66796         * iconvdata/gb18030.c: Update tables.
66797         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66798         characters specially.
66799         (BODY for TO_LOOP): Add encoding of missing ranges.
66801 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66803         [BZ #13673]
66804         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66805         * sysdeps/mach/hurd/dup3.c: Likewise.
66806         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66807         * sysdeps/powerpc/memmove.c:: Likewise.
66809 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66811         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66812         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66814 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66816         * elf/elf.h (R_X86_64_RELATIVE64): New.
66817         (R_X86_64_NUM): Updated.
66818         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66819         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66820         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66821         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66822         tst-quad1pie tst-quad2pie
66823         (modules-names): Add tst-quadmod1 tst-quadmod2.
66824         ($(objpfx)tst-quad1): New dependency.
66825         ($(objpfx)tst-quad2): Likewise.
66826         ($(objpfx)tst-quad1pie): Likewise.
66827         ($(objpfx)tst-quad2pie): Likewise.
66828         * sysdeps/x86_64/tst-quad1.c: New file.
66829         * sysdeps/x86_64/tst-quad1pie.c: New file.
66830         * sysdeps/x86_64/tst-quad2.c: Likewise.
66831         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66832         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66833         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66834         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66835         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66837 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66839         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66840         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66841         * streams/stropts.h (t_scalar_t): Define type.
66843         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66844         (_PATH_PRESERVE): Set to "/var/lib".
66845         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66847         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66848         instead of int.
66850         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66851         if __dir_mkfile succeeded.
66853         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66854         checking for _hurd_dtablesize.  Unlock it right after having
66855         finished _hurd_dtable allocation.
66857 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66859         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66860         * sysdeps/mach/hurd/configure: Regenerated.
66861         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66862         special-casing to...
66863         * sysdeps/gnu/configure.in: ... this new file.
66864         * sysdeps/unix/sysv/linux/configure: Regenerated.
66865         * sysdeps/gnu/configure: New generated file.
66867         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66868         for Linux: use nsec instead of usec, as well as:
66869         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66870         members of type struct timespec.
66871         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66872         New macros.
66873         (struct stat64): Likewise.
66874         (_STATBUF_ST_NSEC): New macro.
66875         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66877         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66878         __strtoul_internal rather than strtoul.
66880 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66882         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66883         and reject them.
66885 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66887         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66888         which preserves existing values.
66889         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66891 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66893         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66894         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66895         greater than FD_SETSIZE.
66897 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66899         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66900         allocated, call __vm_protect to finish enabling the existing space, and
66901         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66902         allocate the remainder.
66904 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66906         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66907         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66911         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66912         sysdeps/mach/hurd/readlink.c.
66914         * posix/tst-sysconf.c (posix_options): Only use
66915         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66916         _POSIX_SYNCHRONIZED_IO when they are defined
66917         * sysdeps/mach/hurd/bits/posix_opt.h:
66918         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66919         (_XOPEN_REALTIME): Undefine macro.
66920         (_XOPEN_REALTIME_THREADS): Undefine macro.
66921         (_XOPEN_SHM): Undefine macro.
66922         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66923         macro to -1.
66924         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66925         macro to -1.
66926         (_POSIX_ASYNC_IO): Undefine macro.
66927         (_POSIX_PRIORITIZED_IO): Undefine macro.
66928         (_POSIX_SPIN_LOCKS): Define macro to -1.
66930         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66931         SA_NODEFER, SA_RESETHAND.
66932         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66933         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66934         F_DUPFD_CLOEXEC.
66936 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66938         * elf/Makefile (pldd-modules): Define unconditionally.
66940 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66942         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66944 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66946         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66947         Return ENOENT when name is empty.
66948         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66950 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66952         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66954         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66956 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66958         Fix mlock in all cases except non-readable pages.
66959         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66960         instead of VM_PROT_ALL as parameter to __vm_wire function.
66962         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66963         (__mkdir): When path is `/', just fail with EEXIST.
66964         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66966 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66968         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66969         <sys/uio.h> (for writev).
66970         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66971         and <sys/param.h> (for MIN).
66973 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66975         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66976         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66977         if interrupted.
66979 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66981         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66982         Depend on against $(link-rpcuserlibs).
66984 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66986         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66987         (__libc_stack_end): Do not use attribute_relro.
66988         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66989         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66990         to libthread-provided value.
66991         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66992         attribute_relro.
66994 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66996         [BZ #3748]
66997         * bits/libc-lock.h (__libc_once_get): New macro.
66998         * sysdeps/mach/bits/libc-lock.h: Likewise.
66999         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67000         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67001         instead of using implementation details.
67003         * libio/fileops.c: Unconditionally include <kernel-features.h>.
67004         * libio/freopen.c: Likewise.
67005         * libio/freopen64.c: Likewise.
67006         * misc/syslog.c: Likewise.
67007         * nscd/connections.c: Likewise.
67008         * nscd/netgroupcache.c: Likewise.
67009         * sysdeps/posix/getcwd.c: Likewise.
67011 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67013         * math/w_ilogbf.c: Add #include <limits.h>.
67015 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67017         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67018         path instead of returning without unlocking.
67020         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67021         immediate-write ioctls.
67022         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67024 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67026         * sysdeps/mach/hurd/i386/init-first.c (init): Use
67027         __builtin_frame_address instead of making assumptions about the
67028         location of the return address relative to DATA.  Force early load of
67029         the return address.
67030         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67031         __builtin_frame_address.
67033         dup3 for GNU Hurd.
67034         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67035         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
67036         implement dup3 and do some further code clean-ups.
67037         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67038         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67040 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67042         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67044         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67045         HURD_CRITICAL_END around holding _hurd_dtable_lock.
67046         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67047         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67048         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67049         d->port.lock.
67051         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67052         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
67053         when handler == SIG_ERR, not when handler != SIG_ERR.
67055 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67057         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67058         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67059         definitions.
67061         accept4 for GNU Hurd.
67062         * include/sys/socket.h (__libc_accept4): New prototype.
67063         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
67064         to implement __libc_accept4.
67065         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67066         __libc_accept4.
67067         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67069         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67070         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67071         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67072         signal-defines.sym.
67074 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67076         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67078 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67080         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67081         assertion on O_CLOEXEC flag.
67082         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67083         * hurd/intern-fd.c: Likewise.
67084         * hurd/port2fd.c: Likewise.
67086 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67088         [BZ #3906]
67089         * bits/in.h (IPV6_PKTINFO): Define new macro.
67090         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67092 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67094         [BZ #13954]
67095         [BZ #13955]
67096         [BZ #13956]
67097         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67098         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67099         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67100         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67101         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67102         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67103         * math/libm-test.inc (logb_test) : Additional logb tests.
67105 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
67106             Andreas Jaeger  <aj@suse.de>
67108         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67109         * configure: Regenerated.
67110         * config.h.in (LINK_OBSOLETE_RPC): New macro.
67111         * config.make.in (link-obsolete-rpc): New substituted variable.
67112         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67113         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67114         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67115         (shared-only-routines): Don't set it under [link-obsolete-rpc],
67116         so that libc.a contains the symbols.
67117         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67118         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67119         * sunrpc/auth_none.c: Likewise.
67120         * sunrpc/auth_unix.c: Likewise.
67121         * sunrpc/authdes_prot.c: Likewise.
67122         * sunrpc/authuxprot.c: Likewise.
67123         * sunrpc/clnt_gen.c: Likewise.
67124         * sunrpc/clnt_perr.c: Likewise.
67125         * sunrpc/clnt_raw.c: Likewise.
67126         * sunrpc/clnt_simp.c: Likewise.
67127         * sunrpc/clnt_tcp.c: Likewise.
67128         * sunrpc/clnt_udp.c: Likewise.
67129         * sunrpc/clnt_unix.c: Likewise.
67130         * sunrpc/des_crypt.c: Likewise.
67131         * sunrpc/des_soft.c: Likewise.
67132         * sunrpc/get_myaddr.c: Likewise.
67133         * sunrpc/key_call.c: Likewise.
67134         * sunrpc/key_prot.c: Likewise.
67135         * sunrpc/netname.c: Likewise.
67136         * sunrpc/pm_getmaps.c: Likewise.
67137         * sunrpc/pm_getport.c: Likewise.
67138         * sunrpc/pmap_clnt.c: Likewise.
67139         * sunrpc/pmap_prot.c: Likewise.
67140         * sunrpc/pmap_prot2.c: Likewise.
67141         * sunrpc/pmap_rmt.c: Likewise.
67142         * sunrpc/publickey.c: Likewise.
67143         * sunrpc/rpc_cmsg.c: Likewise.
67144         * sunrpc/rpc_common.c: Likewise.
67145         * sunrpc/rpc_dtable.c: Likewise.
67146         * sunrpc/rpc_prot.c: Likewise.
67147         * sunrpc/rpc_thread.c: Likewise.
67148         * sunrpc/rtime.c: Likewise.
67149         * sunrpc/svc.c: Likewise.
67150         * sunrpc/svc_auth.c: Likewise.
67151         * sunrpc/svc_raw.c: Likewise.
67152         * sunrpc/svc_run.c: Likewise.
67153         * sunrpc/svc_tcp.c: Likewise.
67154         * sunrpc/svc_udp.c: Likewise.
67155         * sunrpc/svc_unix.c: Likewise.
67156         * sunrpc/svcauth_des.c: Likewise.
67157         * sunrpc/xcrypt.c: Likewise.
67158         * sunrpc/xdr.c: Likewise.
67159         * sunrpc/xdr_array.c: Likewise.
67160         * sunrpc/xdr_float.c: Likewise.
67161         * sunrpc/xdr_intXX_t.c: Likewise.
67162         * sunrpc/xdr_mem.c: Likewise.
67163         * sunrpc/xdr_rec.c: Likewise.
67164         * sunrpc/xdr_ref.c: Likewise.
67165         * sunrpc/xdr_sizeof.c: Likewise.
67166         * sunrpc/xdr_stdio.c: Likewise.
67168 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67170         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67171         change.  Update copyright years.
67173 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67175         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67177 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67178             Joseph Myers  <joseph@codesourcery.com>
67179             Paul Pluzhnikov  <ppluzhnikov@google.com>
67181         [BZ #14012]
67182         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67183         requiring rpcgen.
67184         [cross-compiling] (extra-libs): Likewise.
67185         [cross-compiling] (extra-libs-others): Likewise.
67186         [cross-compiling] (librpcsvc-routines): Likewise.
67187         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67188         [cross-compiling] (omit-deps): Likewise.
67189         (sunrpc-CPPFLAGS): New variable.
67190         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67191         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67192         (cross-rpcgen-objs): New variable.
67193         (extra-objs): Append $(cross-rpcgen-objs).
67194         ($(cross-rpcgen-objs)): New rule.
67195         ($(objpfx)cross-rpcgen): Likewise.
67196         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67197         comment.
67198         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67199         ($(objpfx)x%.stmp): Likewise.
67200         * sunrpc/proto.h [IS_IN_build] (_): Define.
67201         [IS_IN_build] (_libc_intl_domainname): Likewise.
67203 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67205         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67206         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67207         and R_X86_64_TPOFF64.
67209 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67211         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67212         sysdeps/unix/sysv/syscalls.list.
67213         (stime): Likewise.
67214         (utime): Likewise.
67215         * sysdeps/unix/sysv/syscalls.list: Remove file.
67217 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67219         [BZ #3440]
67220         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67221         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67222         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67223         (__LC_IDENTIFICATION): Make these macros useful in #if
67224         expressions, as required by C99.
67226 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67228         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67229         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67230         after this.
67232 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67234         * stdlib/longlong.h: Updated from GCC.
67236 2012-05-09  Andreas Jaeger  <aj@suse.de>
67238         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67239         default is first entry.
67240         (run_mode): Set type.
67241         (main): Remove informal message about syslog.
67242         (options): Fix typo.
67244         [BZ #14053]
67245         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67246         to asm.
67247         (lrint): Likewise.
67248         (llrintf): Likewise.
67249         (llrint): Likewise.
67250         (rint): Likewise.
67251         (rintf): Likewise.
67252         (nearbyint): Likewise.
67253         (nearbyintf): Likewise.
67255 2012-05-09  Andreas Jaeger  <aj@suse.de>
67256             Pedro Alves  <palves@redhat.com>
67258         * nscd/nscd.c (run_mode): Use enum.
67259         (main): Cleanup coding style issue.
67261 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67262             Andreas Jaeger  <aj@suse.de>
67264         * nscd/nscd.c (go_background): Replaced with...
67265         (run_mode): ... this.
67266         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67267         (options): Add -F --foreground.
67268         (main): Implement it.
67269         (parse_opt): Parse it.
67271 2012-05-09  Andreas Jaeger  <aj@suse.de>
67273         [BZ #14083]
67274         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67275         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67276         -Wconversion warning.
67277         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67278         Likewise.
67280 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67282         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67283         == 0.
67284         (LC_ALL): Use macro-int-constant.
67285         (LC_COLLATE): Likewise.
67286         (LC_CTYPE): Likewise.
67287         (LC_MESSAGES): Likewise.
67288         (LC_MONETARY): Likewise.
67289         (LC_NUMERIC): Likewise.
67290         (LC_TIME): Likewise.
67291         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67292         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67293         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67294         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67295         Specify type.
67296         [C99-based standards] (float_t): Expect type.
67297         [C99-based standards] (double_t): Expect type.
67298         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67299         type.
67300         [C99-based standards] (HUGE_VALL): Likewise.
67301         [C99-based standards] (INFINITY): Likewise.
67302         [C99-based standards] (NAN): Likewise.
67303         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67304         [C99-based standards] (FP_NAN): Likewise.
67305         [C99-based standards] (FP_NORMAL): Likewise.
67306         [C99-based standards] (FP_SUBNORMAL): Likewise.
67307         [C99-based standards] (FP_ZERO): Likewise.
67308         [C99-based standards] (FP_FAST_FMA): Use
67309         optional-macro-int-constant.  Specify type.  Require == 1.
67310         [C99-based standards] (FP_FAST_FMAF): Likewise.
67311         [C99-based standards] (FP_FAST_FMAL): Likewise.
67312         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67313         [C99-based standards] (FP_ILOGBNAN): Likewise.
67314         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67315         Specify type.
67316         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67317         [C99-based standards] (math_errhandling): Specify type.
67318         [ISO99 || ISO11] (signgam): Do not allow.
67319         [non-C99-based standards] (copysignf): Do not allow.
67320         [non-C99-based standards] (exp2f): Likewise.
67321         [non-C99-based standards] (log2f): Likewise.
67322         [non-C99-based standards] (modff): Allow.
67323         [non-C99-based standards] (erff): Do not allow.
67324         [non-C99-based standards] (erfcf): Likewise.
67325         [non-C99-based standards] (gammaf): Likewise.
67326         [non-C99-based standards] (hypotf): Likewise.
67327         [non-C99-based standards] (j0f): Likewise.
67328         [non-C99-based standards] (j1f): Likewise.
67329         [non-C99-based standards] (jnf): Likewise.
67330         [non-C99-based standards] (lgammaf): Likewise.
67331         [non-C99-based standards] (tgammaf): Likewise.
67332         [non-C99-based standards] (y0f): Likewise.
67333         [non-C99-based standards] (y1f): Likewise.
67334         [non-C99-based standards] (ynf): Likewise.
67335         [non-C99-based standards] (isnanf): Likewise.
67336         [non-C99-based standards] (acoshf): Likewise.
67337         [non-C99-based standards] (asinhf): Likewise.
67338         [non-C99-based standards] (atanhf): Likewise.
67339         [non-C99-based standards] (cbrtf): Likewise.
67340         [non-C99-based standards] (expm1f): Likewise.
67341         [non-C99-based standards] (ilogbf): Likewise.
67342         [non-C99-based standards] (log1pf): Likewise.
67343         [non-C99-based standards] (logbf): Likewise.
67344         [non-C99-based standards] (nextafterf): Likewise.
67345         [non-C99-based standards] (remainderf): Likewise.
67346         [non-C99-based standards] (rintf): Likewise.
67347         [non-C99-based standards] (scalbf): Likewise.
67348         [non-C99-based standards] (copysignl): Likewise.
67349         [non-C99-based standards] (exp2l): Likewise.
67350         [non-C99-based standards] (log2l): Likewise.
67351         [non-C99-based standards] (modfl): Allow.
67352         [non-C99-based standards] (erfl): Do not allow.
67353         [non-C99-based standards] (erfcl): Likewise.
67354         [non-C99-based standards] (gammal): Likewise.
67355         [non-C99-based standards] (hypotl): Likewise.
67356         [non-C99-based standards] (j0l): Likewise.
67357         [non-C99-based standards] (j1l): Likewise.
67358         [non-C99-based standards] (jnl): Likewise.
67359         [non-C99-based standards] (lgammal): Likewise.
67360         [non-C99-based standards] (tgammal): Likewise.
67361         [non-C99-based standards] (y0l): Likewise.
67362         [non-C99-based standards] (y1l): Likewise.
67363         [non-C99-based standards] (ynl): Likewise.
67364         [non-C99-based standards] (isnanl): Likewise.
67365         [non-C99-based standards] (acoshl): Likewise.
67366         [non-C99-based standards] (asinhl): Likewise.
67367         [non-C99-based standards] (atanhl): Likewise.
67368         [non-C99-based standards] (cbrtl): Likewise.
67369         [non-C99-based standards] (expm1l): Likewise.
67370         [non-C99-based standards] (ilogbl): Likewise.
67371         [non-C99-based standards] (log1pl): Likewise.
67372         [non-C99-based standards] (logbl): Likewise.
67373         [non-C99-based standards] (nextafterl): Likewise.
67374         [non-C99-based standards] (remainderl): Likewise.
67375         [non-C99-based standards] (rintl): Likewise.
67376         [non-C99-based standards] (scalbl): Likewise.
67377         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67378         [non-C99-based standards] (FP_*): Do not allow.
67379         [C99-based standards] (FP_*): Change to
67380         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67381         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67382         allow.
67383         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67384         (SIG_ERR): Likewise.
67385         [X/Open-based standards] (SIG_HOLD): Likewise.
67386         (SIG_IGN): Likewise.
67387         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67388         positive value.
67389         (SIGFPE): Likewise.
67390         (SIGILL): Likewise.
67391         (SIGINT): Likewise.
67392         (SIGSEGV): Likewise.
67393         (SIGTER): Likewise.
67394         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67395         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67396         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67397         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67398         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67399         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67400         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67401         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67402         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67403         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67404         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67405         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67406         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67407         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67408         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67409         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67410         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67411         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67412         [X/Open-based standards] (SIGTRAP): Likewise.
67413         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67414         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67415         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67416         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67417         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67418         allow.
67420 2012-05-08  Ian Wienand  <ianw@vmware.com>
67422         [BZ #14080]
67423         * time/tzset.c (__tzset_parse_tz): Update default rules for
67424         daylight time changes in the Energy Policy Act of 2005.
67426 2012-05-09  Andreas Jaeger  <aj@suse.de>
67428         [BZ #13983]
67429         * elf/ldconfig.c (parse_conf): Change string to make clear that
67430         ldconfig only issued a warning if ld.so.conf does not exist.
67432 2012-05-08  David S. Miller  <davem@davemloft.net>
67434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67435         movxtod instead of popping the value on the stack.
67437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67439 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67441         * config.h.in: Add HAVE_ARM_PCS_VFP.
67443 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67445         [BZ #13979]
67446         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67447         checking but the checks are disabled for any reason.
67449 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67451         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67452         and ELF64_R_TYPE with ELFW(R_TYPE).
67454 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67456         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67457         (ulimit): Likewise.
67459         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67460         (settimeofday): Likewise.
67462 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67464         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67465         a struct th_u2 inside the union, and move tu_block/tu_code into
67466         a new th_u3 union of tu_block/tu_code inside of that.  Move
67467         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67468         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67469         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67470         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67471         (th_stuff): Change to th_u1.tu_stuff.
67472         (th_data): Define.
67473         (th_msg): Change to th_u1.th_u2.tu_data.
67475 2012-05-07  David S. Miller  <davem@davemloft.net>
67477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67479         [BZ #14074]
67480         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67481         (SETUP_PIC_REG): Use it.
67482         (SETUP_PIC_REG_LEAF): Use it.
67484 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67486         [BZ #13885]
67487         [BZ #13923]
67488         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67489         USE_AS_EXPM1L.
67490         (EXPL_FINITE): Likewise.
67491         (FLDLOG): Likewise.
67492         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67493         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67494         e_expl.S.
67495         * sysdeps/x86_64/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/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67501         e_expl.S.
67502         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67503         test of -max_value argument for long double.
67504         * sysdeps/i386/fpu/libm-test-ulps: Update.
67505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67507 2012-05-06  David S. Miller  <davem@davemloft.net>
67509         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67510         quad soft-float symbols whose references which are compiler
67511         generated.
67512         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67514 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67516         [BZ #13884]
67517         [BZ #13914]
67518         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67519         USE_AS_EXP10L.
67520         (EXPL_FINITE): Likewise.
67521         (FLDLOG): Likewise.
67522         (c0): Likewise.
67523         (c1): Likewise.
67524         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67525         Adjust comments for base varying.
67526         (__expl_finite): Change alias to EXPL_FINITE.
67527         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67528         e_expl.S.
67529         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67530         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67531         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67532         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67533         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67534         USE_AS_EXP10L.
67535         (EXPL_FINITE): Likewise.
67536         (FLDLOG): Likewise.
67537         (c0): Likewise.
67538         (c1): Likewise.
67539         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67540         Adjust comments for base varying.
67541         (__expl_finite): Change alias to EXPL_FINITE.
67542         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67543         tests for bugs.
67544         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67546         [BZ #14064]
67547         * math/libm-test.inc (check_float_internal): Correct ulp
67548         calculation for subnormal expected results.
67550 2012-05-06  Andreas Jaeger  <aj@suse.de>
67552         * Makeconfig (+math-flags): New, set to -frounding-math.
67553         (+cflags): Add +math-flags so that all of glibc gets compiled with
67554         it.
67556         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67558 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67560         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67561         Disable one test.
67563         [BZ #13787]
67564         [BZ #13922]
67565         [BZ #14036]
67566         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67567         (__ieee754_expl): Allow for and saturate large arguments.
67568         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67569         (u_threshold): Likewise.
67570         (__exp): Call __ieee754_exp before checking for overflow and
67571         underflow.
67572         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67573         (u_threshold): Likewise.
67574         (__expf): Call __ieee754_expf before checking for overflow and
67575         underflow.
67576         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67577         (u_threshold): Likewise.
67578         (__expl): Call __ieee754_expl before checking for overflow and
67579         underflow.
67580         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67581         (__ieee754_expl): Allow for and saturate large arguments.
67582         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67583         missing overflow exception on overflow.
67584         (expm1_test): Do not allow missing overflow exception on overflow.
67586         * sysdeps/i386/fpu/e_expl.c: Move to ...
67587         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67588         rather than using inline asm.
67589         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67590         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67591         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67593         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67594         (nice): Likewise.
67595         (poll): Likewise.
67596         (signal): Likewise.
67597         (time): Likewise.
67598         (times): Likewise.
67600 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67602         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67603         sysdeps/unix/common/syscalls.list.
67604         (fchmod): Likewise.
67605         (fchown): Likewise.
67606         (ftruncate): Likewise.
67607         (getrusage): Likewise.
67608         (gettimeofday): Likewise.
67609         (setpgid): Likewise.
67610         (setregid): Likewise.
67611         (setreuid): Likewise.
67612         (sigaction): Likewise.
67613         (truncate): Likewise.
67614         (vhangup): Likewise.
67615         * sysdeps/unix/common/syscalls.list: Remove file.
67616         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67617         * sysdeps/unix/sysv/linux/Implies: Likewise.
67619 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67621         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67623         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67624         Moved to ...
67625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67626         Here.
67627         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67628         to ...
67629         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67630         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67631         to ...
67632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67633         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67634         to ...
67635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67636         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67637         to ...
67638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67639         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67640         to ...
67641         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67642         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67643         to ...
67644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67645         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67646         to ...
67647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67648         Here.
67649         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67650         to ...
67651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67652         Here.
67653         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67654         to ...
67655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67656         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67657         Moved to ...
67658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67659         Here.
67660         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67661         to ...
67662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67664 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67666         * sysdeps/unix/common/bits/dirent.h: Remove file.
67667         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67669         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67670         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67671         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67672         * sysdeps/unix/bsd/isatty.c: Likewise.
67673         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67674         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67675         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67677 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67679         [BZ #13563]
67680         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67681         long double comparison inaccuracies.
67682         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67685 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67687         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67688         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67690 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67692         [BZ #14049]
67693         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67694         nonzero digits before rounding a hex value.
67695         * stdlib/tst-strtod.c (tests): Add another test.
67697 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67699         * sysdeps/s390/fpu/libm-test-ulps: Update.
67701 2012-05-03  Andreas Jaeger  <aj@suse.de>
67703         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67704         does not get optimized out.
67705         (malloc_opt_barrier): New.
67707 2012-05-03  Andreas Jaeger  <aj@suse.de>
67708             Roland McGrath  <roland@hack.frob.com>
67710         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67711         intermediate file deletion.
67712         (generated): Add .symlist files.
67714 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67716         [BZ #13775]
67717         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67718         Redirect under this condition.
67719         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67720         [__USE_GNU] (__dprintf_chk): Not under this condition.
67721         [__USE_GNU] (__vdprintf_chk): Likewise.
67722         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67723         under this condition.
67724         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67725         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67726         [__USE_XOPEN2K8] (vdprintf): Likewise.
67727         [__USE_GNU] (__dprintf_chk): Not under this condition.
67728         [__USE_GNU] (__vdprintf_chk): Likewise.
67729         [__USE_GNU] (dprintf): Likewise.
67730         [__USE_GNU] (vdprintf): Likewise.
67732 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67734         * elf/Makefile (common-generated): Set this instead of generated for
67735         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67736         $(all-built-dso)-derived lists.
67738 2012-05-03  Andreas Jaeger  <aj@suse.de>
67740         * sysdeps/i386/fpu/libm-test-ulps: Update.
67742         * FAQ: Removed.
67743         * FAQ.in: Likewise.
67744         * scripts/gen-FAQ.pl: Likewise.
67745         * manual/install.texi (Installation): Point to online location of
67746         FAQ.
67747         * Makefile (files-for-dist): Remove FAQ.
67748         (FAQ): Remove.
67750 2012-05-02  Allan McRae  <allan@archlinux.org>
67752         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67753         (LDFLAGS-reldepmod5.so): Likewise.
67754         (LDFLAGS-reldep6mod1.so): Likewise.
67755         (LDFLAGS-reldep6mod4.so): Likewise.
67756         (LDFLAGS-reldep8mod3.so): Likewise.
67757         (LDFLAGS-unload4mod1.so): Likewise.
67758         (LDFLAGS-unload4mod2.so): Likewise.
67759         (LDFLAGS-tst-initorder): Likewise.
67760         (LDFLAGS-tst-initordera2.so): Likewise.
67761         (LDFLAGS-tst-initordera3.so): Likewise.
67762         (LDFLAGS-tst-initordera4.so): Likewise.
67763         (LDFLAGS-tst-initorderb2.so): Likewise.
67764         (LDFLAGS-noload): Likewise.
67765         (LDFLAGS-next): Likewise.
67766         (LDFLAGS-order2mod1.so): Likewise.
67767         (LDFLAGS-order2mod2.so): Likewise.
67768         (LDFLAGS-tst-initorder2): Likewise.
67769         (LDFLAGS-tst-initorder2a.so): Likewise.
67770         (LDFLAGS-tst-initorder2b.so): Likewise.
67771         (LDFLAGS-tst-initorder2c.so): Likewise.
67772         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67774 2012-05-02  David S. Miller  <davem@davemloft.net>
67776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67778 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67780         [BZ #14055]
67781         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67783 2012-05-02  Andreas Jaeger  <aj@suse.de>
67785         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67786         since we manipulate rounding mode.
67787         (CPPFLAGS-test-idouble.c): Likewise.
67788         (CPPFLAGS-test-ifloat.c): Likewise.
67789         (CFLAGS-test-ldouble.c): Likewise.
67790         (CFLAGS-test-double.c): Likewise.
67791         (CFLAGS-test-float.c): Likewise.
67792         (CFLAGS-test-misc.c): Likewise.
67793         (CFLAGS-test-test-fenv.c): Likewise.
67795 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67797         [BZ #2550]
67798         [BZ #2570]
67799         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67800         comparisons to determine direction to adjust input.
67802 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67804         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67805         output to the target.
67807         * scripts/localplt.awk: New file.
67808         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67809         (check-localplt-CFLAGS): Variable removed.
67810         ($(all-built-dso:=.jmprel)): New static pattern rule.
67811         (generated): Add those targets.
67812         (localplt-built-dso): New variable.
67813         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67815         * elf/check-localplt.c: File removed.
67817         * scripts/check-execstack.awk: New file.
67818         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67819         (check-execstack-CFLAGS): Variable removed.
67820         ($(objpfx)check-execstack.h): Target removed.
67821         ($(objpfx)execstack-default): New target.
67822         (generated): Add that instead of check-execstack.h.
67823         ($(all-built-dso:=.phdr)): New static pattern rule.
67824         (generated): Add those targets.
67825         * elf/check-execstack.c: File removed.
67827         * scripts/check-textrel.awk: New file.
67828         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67829         (check-textrel-CFLAGS): Variable removed.
67830         (all-built-dso): Use := to define.o
67831         ($(all-built-dso:=.dyn)): New static pattern rule.
67832         (generated): Add those targets.
67833         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67834         * config.make.in (READELF): New substituted variable.
67835         * elf/check-textrel.c: File removed.
67837 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67839         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67840         allow.
67841         * conform/data/ctype.h-data [C99-based standards] (isblank):
67842         Expect function.
67843         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67844         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67845         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67846         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67847         Specify type.  Require positive value.
67848         (EILSEQ): Likewise.
67849         (ERANGE): Likewise.
67850         [ISO || POSIX] (EILSEQ): Do not expect.
67851         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67852         Specify type.  Require positive value.
67853         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67854         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67855         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67856         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67857         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67858         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67859         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67860         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67861         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67862         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67863         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67864         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67865         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67866         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67867         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67868         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67869         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67870         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67871         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67872         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67873         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67874         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67875         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67876         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67877         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67878         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67879         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67880         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67881         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67882         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67883         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67884         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67885         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67886         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67887         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67888         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67889         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67890         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67891         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67892         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67893         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67894         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67895         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67896         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67897         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67898         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67899         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67900         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67901         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67902         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67903         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67904         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67905         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67906         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67907         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67908         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67909         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67910         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67911         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67912         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67913         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67914         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67915         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67916         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67917         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67918         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67919         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67920         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67921         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67922         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67923         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67924         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67925         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67926         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67927         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67928         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67929         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67930         Require >= 2.
67931         (FLT_ROUNDS): Expect as macro, not constant.
67932         (FLT_MANT_DIG): Use macro-int-constant.
67933         (DBL_MANT_DIG): Likewise.
67934         (LDBL_MANT_DIG): Likewise.
67935         (FLT_DIG): Likewise.
67936         (DBL_DIG): Likewise.
67937         (LDBL_DIG): Likewise.
67938         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67939         (DBL_MIN_EXP): Likewise.
67940         (LDBL_MIN_EXP): Likewise.
67941         (FLT_MAX_EXP): Use macro-int-constant.
67942         (DBL_MAX_EXP): Likewise.
67943         (LDBL_MAX_EXP): Likewise.
67944         (FLT_MAX_10_EXP): Likewise.
67945         (DBL_MAX_10_EXP): Likewise.
67946         (LDBL_MAX_10_EXP): Likewise.
67947         (FLT_MAX): Use macro-constant.
67948         (DBL_MAX): Likewise.
67949         (LDBL_MAX): Likewise.
67950         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67951         (DBL_EPSILON): Likewise.
67952         (LDBL_EPSILON): Likewise.
67953         (FLT_MIN): Likewise.
67954         (DBL_MIN): Likewise.
67955         (LDBL_MIN): Likewise.
67956         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67957         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67958         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67959         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67960         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67961         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67962         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67963         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67964         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67965         [ISO11] (FLT_TRUE_MIN): Likewise.
67966         [ISO11] (LDBL_TRUE_MIN): Likewise.
67967         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67968         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67969         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67970         (SCHAR_MAX): Likewise.
67971         (UCHAR_MAX): Likewise.
67972         (CHAR_MIN): Likewise.
67973         (CHAR_MAX): Likewise.
67974         (MB_LEN_MAX): Use macro-int-constant.
67975         (SHRT_MIN): Use macro-int-constant.  Specify type.
67976         (SHRT_MAX): Likewise.
67977         (USHRT_MAX): Likewise.
67978         (INT_MAX): Likewise.
67979         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67980         bound negative.
67981         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67982         bound with "U".
67983         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67984         bound with "L".
67985         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67986         bound negative.  Suffix upper bound with "L".
67987         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67988         bound with "UL".
67989         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67990         Specify type.
67991         [C99-based standards] (LLONG_MAX): Likewise.
67992         [C99-based standards] (ULLONG_MAX): Likewise.
67993         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67994         == 0.
67995         [ISO11] (max_align_t): Require type.
67996         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67998         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67999         from $CFLAGS, without defining away __attribute__ calls.
68000         (checknamespace): Use $CFLAGS_namespace.
68002         * conform/conformtest.pl (@keywords): Only include C99 keywords
68003         for standards based on C99 or C11.
68005         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68006         Disable tests.
68007         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68008         UNIX98]: Likewise.
68010         * conform/conformtest.pl: Handle "macro-int-constant" and test for
68011         usability of symbols in #if.
68013         * conform/conformtest.pl: If macro or constant types start
68014         "promoted:", expect the symbol to be of the following type
68015         promoted by the integer promotions.
68017         * conform/conformtest.pl: Parse all "constant" and "macro" lines
68018         in one place.  Also handle "macro-constant".
68020         * conform/conformtest.pl: Only accept expected macro values with
68021         "==".  Parse all "macro" lines in one place.
68022         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68024         * conform/conformtest.pl: Handle braced types on "constant" lines
68025         instead of handling "typed-constant".
68026         * conform/data/signal.h-data: Use "constant" instead of
68027         "typed-constant".
68029         * conform/conformtest.pl: Handle "optional-" at start of lines in
68030         one place rather than duplicating several cases.  Handle each
68031         format of "macro" line with initial "optional-".
68033         * conform/conformtest.pl: Only accept expected constant or
68034         optional-constant values with "==".  Parse all "constant" lines in
68035         one place.  Parse all "optional-constant" lines in one place.
68036         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68037         * conform/data/fmtmsg.h-data: Likewise.
68038         * conform/data/netinet/in.h-data: Likewise.
68039         * conform/data/tar.h-data: Likewise.
68040         * conform/data/limits.h-data: Use "==" form on "constant" and
68041         "optional-constant" lines.
68043         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68044         Use -std=c99 for XOPEN2K.
68045         (@knownproblems): Remove.
68046         (newtoken): Don't check %isknown.
68048         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68049         Do not expect macro.
68050         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68051         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68052         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68053         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68054         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68055         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68056         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68057         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68058         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68059         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68060         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68061         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68062         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68063         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68064         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68065         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68066         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68067         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68068         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68069         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68070         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68071         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68072         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68073         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68074         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68075         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68076         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68077         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68078         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68079         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68080         [XPG3] (acosh): Likewise.
68081         [XPG3] (asinh): Likewise.
68082         [XPG3] (atanh): Likewise.
68083         [XPG3] (cbrt): Likewise.
68084         [XPG3] (expm1): Likewise.
68085         [XPG3] (ilogb): Likewise.
68086         [XPG3] (log1p): Likewise.
68087         [XPG3] (logb): Likewise.
68088         [XPG3] (nextafter): Likewise.
68089         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68090         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68091         [XPG3] (remainder): Likewise.
68092         [XPG3] (rint): Likewise.
68093         [XPG3 || XPG4 || UNIX98] (round): Likewise.
68094         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68095         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68096         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68097         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68098         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68099         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68100         [UNIX98 || XOPEN2K] (scalb): Expect.
68101         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68102         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68103         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68104         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68105         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68106         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68107         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68108         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68109         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68110         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68111         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68112         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68113         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68114         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68115         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68116         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68117         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68118         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68119         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68120         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68121         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68122         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68123         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68124         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68125         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68126         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68127         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68128         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68129         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68130         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68131         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68132         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68133         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68134         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68135         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68136         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68137         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68138         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68139         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68140         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68141         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68142         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68143         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68144         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68145         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68146         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68147         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68148         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68149         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68150         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68151         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68152         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68153         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68154         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68155         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68156         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68157         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68158         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68159         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68160         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68161         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68162         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68163         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68164         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68165         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68166         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68167         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68168         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68169         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68170         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68171         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68172         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68173         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68174         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68175         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68176         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68177         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68178         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68179         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68180         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68181         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68182         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68183         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68184         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68185         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68186         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68187         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68188         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68189         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68190         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68191         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68192         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68193         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68194         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68195         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68196         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68197         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68198         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68199         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68200         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68201         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68202         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68203         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68204         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68205         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68206         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68207         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68208         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68209         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68210         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68211         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68212         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68213         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68214         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68215         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68216         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68217         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68218         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68219         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68220         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68221         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68222         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68223         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68224         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68225         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68226         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68227         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68228         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68229         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68230         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68231         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68232         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68233         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68234         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68235         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68236         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68237         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68239         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68240         _XOPEN_SOURCE_EXTENDED for XPG4.
68242         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68244         * Makeconfig (localtime): Remove variable.
68245         (inst_localtime-file): Likewise.
68247 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68250         Update.
68251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68252         Update.
68253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68254         Update.
68255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68256         Update.
68257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68258         Update.
68259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68260         Update.
68261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68262         Update.
68263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68264         Update.
68265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68266         Update.
68268 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68270         [BZ #2550]
68271         [BZ #2570]
68272         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68273         comparisons to determine direction to adjust input.
68274         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68275         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68276         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68277         Likewise.
68278         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68279         Likewise.
68280         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68281         Likewise.
68282         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68283         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68284         Likewise.
68285         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68286         Likewise.
68287         * math/libm-test.inc (nexttoward_test): Add more tests.
68289 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68291         [BZ #14040]
68292         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68293         in version GLIBC_2.1, not GLIBC_2.0.
68294         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68295         Likewise.
68297 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68299         [BZ #13942]
68300         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68301         (1 - x) * (1 + x).
68302         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68303         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68304         * math/libm-test.inc (acos_test): Add more tests.
68305         (asin_test): Likewise.
68306         * sysdeps/i386/fpu/libm-test-ulps: Update.
68307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68309         [BZ #14034]
68310         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68311         of square root.
68312         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68313         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68314         * math/libm-test.inc (acos_test_tonearest): New function.
68315         (acos_test_towardzero): Likewise.
68316         (acos_test_downward): Likewise.
68317         (acos_test_upward): Likewise.
68318         (asin_test_tonearest): Likewise.
68319         (asin_test_towardzero): Likewise.
68320         (asin_test_downward): Likewise.
68321         (asin_test_upward): Likewise.
68322         (main): Call the new functions.
68323         * sysdeps/i386/fpu/libm-test-ulps: Update.
68324         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68326         [BZ #13884]
68327         [BZ #13924]
68328         * math/e_exp10.c: Include <float.h>.
68329         (__ieee754_exp10): Handle underflow here rather than multiplying
68330         large negative argument by M_LN10.
68331         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68332         of __ieee754_expf.
68333         * math/e_exp10l.c: Include <float.h>.
68334         (__ieee754_exp10l): Handle underflow here rather than multiplying
68335         large negative argument by M_LN10l.
68336         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68337         spurious overflow exception on underflow.
68339 2012-04-29  Marek Polacek  <polacek@redhat.com>
68341         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68342         (__fortify_function): New macro.
68343         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68344         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68345         __extern_always_inline.
68346         * libio/bits/stdio2.h: Likewise.
68347         * libio/bits/stdio.h: Likewise.
68348         * string/string.h: Likewise.
68349         * string/bits/string3.h: Likewise.
68350         * include/stdio.h: Likewise.
68351         * stdlib/bits/stdlib.h: Likewise.
68352         * stdlib/stdlib.h: Likewise.
68353         * rt/bits/mqueue2.h: Likewise.
68354         * rt/mqueue.h: Likewise.
68355         * posix/bits/unistd.h: Likewise.
68356         * posix/unistd.h: Likewise.
68357         * io/bits/poll2.h: Likewise.
68358         * io/bits/fcntl2.h: Likewise.
68359         * io/fcntl.h: Likewise.
68360         * io/sys/poll.h: Likewise.
68361         * misc/bits/syslog.h: Likewise.
68362         * misc/bits/syslog-ldbl.h: Likewise.
68363         * misc/sys/syslog.h: Likewise.
68364         * socket/bits/socket2.h: Likewise.
68365         * socket/sys/socket.h: Likewise.
68366         * debug/tst-chk1.c: Likewise.
68367         * wcsmbs/bits/wchar2.h: Likewise.
68368         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68369         * wcsmbs/wchar.h: Likewise.
68371 2012-04-29  Andreas Jaeger  <aj@suse.de>
68373         * Makerules (tests): Remove enable-check-abi protection.
68374         (check-abi-warn): Remove.
68375         (check-abi-%): Remove check-abi-warn usage.
68377         * configure.in: Remove check-abi configure option.
68378         * configure: Regenerated.
68379         * config.make.in (enable-check-abi): Remove.
68381 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68383         [BZ #14033]
68384         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68385         double functions to double *_finite functions.
68387         [BZ #13941]
68388         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68389         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68390         LDBL_MIN_EXP.
68391         * stdio-common/Makefile (tests): Add tst-sprintf3.
68392         * stdio-common/tst-sprintf3.c: New file.
68394         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68395         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68397 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68399         * conform/conformtest.pl: Remove duplicate typed-constant
68400         handling.
68402 2012-04-28  David S. Miller  <davem@davemloft.net>
68404         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68405         (check-abi-%): Remove AWK script prerequisite and explicit
68406         abilist directory.
68407         (check-abi): Rewrite to just diff the symlist with the abilist.
68408         (config-tls, config-abi-config): Delete, no longer used.
68409         (update-abi-%): Remove AWK script and explicit abilist directory.
68410         (update-abi): Rewrite to simply compare and conditionally copy the
68411         symlist and the sysdep abilist file.  Remove update-abi-config
68412         checks.
68413         * abilist/ld.abilist: Remove.
68414         * abilist/libBrokenLocale.abilist: Remove.
68415         * abilist/libanl.abilist: Remove.
68416         * abilist/libcrypt.abilist: Remove.
68417         * abilist/libdl.abilist: Remove.
68418         * abilist/librt.abilist: Remove.
68419         * abilist/libthread_db.abilist: Remove.
68420         * abilist/libutil.abilist: Remove.
68421         * scripts/extract-abilist.awk: Remove.
68422         * scripts/merge-abilist.awk: Remove.
68423         * sysdeps/generic/libcidn.abilist: New file.
68424         * sysdeps/generic/libnss_compat.abilist: New file.
68425         * sysdeps/generic/libnss_db.abilist: New file.
68426         * sysdeps/generic/libnss_dns.abilist: New file.
68427         * sysdeps/generic/libnss_files.abilist: New file.
68428         * sysdeps/generic/libnss_hesiod.abilist: New file.
68429         * sysdeps/generic/libnss_nis.abilist: New file.
68430         * sysdeps/generic/libnss_nisplus.abilist: New file.
68431         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68432         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68433         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68434         file.
68435         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68436         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68437         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68438         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68439         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68440         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68441         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68442         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68443         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68444         file.
68445         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68446         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68447         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68448         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68449         file.
68450         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68451         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68452         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68453         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68454         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68455         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68456         file.
68457         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68458         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68459         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68460         file.
68461         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68462         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68463         New file.
68464         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68465         New file.
68466         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68467         New file.
68468         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68469         New file.
68470         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68471         New file.
68472         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68473         New file.
68474         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68475         New file.
68476         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68477         New file.
68478         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68479         New file.
68480         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68481         New file.
68482         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68483         New file.
68484         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68485         New file.
68486         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68487         New file.
68488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68489         file.
68490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68491         New file.
68492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68493         New file.
68494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68495         file.
68496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68497         New file.
68498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68499         New file.
68500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68501         file.
68502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68503         New file.
68504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68505         New file.
68506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68507         New file.
68508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68509         New file.
68510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68511         New file.
68512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68513         New file.
68514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68516         file.
68517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68518         New file.
68519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68520         file.
68521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68522         file.
68523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68524         file.
68525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68526         file.
68527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68528         file.
68529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68530         New file.
68531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68532         file.
68533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68534         file.
68535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68536         New file.
68537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68538         file.
68539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68541         file.
68542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68543         New file.
68544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68545         file.
68546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68547         file.
68548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68549         file.
68550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68551         file.
68552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68553         file.
68554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68555         New file.
68556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68557         file.
68558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68559         file.
68560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68561         New file.
68562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68563         file.
68564         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68565         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68566         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68567         file.
68568         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68569         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68570         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68571         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68572         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68573         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68574         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68575         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68576         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68577         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68580         file.
68581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68582         New file.
68583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68584         file.
68585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68586         file.
68587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68588         file.
68589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68590         file.
68591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68592         file.
68593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68594         New file.
68595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68596         New file.
68597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68598         file.
68599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68600         New file.
68601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68602         file.
68603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68605         file.
68606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68607         New file.
68608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68609         file.
68610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68611         file.
68612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68613         file.
68614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68615         file.
68616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68617         file.
68618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68619         New file.
68620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68621         New file.
68622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68623         file.
68624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68625         New file.
68626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68627         file.
68629 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68631         * conform/conformtest.pl: Fix typo in handling typed-constant from
68632         allow-header.
68634 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68636         * README: Cut down references to pre-2.6 Linux kernels and
68637         Linuxthreads.  Update lists of configurations in libc and ports
68638         and sort alphabetically.  Say "or newer" with Linux kernel version
68639         requirements.
68641         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68643 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68645         [BZ #887]
68646         * math/libm-test.inc (logb_test_downward): New test to expose
68647         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68648         rounding mode.
68650 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68652         [BZ #14027]
68653         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68654         to be done.
68655         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68656         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68658 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68660         * sysdeps/unix/i386/brk.S: Remove file.
68661         * sysdeps/unix/i386/dl-brk.S: Likewise.
68662         * sysdeps/unix/i386/pipe.S: Likewise.
68663         * sysdeps/unix/i386/sigreturn.S: Likewise.
68664         * sysdeps/unix/i386/syscall.S: Likewise.
68665         * sysdeps/unix/i386/vfork.S: Likewise.
68666         * sysdeps/unix/i386/wait.S: Likewise.
68668         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68669         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68671         * configure.in (arm*-none*): Do not allow without
68672         --enable-hacker-mode.
68673         (netbsd*): Remove case setting base_os.
68674         (386bsd*): Likewise.
68675         (freebsd*): Likewise.
68676         (bsdi*): Likewise.
68677         (osf*): Likewise.
68678         (sunos*): Likewise.
68679         (ultrix*): Likewise.
68680         (newsos*): Likewise.
68681         (dynix*): Likewise.
68682         (*bsd*): Likewise.
68683         (sysv*): Likewise.
68684         (isc*): Likewise.
68685         (esix*): Likewise.
68686         (sco*): Likewise.
68687         (minix*): Likewise.
68688         (irix4*): Likewise.
68689         (irix6*): Likewise.
68690         (solaris[2-9]*): Likewise.
68691         (none): Likewise.
68692         * configure: Regenerated.
68694 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68696         [BZ #11521]
68697         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68698         overflow or cancellation in calculating denominator.
68699         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68700         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68701         down expression to avoid unexpected rounding in newer GCCs.
68702         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68704 2012-04-26  David S. Miller  <davem@davemloft.net>
68706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68707         long-double compat symbols.
68708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68722 2012-04-25  David S. Miller  <davem@davemloft.net>
68724         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68725         HWCAP_* values only after the memory barriers have been defined.
68726         (atomic_full_barrier): Define.
68727         (atomic_read_barrier): Define.
68728         (atomic_write_barrier): Define.
68730 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68732         * shlib-versions: Add libgcc_s version information.
68733         * sysdeps/generic/libgcc_s.h: Remove.
68734         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68735         libgcc_s.h.
68736         * sysdeps/gnu/unwind-resume.c: Likewise.
68737         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68739 2012-04-25  David S. Miller  <davem@davemloft.net>
68741         * sysdeps/unix/sparc/brk.S: Delete.
68742         * sysdeps/unix/sparc/dl-brk.S: Delete.
68743         * sysdeps/unix/sparc/pipe.S: Delete.
68744         * sysdeps/unix/sparc/sysdep.S: Delete.
68745         * sysdeps/unix/sparc/sysdep.h: Delete.
68746         * sysdeps/unix/sparc/vfork.S: Delete.
68747         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68748         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68749         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68750         (ret_ERRVAL, r0, r1, MOVE): Define.
68751         (JUMPTARGET): Remove.
68752         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68753         sysdeps/unix/sparc/sysdep.h
68754         (ENTRY, END): Remove.
68755         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68757 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68759         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68760         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68761         -DIS_IN_build.
68763         * timezone/README: Update upstream location and email address for
68764         tzcode and tzdata.
68765         * timezone/zdump.c: Update from tzcode 2012b.
68766         * timezone/zic.c: Likewise.
68768         * configure.in (libc_cv_as_needed): Remove test.
68769         * configure: Regenerated.
68770         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68771         conditional definition.
68772         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68773         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68774         * config.make.in (have-as-needed): Remove variable.
68776 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68777             Paul Pluzhnikov  <ppluzhnikov@google.com>
68779         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68780         strings correctly.
68782 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68784         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68785         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68786         * sysdeps/sh/strlen.S: Likewise.
68788 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68790         * sysdeps/unix/fork.S: Remove file.
68791         * sysdeps/unix/i386/fork.S: Likewise.
68792         * sysdeps/unix/sparc/fork.S: Likewise.
68794         * sysdeps/unix/system.c: Remove file.
68795         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68797         * sysdeps/unix/getegid.S: Remove file.
68798         * sysdeps/unix/geteuid.S: Likewise.
68800 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68802         * scripts/check-localplt.awk: New file.
68803         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68804         of diff.
68805         * scripts/data/localplt-generic.data: Add a comment.
68807         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68808         NODE when __dir_mkfile failed.
68809         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68810         Reported by Ludovic Courtès <ludo@gnu.org>.
68812 2012-04-24  Andreas Jaeger  <aj@suse.de>
68814         * Makerules (common-clean): Also remove gen-as-const-headers
68815         files.
68817 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68819         * Makerules (native-compile): Do not change working directory for
68820         build.  Use $(OUTPUT_OPTION) in command.
68821         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68823 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68825         [BZ #13886]
68826         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68827         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68828         * math/libm-test.inc (floor_test): Add more tests.
68829         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68831 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68833         * sysdeps/unix/getdents.c: Remove file.
68834         * sysdeps/unix/sysv/getdents.c: Likewise.
68835         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68837         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68838         sysdeps/unix/mman/syscalls.list.
68839         (mmap): Likewise.
68840         (mprotect): Likewise.
68841         (msync): Likewise.
68842         (munmap): Likewise.
68843         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68844         * sysdeps/unix/mman/syscalls.list: Remove.
68845         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68847         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68848         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68849         * configure: Regenerated.
68850         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68851         $(libgcc_s_suffix).
68852         * config.make.in (libgcc_s_suffix): Remove variable.
68854 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68856         * sysdeps/unix/sysv/gethostname.c: Move to ...
68857         * sysdeps/posix/gethostname.c: ... here.
68859         * sysdeps/unix/execve.S: Remove file.
68861         * sysdeps/unix/_exit.S: Remove file.
68863 2012-04-23  Andreas Jaeger  <aj@suse.de>
68865         [BZ #13739]
68866         * manual/Makefile: Remove make dist support, there's no
68867         need for a stand-alone documentation tar ball.
68868         (TEXI2DVI): Define always, it's not in Makeconfig.
68869         (dist): Removed.
68870         (tar-it): Removed.
68871         (edition): Removed.
68872         (glibc-doc-$(edition).tar): Removed
68873         (%.Z): Removed.
68874         (%.gz): Removed.
68875         (%.uu): Removed.
68876         (ETAGS): Remove, it's in Makeconfig.
68877         (move-if-change): Remove, it's in Makeconfig.
68879 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68881         [BZ #13970]
68882         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68883         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68884         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68885         (strtod_l, strtof_l, strtold_l): Remove __wur.
68886         It is not necessarily an error to ignore strtol's return value.
68887         One can reliably look at the stored endptr to decide whether
68888         the number had valid syntax.
68890 2012-04-21  Andreas Jaeger  <aj@suse.de>
68892         [BZ #13739]
68893         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68895 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68897         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68898         * sysdeps/unix/sysv/Versions: Remove file.
68900 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68902         [BZ #13927]
68903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68905 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68907         [BZ #7064]
68908         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68909         version from __vm86.
68911 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68913         * sysdeps/unix/common/lxstat.c: Remove file.
68914         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68916         * sysdeps/unix/sysv/Makefile: Remove file.
68918         * sysdeps/unix/sysv/direct.h: Remove file.
68920         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68921         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68922         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68923         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68924         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68925         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68926         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68928         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68930         * sysdeps/unix/xmknod.c: Remove file.
68931         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68933         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68935         * sysdeps/unix/sysv/i386/time.S: Remove file.
68937         * sysdeps/unix/fxstat.c: Remove file.
68938         * sysdeps/unix/xstat.c: Likewise.
68939         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68941         * sysdeps/unix/sysv/sigaction.c: Remove file.
68943         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68944         (sysdep_headers): Remove variable.
68945         [termio.h not in sysdep_headers] (generated): Likewise.
68946         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68947         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68948         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68949         * sysdeps/unix/sysv/tcflow.c: Likewise.
68950         * sysdeps/unix/sysv/tcflush.c: Likewise.
68951         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68952         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68953         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68954         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68955         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68957         * sysdeps/unix/siglist.c: Remove file.
68959         * sysdeps/unix/getppid.S: Remove file.
68961         * sysdeps/unix/mkdir.c: Remove file.
68962         * sysdeps/unix/rmdir.c: Likewise.
68964 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68966         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68967         ERR_MAX value.
68968         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68969         errlist-compat value.
68971 2012-04-18  David S. Miller  <davem@davemloft.net>
68973         * sysdeps/generic/memcopy.h (reg_char): Delete.
68974         * debug/strcat_chk.c: Use char, not reg_char.
68975         * debug/strcpy_chk.c: Likewise.
68976         * debug/strncat_chk.c: Likewise.
68977         * debug/strncpy_chk.c: Likewise.
68978         * string/memchr.c: Likewise.
68979         * string/memrchr.c: Likewise.
68980         * string/rawmemchr.c: Likewise.
68981         * string/strcat.c: Likewise.
68982         * string/strchr.c: Likewise.
68983         * string/strchrnul.c: Likewise.
68984         * string/strcmp.c: Likewise.
68985         * string/strcpy.c: Likewise.
68986         * string/strncat.c: Likewise.
68987         * string/strncmp.c: Likewise.
68988         * string/strncpy.c: Likewise.
68990 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68992         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68993         __builtin_memcopy is called when src and dest ranges are known to not
68994         overlap.
68996 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68998         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68999         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69000         fwd_align_merge macro call.
69001         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69002         bwd_align_merge macro call.
69003         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69005 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69007         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69008         bwd_align_merge macros.
69009         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69010         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69011         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69013 2012-04-18  David S. Miller  <davem@davemloft.net>
69015         * sysdeps/sparc/sparc64/memcopy.h: Delete.
69017 2012-04-18  Andreas Jaeger  <aj@suse.de>
69019         [BZ# 6794]
69020         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69021         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69022         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69024         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69025         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69026         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69028         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69029         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69030         Adjust for changed ldbl-128 files.
69032         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69033         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69034         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69036 2012-04-17  David S. Miller  <davem@davemloft.net>
69038         * sysdeps/sparc/sparc32/memcopy.h: Delete.
69040 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
69042         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69043         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69044         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69045         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69046         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69047         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69049 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69051         [BZ #6794]
69052         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69053         * math/libm-test.inc: Add ilogb errno and exception tests.
69054         * math/w_ilogb.c: New file: ilogb wrapper.
69055         * math/w_ilogbf.c: New file: ilogbf wrapper.
69056         * math/w_ilogbl.c: New file: ilogbl wrapper.
69057         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69058         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69059         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69060         exception being thrown with 0.0 as argument.
69061         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69062         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69063         exception being thrown with 0.0 as argument.
69064         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69065         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69066         exception being thrown with 0.0 as argument.
69067         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69068         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69069         exception being thrown with 0.0 as argument.
69070         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69071         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69072         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69073         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69074         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69075         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69076         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69077         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69078         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69080 2012-04-17  Petr Baudis  <pasky@ucw.cz>
69082         * include/sys/uio.h: Change __vector to __iovec to avoid clash
69083         with altivec.
69085 2012-04-16  Marek Polacek  <polacek@redhat.com>
69087         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69089 2012-04-16  Marek Polacek  <polacek@redhat.com>
69091         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69092         operands of fdivp instruction.
69094 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69096         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69097         * elf/tst-auditmod3b.c: Likewise.
69098         * elf/tst-auditmod4b.c: Likewise.
69099         * elf/tst-auditmod5b.c: Likewise.
69100         * elf/tst-auditmod6b.c: Likewise.
69101         * elf/tst-auditmod6c.c: Likewise.
69102         * elf/tst-auditmod7b.c: Likewise.
69103         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69104         * sysdeps/x86_64/preconfigure.in: Likewise.
69105         * sysdeps/x86_64/preconfigure: Regenerated.
69107 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69109         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69110         __ILP32__.
69112 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
69114         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69115         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69117 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
69119         [BZ #13973]
69120         * locale/iso-639.def: Fix gl language name. Spotted by
69121         Yaron Shahrabani.
69123 2012-04-12  Roland McGrath  <roland@hack.frob.com>
69125         [BZ #2074]
69126         * libio/libio.h (__io_write_fn): Update comment.
69128 2012-04-12  Petr Baudis  <pasky@ucw.cz>
69130         [BZ #2074]
69131         * stdio.texi (Hook Functions): The user provided writer function
69132         is not allowed to return -1.
69134 2012-04-11  David S. Miller  <davem@davemloft.net>
69136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69138 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
69140         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69141         Add a leading slash to rtkaio.
69143 2012-04-11  Jim Meyering  <meyering@redhat.com>
69145         [BZ #11959]
69146         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69147         It is not necessarily an error to ignore fwrite's return
69148         value.  One can reliably use ferror to test for errors after
69149         the fact.
69151 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69153         * bits/types.h (__snseconds_t): New type.
69154         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69156         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69157         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69158         (__SNSECONDS_T_TYPE): Likewise.
69159         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69160         (__SNSECONDS_T_TYPE): Likewise.
69161         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69162         (__SNSECONDS_T_TYPE): Likewise.
69164 2012-04-10  Andreas Jaeger  <aj@suse.de>
69166         [BZ #2636]
69167         * manual/time.texi (Processor Time): Return type of times is
69168         elapsed real time since an arbitrary point in the past.
69169         (CPU Time): Move CLK_TCK from here...
69170         (Processor Time): ...to here.  Correct description.
69171         * manual/conf.texi (Constants for Sysconf): Correct description of
69172         _SC_CLK_TCK.
69174 2012-04-10  David S. Miller  <davem@davemloft.net>
69176         [BZ #13967]
69177         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69178         where the is a gap between DT_REL(A) and DT_JMPREL.
69180 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69182         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69183         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69184         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69186 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69188         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69189         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69190         (dl_main): Handle --inhibit-cache.
69191         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69192         _dl_inhibit_cache.
69193         * elf/dl-load.c (_dl_map_object): Use it.
69194         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69196 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69198         [BZ #13872]
69199         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69200         (__ieee754_powl): Saturate large exponents rather than testing for
69201         overflow of y*log2(x).
69202         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69203         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69204         exceptions.
69206         [BZ #11521]
69207         * math/s_ctan.c: Include <float.h>.
69208         (__ctan): Avoid internal overflow or cancellation in calculating
69209         denominator.
69210         * math/s_ctanf.c: Likewise.
69211         * math/s_ctanl.c: Likewise.
69212         * math/s_ctanh.c: Likewise.
69213         * math/s_ctanhf.c: Likewise.
69214         * math/s_ctanhl.c: Likewise.
69215         * math/libm-test.inc (ctan_test): Add more tests.
69216         (ctanh_test): Likewise.
69217         * sysdeps/i386/fpu/libm-test-ulps: Update.
69218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69220 2012-04-09  Andreas Jaeger  <aj@suse.de>
69222         [BZ #6894]
69223         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69224         is an optional BSD extension.
69226         [BZ #10254]
69227         * manual/stdio.texi (Opening Streams): Document additional fopen
69228         parameters.
69230 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69232         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69233         %eax without telling the compiler.
69235 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69237         [BZ # 13963]
69238         * manual/install.texi: Use sourceware.org.
69240 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69242         [BZ #13873]
69243         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69244         (__ieee754_pow): Generate overflow and underflow using huge*huge
69245         and tiny*tiny rather than just returning constant infinity or zero
69246         for large exponents.
69247         * math/libm-test.inc (pow_test): Require overflow exceptions for
69248         applicable cases of large exponents.
69250         [BZ #706]
69251         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69252         (__ieee754_pow): Use iterative multiplication algorithm only for
69253         integer exponents with absolute value below 1024.  Check for odd
69254         integer exponents when using algorithm for real exponents.
69255         * math/libm-test.inc (pow_test): Add more tests.
69256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69258 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69260         [BZ #13705]
69261         * math/libm-test.inc (exp_test): Do not allow overflow exception
69262         on underflow test.
69264 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69266         [BZ #13705]
69267         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69268         instead of __kernel_standard_f.
69270 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69272         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69273         * sysdeps/x86_64/memset_chk.S: Likewise.
69275 2012-04-08  Andreas Jaeger  <aj@suse.de>
69277         [BZ #10153]
69278         * manual/startup.texi (Environment Access): Describe return value
69279         for putenv and setenv.
69281         [BZ #6895]
69282         * manual/filesys.texi (Directory Entries): Add description for
69283         DT_LNK.
69285         [BZ #6890]
69286         * manual/filesys.texi (Directory Entries): Clarify that it's file
69287         system not operating system in the description of DT_UNKNOWN.
69289         [BZ #6578]
69290         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69292 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69294         [BZ #6649]
69295         * manual/llio.texi (Opening and Closing Files): Add cross
69296         reference to explain mode argument.
69298 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69300         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69301         * sysdeps/x86_64/memset_chk.S: Likewise.
69303 2012-04-07  David S. Miller  <davem@davemloft.net>
69305         * elf/elf.h (R_SPARC_WDISP10): Define.
69306         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69307         R_SPARC_SIZE32.
69308         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69309         R_SPARC_SIZE64 and R_SPARC_H34.
69311 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69313         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69314         conditions and remove no longer applicable assertion.
69316 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69318         * bits/byteswap.h: Include <features.h>.
69319         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69320         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69322 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69324         * bits/byteswap.h (__bswap_16): Removed.
69325         Include <bits/byteswap-16.h> to get __bswap_16.
69326         * sysdeps/i386/bits/byteswap.h: Likewise.
69327         * sysdeps/s390/bits/byteswap.h: Likewise.
69328         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69329         * bits/byteswap-16.h: New file.
69330         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69331         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69332         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69333         * string/Makefile (headers): Add bits/byteswap-16.h.
69335 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69337         [BZ #13895]
69338         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69339         extra indirection.
69340         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69341         * nss/tst-nss-static.c: New.
69343 2012-04-06  Robert Millan  <rmh@gnu.org>
69345         [BZ #6486]
69346         * manual/llio.texi (File Position Primitive): lseek
69347         refers to WHENCE when it really means OFFSET.
69349 2012-04-06  Andreas Jaeger  <aj@suse.de>
69351         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69352         strncmp declarations.
69354         * abilist/libc.abilist: Add __poll and __ppoll.
69356 2012-04-05  David S. Miller  <davem@davemloft.net>
69358         * scripts/check-local-headers.sh: Accept a host triplet in the
69359         path matched by the exclude regexp.
69361         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69362         definition.
69363         * sysdeps/powerpc/powerpc32/dl-machine.h
69364         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69365         * sysdeps/s390/s390-32/dl-machine.h
69366         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69367         * sysdeps/sparc/sparc32/dl-machine.h
69368         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69369         * sysdeps/sparc/sparc64/dl-machine.h
69370         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69372         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69373         lazy binding.
69374         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69375         undefined symbol errors.
69377         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69378         DT_NEEDED entries.
69380 2012-04-05  Michael Matz  <matz@suse.de>
69382         [BZ #13592]
69383         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69385 2012-04-05  Andreas Jaeger  <aj@suse.de>
69387         [BZ #13908]
69388         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69389         comment.
69391 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69393         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69394         which ROUND is no valid rounding mode.
69396 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69398         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69399         read again.
69400         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69402 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69404         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69405         an exception using FPU order intentionally.
69407 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69409         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69410         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69411         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69412         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69414 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69416         [BZ #12340]
69417         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69418         EINVAL when BUFLEN is too smal.
69420 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69422         [BZ #13553]
69423         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69424         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69426 2012-04-03  Andreas Jaeger  <aj@suse.de>
69428         [BZ #13938]
69429         * manual/setjmp.texi (System V contexts): Fix sentence.
69431         [BZ #13926]
69432         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69433         New macro for this case.
69434         [!__GNUC__] (__bswap_64): New inline function for this case.
69435         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69436         * bits/byteswap.h: Likewise.
69437         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69438         ull, guard with __GLIBC_HAVE_LONG_LONG.
69440         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69441         __GLIBC_HAVE_LONG_LONG.
69443         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69444         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69446 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69448         [BZ #13691]
69449         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69450         inptr and inend, rather than using last_ch.
69452 2012-04-02  David S. Miller  <davem@davemloft.net>
69454         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69455         * stdio-common/printf-parse.h (read_int): Change return type to
69456         'int', return -1 on INT_MAX overflow.
69457         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69458         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69459         overflows INT_MAX.  Check for overflow of in-format-string precision
69460         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69461         SIZE_MAX not INT_MAX for integer overflow test.
69462         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69463         skip the construct in the format string but do not record anything.
69464         * stdio-common/bug22.c: Adjust to test both width/prevision
69465         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69466         explicitly for proper errno values.
69468 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69470         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69471         CHAR_MAX.
69472         * string/test-strcmp.c [! WIDE]: Likewise.
69473         * time/tst-mktime2.c: Likewise for INT_MAX.
69474         * string/test-string.h: #include <sys/param.h> for MIN.
69476         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69477         * sysdeps/i386/init-first.c (init): Likewise.
69478         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69479         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69480         * sysdeps/sh/init-first.c (init): Likewise.
69482 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69484         * po/ru.po: Update from translation team.
69485         * po/vi.po: Likewise.
69487 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69489         * resolv/nss_dns/dns-host.c: Merge copyright years.
69491 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69493         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69494         Optimize memcpy with prefetch if
69495         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69496         src, dst pointers have unequal 16 byte alignments.
69498 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69500         [BZ #13928]
69501         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69502         from a CNAME entry and return the minimum ttl for the query.
69503         (gaih_getanswer_slice): Likewise.
69505 2012-03-30  Jeff Law  <law@redhat.com>
69507         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69508         due to long keys.
69509         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69510         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69512         * resolv/nss_dns/dns-host.c: Update copyright year.
69514 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69516         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69517         requests to save a system call.  Fix check that all bytes are sent.
69519         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69520         comments for sendmmsg.
69522 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69524         [BZ #13691]
69525         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69526         with only 1 character between 0x0041 and 0x01b0.
69527         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69528         * wcsmbs/tst-mbsnrtowcs.c: New file.
69530 2012-03-29  David S. Miller  <davem@davemloft.net>
69532         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69533         small copies by hand.
69535 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69537         [BZ #13761]
69538         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69539         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69540         group memberships.
69542 2012-03-28  David S. Miller  <davem@davemloft.net>
69544         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69545         that branches into memcpy.
69546         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69547         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69548         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69549         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69550         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69551         bits.
69552         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69553         implementation too.
69554         * sysdeps/sparc/mempcpy.S: New file.
69556         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69557         the IFUNC routine in the libc case.
69558         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69560         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69561         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69562         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69563         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69564         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69565         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69566         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69567         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69569         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69570         loop to 256 bytes instead of 64 bytes and fix test signedness.
69572         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69573         * sysdeps/sparc/sparc32/Makefile: rather than here...
69574         * sysdeps/sparc/sparc64/Makefile: and here.
69576 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69578         * malloc/mallocbug.c: Avoid warnings about unused variables.
69580 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69582         [BZ #13760]
69583         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69584         in the right place. Discard and retry query if response is
69585         larger than input buffer size.
69587 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69589         [BZ #369]
69590         [BZ #2678]
69591         [BZ #3866]
69592         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69593         x for large integer exponent.
69594         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69595         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69596         sign of result as needed afterwards.
69597         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69598         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69599         result for underflowing pow the same as for overflow.
69600         (__kernel_standard_l): Handle powl overflow and underflow here
69601         rather than calling __kernel_standard.
69602         * math/libm-test.inc (pow_test): Add more tests.
69604         [BZ #3868]
69605         [BZ #13879]
69606         [BZ #13910]
69607         [BZ #13911]
69608         [BZ #13912]
69609         [BZ #13913]
69610         [BZ #13915]
69611         [BZ #13916]
69612         [BZ #13917]
69613         [BZ #13918]
69614         [BZ #13919]
69615         [BZ #13920]
69616         [BZ #13921]
69617         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69618         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69619         (__kernel_standard_l): New function.
69620         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69621         __kernel_standard.
69622         * math/w_acosl.c (__acosl): Likewise.
69623         * math/w_asinl.c (__asinl): Likewise.
69624         * math/w_atan2l.c (__atan2l): Likewise.
69625         * math/w_atanhl.c (__atanhl): Likewise.
69626         * math/w_coshl.c (__coshl): Likewise.
69627         * math/w_exp10l.c (__exp10l): Likewise.
69628         * math/w_exp2l.c (__exp2l): Likewise.
69629         * math/w_fmodl.c (__fmodl): Likewise.
69630         * math/w_hypotl.c (__hypotl): Likewise.
69631         * math/w_j0l.c (__j0l, __y0l): Likewise.
69632         * math/w_j1l.c (__j1l, __y1l): Likewise.
69633         * math/w_jnl.c (__jnl, __ynl): Likewise.
69634         * math/w_lgammal.c (__lgammal): Likewise.
69635         * math/w_log10l.c (__log10l): Likewise.
69636         * math/w_log2l.c (__log2l): Likewise.
69637         * math/w_logl.c (__logl): Likewise.
69638         * math/w_powl.c (__powl): Likewise.
69639         * math/w_remainderl.c (__remainderl): Likewise.
69640         * math/w_scalbl.c (sysv_scalbl): Likewise.
69641         * math/w_sinhl.c (__sinhl): Likewise.
69642         * math/w_sqrtl.c (__sqrtl): Likewise.
69643         * math/w_tgammal.c (__tgammal): Likewise.
69644         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69645         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69646         * math/libm-test.inc (acos_test): Add more tests.
69647         (acosh_test): Likewise.
69648         (asin_test): Likewise.
69649         (atanh_test): Likewise.
69650         (exp_test): Likewise.
69651         (exp10_test): Likewise.
69652         (exp2_test): Likewise.
69653         (expm1_test): Likewise.
69654         (lgamma_test): Likewise.
69655         (log_test): Likewise.
69656         (log10_test): Likewise.
69657         (log1p_test): Likewise.
69658         (log2_test): Likewise.
69659         (pow_test): Do not allow some spurious overflow exceptions.
69660         (sqrt_test): Add more tests.
69661         (tgamma_test): Likewise.
69662         (y0_test): Likewise.
69663         (y1_test): Likewise.
69664         (yn_test): Likewise.
69666 2012-03-27  Anton Blanchard  <anton@samba.org>
69668         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69669         MAP_HUGETLB.
69670         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69671         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69672         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69674 2012-03-27  David S. Miller  <davem@davemloft.net>
69676         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69678         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69679         have-as-vis3 check.
69681 2012-03-27  Andreas Jaeger  <aj@suse.de>
69683         * sysdeps/x86_64/elf/configure.in: Moved to ...
69684         * sysdeps/x86_64/configure.in: ... here.
69685         * sysdeps/x86_64/elf/start.S: Moved to ...
69686         * sysdeps/x86_64/start.S: ... here.
69687         * sysdeps/x86_64/elf/configure: Delete.
69689         * sysdeps/x86_64/configure.in: Merge contents from
69690         sysdeps/i386/configure.in (without i686 check).
69692         * sysdeps/i386/elf/Versions: Merge into ...
69693         * sysdeps/i386/Versions: ... this.
69694         * sysdeps/i386/elf/Versions: Delete file.
69695         * sysdeps/i386/elf/start.S: Moved to ...
69696         * sysdeps/i386/start.S: ...here.
69697         * sysdeps/i386/elf/configure.in: Merge into...
69698         * sysdeps/i386/configure.in: ...here.
69699         * sysdeps/i386/elf/configure.in: Delete file.
69700         * sysdeps/i386/elf/configure: Delete file.
69702         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69703         * debug/backtracesyms.c: ... here.
69704         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69705         * debug/backtracesymsfd.c: ... here.
69706         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69707         * sysdeps/generic/ifunc-sel.h: ... here.
69709         * sysdeps/unix/i386/start.c: Delete file.
69710         * sysdeps/unix/sparc/start.c: Delete file.
69711         * sysdeps/unix/start.c: Delete file.
69713         * sysdeps/sh/elf/configure.in: Moved to ...
69714         * sysdeps/sh/configure.in: ... here.
69715         * sysdeps/sh/elf/start.S: Moved to ...
69716         * sysdeps/sh/start.S: ... here.
69717         * sysdeps/sh/elf/configure: Delete file.
69719         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69720         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69721         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69722         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69723         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69724         * sysdeps/powerpc/powerpc64/start.S: here.
69725         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69726         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69727         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69728         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69729         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69731         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69732         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69733         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69734         * sysdeps/powerpc/powerpc32/start.S: ... here.
69735         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69736         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69737         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69739         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69740         * sysdeps/powerpc/ifunc-sel.h: ... here.
69741         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69742         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69744         * sysdeps/sparc/elf/configure.in: Moved to ...
69745         * sysdeps/sparc/configure.in: ... here.
69746         * sysdeps/sparc/elf/configure: Delete file.
69747         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69748         * sysdeps/sparc/sparc32/start.S: ... here.
69749         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69750         * sysdeps/sparc/sparc64/start.S: ... here.
69751         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69752         * sysdeps/sparc/sparc32/Makefile: ... this.
69753         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69754         * sysdeps/sparc/sparc64/Makefile: ... this.
69756         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69757         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69758         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69759         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69760         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69761         * sysdeps/s390/s390-32/setjmp.S: ... here.
69762         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69763         * sysdeps/s390/s390-32/configure.in: ... here.
69764         * sysdeps/s390/s390-32/elf/configure: Delete file.
69765         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69766         * sysdeps/s390/s390-32/start.S: ... here.
69768         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69769         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69770         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69771         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69772         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69773         * sysdeps/s390/s390-64/setjmp.S: ... here.
69774         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69775         * sysdeps/s390/s390-64/configure.in: ... here
69776         * sysdeps/s390/s390-64/elf/configure: Delete file.
69777         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69778         * sysdeps/s390/s390-64/start.S: ... here.
69779         * sysdeps/s390/s390-64/elf/configure: Delete.
69781         * configure.in: Remove support for elf directories in sysdeps.
69783         * configure: Regenerated.
69784         * sysdeps/i386/configure: Regenerated.
69785         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69786         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69787         * sysdeps/s390/s390-32/configure: Regenerated.
69788         * sysdeps/s390/s390-64/configure: Regenerated.
69789         * sysdeps/sh/configure: Regenerated.
69790         * sysdeps/sparc/configure: Regenerated.
69791         * sysdeps/x86_64/configure: Regenerated.
69793 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69797         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69798         denormal result into account.
69800 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69802         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69803         Reported by Allan McRae <allan@archlinux.org>.
69805 2012-03-23  Jeff Law  <law@redhat.com>
69807         * nss/getnssent.c (__nss_getent): Fix typo.
69809 2012-03-23  David S. Miller  <davem@davemloft.net>
69811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69813 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69815         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69816         to pad to uint64_t for each field.
69817         (dl_tls_index): Replace unsigned long with uint64_t.
69819 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69820         Paul Pluzhnikov  <ppluzhnikov@google.com>
69822         [BZ #6528]
69823         * grp/Makefile (otherlibs): Don't set it.
69824         * inet/Makefile (otherlibs): Likewise.
69825         * login/Makefile (otherlibs): Likewise.
69826         * nscd/Makefile (otherlibs): Likewise.
69827         * posix/Makefile (otherlibs): Likewise.
69828         * pwd/Makefile (otherlibs): Likewise.
69829         * rt/Makefile (otherlibs): Likewise.
69830         * sunrpc/Makefile (otherlibs): Likewise.
69831         * nss/Makefile (otherlibs): Likewise.
69832         Add libnss_files to routines and static-only-routines.
69833         ($(objpfx)getent): Remove rule.
69834         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69835         static-only-routines.
69837 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69839         [BZ #13892]
69840         * math/s_cexp.c: Include <float.h>.
69841         (__cexp): Handle exp result overflowing not necessarily
69842         overflowing both real and imaginary parts of result.
69843         * math/s_cexpf.c: Likewise.
69844         * math/s_cexpl.c: Likewise.
69845         * math/libm-test.inc (cexp_test): Add more tests.
69846         * sysdeps/i386/fpu/libm-test-ulps: Update.
69847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69849 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69851         * include/link.h (ELFW): New macro.
69852         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69853         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69855 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69857         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69858         with uint64_t.
69860 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69862         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69863         declaration.
69864         (struct La_x32_retval): Likewise.
69866 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69868         * sysdeps/x86_64/preconfigure.in: New file.
69869         * sysdeps/x86_64/preconfigure: New generated file.
69871 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69873         [BZ #13824]
69874         * math/e_exp2l.c: Include <float.h>.
69875         (__ieee754_exp2l): Handle overflow and underflow cases
69876         separately.  Only pass fractional part of argument to
69877         __ieee754_expl.
69878         * math/libm-test.inc (exp2_test): Add more tests.
69880         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69881         negating x to take absolute value.
69882         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69883         Likewise.
69884         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69885         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69886         Likewise.
69887         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69888         computing low part if x was negated.
69889         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69891 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69893         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69894         la_x32_gnu_pltexit.
69895         (pltexit): Cast int_retval to ptrdiff_t.
69896         * elf/tst-auditmod3b.c: Likewise.
69897         * elf/tst-auditmod4b.c: Likewise.
69898         * elf/tst-auditmod5b.c: Likewise.
69899         * elf/tst-auditmod6b.c: Likewise.
69900         * elf/tst-auditmod6c.c: Likewise.
69901         * elf/tst-auditmod7b.c: Likewise.
69903         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69904         and x32_gnu_pltexit.
69906         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69907         __ELF_NATIVE_CLASS.
69908         (La_x32_regs): New macro.
69909         (La_x32_retval): Likewise.
69910         (la_x32_gnu_pltenter): New function prototype.
69911         (la_x32_gnu_pltexit): Likewise.
69913 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69915         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69916         exponent.
69918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69920         * configure.in (libc_cv_cc_nofma): Check for option to disable
69921         generation of FMA instructions.
69922         * configure: Regenerate.
69923         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69924         * sysdeps/ieee754/dbl-64/Makefile: New file.
69925         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69926         Remove brandred-fma4.
69927         (CFLAGS-brandred-fma4.c): Remove.
69928         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69929         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69930         define.
69931         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69932         define.
69934 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69936         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69937         LLONG_MAX != LONG_MAX.
69938         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69939         (_fitoa_word): Likewise.
69940         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69941         LLONG_MAX != LONG_MAX.
69942         * stdio-common/_itowa.h: Include <_itoa.h>.
69943         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69944         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69945         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69946         only if not defined.
69947         (_ITOA_WORD_TYPE): Likewise.
69948         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69949         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69951 2012-03-21  David S. Miller  <davem@davemloft.net>
69953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69955 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69957         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69958         of x86_64 when setting libc_cv_slibdir, libdir and
69959         libc_cv_localedir.
69960         * sysdeps/unix/sysv/linux/configure: Regenerated.
69962 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69964         * manual/lang.texi (Old Varargs): Remove section.
69965         (How Variadic): Update menu.
69966         (va_start): Do not mention varargs.h.
69968 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69969             Joseph Myers  <joseph@codesourcery.com>
69971         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69972         link test.
69973         * configure: Regenerated.
69975 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69977         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69978         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69979         conformtest.pl
69981 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69983         * NOTES: Remove.
69984         * Makefile (files-for-dist): Remove NOTES.
69985         (NOTES): Remove rule.
69986         * README: Don't refer to NOTES.
69987         * manual/creature.texi: Don't include macros.texi.
69988         * manual/intro.texi (creature.texi): Remove comment referring to
69989         NOTES.
69991         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69992         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69993         * configure: Regenerated.
69994         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69995         LIBC_TRY_CC_OPTION.
69996         (libc_cv_as_i686): Likewise.
69997         (libc_cv_cc_avx): Likewise.
69998         (libc_cv_cc_sse2avx): Likewise.
69999         (libc_cv_cc_fma4): Likewise.
70000         (libc_cv_cc_novzeroupper): Likewise.
70001         * sysdeps/i386/configure: Regenerated.
70003         [BZ #13883]
70004         * sysdeps/i386/fpu/s_cexp.S: Remove.
70005         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70006         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70007         * math/libm-test.inc (cexp_test): Add more tests.
70008         * sysdeps/i386/fpu/libm-test-ulps: Update.
70009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70011 2012-03-21  Allan McRae  <allan@archlinux.org>
70013         * timezone/Makefile: Do not install iso3166.tab and zone.tab
70015 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70017         [BZ #13871]
70018         * math/w_exp2.c: Do not include <float.h>.
70019         (o_threshold, u_threshold): Remove.
70020         (__exp2): Calculate result before checking finiteness and calling
70021         __kernel_standard.
70022         * math/w_exp2f.c: Likewise.
70023         * math/w_exp2l.c: Likewise.
70024         * math/libm-test.inc (exp2_test): Require overflow exception for
70025         1e6 input.
70027         [BZ #3866]
70028         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70029         range of signed 64-bit integers before using fistpll.  Remove
70030         checks for whether integers fit in mantissa bits.
70031         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70032         the range of signed 32-bit integers before using fistpl.  Remove
70033         checks for whether integers fit in mantissa bits.
70034         * sysdeps/i386/fpu/e_powl.S (p64): New object.
70035         (__ieee754_powl): Test for y outside the range of signed 64-bit
70036         integers before using fistpll.  Reduce 64-bit values to 63-bit
70037         ones as needed.
70038         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70039         divide-by-zero is raised for zero to large negative powers.
70040         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
70041         (__ieee754_powl): Test for y outside the range of signed 64-bit
70042         integers before using fistpll.  Reduce 64-bit values to 63-bit
70043         ones as needed.
70044         * math/libm-test.inc (pow_test): Add more tests.
70046 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70048         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70049         <stdio-common/_itoa.h>.
70050         * debug/segfault.c: Likewise.
70051         * elf/dl-cache.c: Likewise.
70052         * elf/dl-minimal.c: Likewise.
70053         * elf/dl-misc.c: Likewise.
70054         * elf/dl-sysdep.c: Likewise.
70055         * elf/dl-version.c: Likewise.
70056         * elf/rtld.c: Likewise.
70057         * hurd/hurdsock.c: Likewise.
70058         * hurd/lookup-retry.c: Likewise.
70059         * malloc/malloc.c: Likewise.
70060         * malloc/mtrace.c: Likewise.
70061         * nscd/nscd_getgr_r.c: Likewise.
70062         * nscd/nscd_getpw_r.c: Likewise.
70063         * nscd/nscd_getserv_r.c: Likewise.
70064         * posix/getopt_init.c: Likewise.
70065         * posix/wordexp.c: Likewise.
70066         * stdio-common/_itoa.c: Likewise.
70067         * stdio-common/printf_fphex.c: Likewise.
70068         * stdio-common/vfprintf.c: Likewise.
70069         * string/_strerror.c: Likewise.
70070         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70071         * sysdeps/i386/i686/hp-timing.h: Likewise.
70072         * sysdeps/mach/_strerror.c: Likewise.
70073         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70074         * sysdeps/mach/hurd/sethostid.c: Likewise.
70075         * sysdeps/mach/hurd/xmknodat.c: Likewise.
70076         * sysdeps/mach/xpg-strerror.c: Likewise.
70077         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70078         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70079         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70080         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70081         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70082         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70083         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70084         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70085         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70086         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70087         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70088         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70089         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70090         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70091         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70092         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70093         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70094         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70095         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70096         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70097         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70099         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70101         * stdio-common/_itoa.h: Moved to ...
70102         * sysdeps/generic/_itoa.h: Here.
70104         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70106         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70107         instead of "_itoa.h" and "_itowa.h".
70108         * stdio-common/vfprintf.: Likewise.
70110 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70112         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70113         <bits/wordsize.h>.
70114         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70115         (__signbit): Likwise.
70116         (llrintf): Likwise.
70117         (llrint): Likwise.
70119 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70121         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70122         __WORDSIZE != 64.
70124 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
70126         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70127         OVERFLOW_EXCEPTION_OK.
70128         * math/libm-test.inc ("Philosophy"): Update comment about
70129         exception testing.
70130         (OVERFLOW_EXCEPTION): Define.
70131         (OVERFLOW_EXCEPTION_OK): Likewise.
70132         (INVALID_EXCEPTION_OK): Renumber.
70133         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70134         (IGNORE_ZERO_INF_SIGN): Likewise.
70135         (test_exceptions): Handle FE_OVERFLOW.
70136         (exp10_test): Expect overflow exceptions.
70137         (exp2_test): Likewise.
70138         (expm1_test): Likewise.
70139         (nextafter_test): Likewise.
70140         (pow_test): Likewise.
70141         (scalbn_test): Likewise.
70142         (scalbln_test): Likewise.
70144 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70146         * sysdeps/x86_64/bits/atomic.h
70147         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70148         64bit integer.
70149         (atomic_exchange_acq): Likewise.
70150         (__arch_exchange_and_add_body): Likewise.
70151         (__arch_add_body): Likewise.
70152         (atomic_add_negative): Likewise.
70153         (atomic_add_zero): Likewise.
70155 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70157         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70158         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70160 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70162         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70163         Check __x86_64__ instead of __WORDSIZE.
70165 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70167         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70169 2012-03-19  David S. Miller  <davem@davemloft.net>
70171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70173         * sysdeps/sparc/fpu/fenv_private.h: New file.
70174         * sysdeps/sparc/fpu/math_private.h: Use it.
70175         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70176         Remove.
70177         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70178         (libc_feholdexcept_setroundl): Remove.
70179         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70180         Remove.
70181         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70182         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70184 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70186         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70187         int64_t instead of long int.
70188         (INSERT_WORDS64): Likwise.
70190 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70192         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70193         _Unwind_GetCFA return to _Unwind_Ptr first.
70195 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70197         [BZ #13629]
70198         * math/s_clog.c: Include <float.h>.
70199         (__clog): Scale large or subnormal inputs.
70200         * math/s_clogf.c: Likewise.
70201         * math/s_clogl.c: Likewise.
70202         * math/s_clog10.c: Include <float.h>.
70203         (M_LOG10_2): Define.
70204         (__clog10): Scale large or subnormal inputs.
70205         * math/s_clog10f.c: Likewise.
70206         * math/s_clog10l.c: Likewise.
70207         * math/libm-test.inc (clog_test): Add more tests.
70208         (clog10_test): Likewise.
70209         * sysdeps/i386/fpu/libm-test-ulps: Update.
70210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70212         [BZ #11451]
70213         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70214         x and y.
70215         * math/libm-test.inc (atan2_test): Add another test.
70217         * Makerules (common-objdir-compile): Remove.
70218         * sysdeps/unix/Makefile (config-generated): Do not add
70219         $(unix-generated) to variable.
70220         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70221         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70222         Remove rule.
70223         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70224         Likewise.
70225         [generic bits/local_lim.h] (before-compile): Do not append to
70226         variable.
70227         [generic bits/local_lim.h] (common-generated): Likewise.
70228         [generic sys/param.h] (before-compile): Do not append to variable.
70229         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70230         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70231         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70232         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70233         include.
70234         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70235         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70236         [generic sys/param.h] ($(addprefix
70237         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70238         [generic sys/param.h] (common-generated): Do not append to
70239         variable.
70240         [generic sys/param.h] (sysdep_headers): Likewise.
70241         [generic bits/errno.h] (before-compile): Do not append to
70242         variable.
70243         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70244         rule.
70245         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70246         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70247         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70248         [generic bits/errno.h] (common-generated): Do not append to
70249         variable.
70250         [generic bits/ioctls.h] (before-compile): Do not append to
70251         variable.
70252         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70253         rule.
70254         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70255         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70256         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70257         rule.
70258         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70259         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70260         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70261         [generic bits/ioctls.h] (common-generated): Do not append to
70262         variable.
70263         [generic sys/syscall.h] (syscall.h): Remove variable.
70264         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70265         rule.
70266         [generic sys/syscall.h] (before-compile): Do not append to
70267         variable.
70268         [generic sys/syscall.h] (common-generated): Likewise.
70269         * sysdeps/unix/errnos-tmpl.c: Remove file.
70270         * sysdeps/unix/errnos.awk: Likewise.
70271         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70272         * sysdeps/unix/ioctls.awk: Likewise.
70273         * sysdeps/unix/mk-local_lim.c: Likewise.
70274         * sysdeps/unix/snarf-ioctls: Likewise.
70276 2012-03-19  Richard Henderson  <rth@twiddle.net>
70278         * sysdeps/i386/fpu/fenv_private.h: New file.
70279         * sysdeps/i386/fpu/math_private.h: Use it.
70280         (math_opt_barrier, math_force_eval): Remove.
70281         (libc_feholdexcept_setround_53bit): Remove.
70282         (libc_feupdateenv_53bit): Remove.
70283         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70284         (math_opt_barrier, math_force_eval): Remove.
70285         (libc_feholdexcept): Remove.
70286         (libc_feholdexcept_setround): Remove.
70287         (libc_fetestexcept, libc_fesetenv): Remove.
70288         (libc_feupdateenv_test): Remove.
70289         (libc_feupdateenv, libc_feholdsetround): Remove.
70290         (libc_feresetround): Remove.
70292         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70293         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70295         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70296         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70297         (libc_feupdateenv_testl): New.
70298         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70299         (libc_feupdateenv_testf): New.
70300         (libc_feupdateenv): Use libc_feupdateenv_test.
70301         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70302         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70304         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70305         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70306         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70307         (libc_feresetround_noex): New.
70308         (libc_feresetround_noexf): New.
70309         (libc_feresetround_noexl): New.
70310         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70311         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70312         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70313         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70314         SET_RESTORE_ROUND.
70315         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70316         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70317         (__cos): Likewise.
70318         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70319         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70320         SET_RESTORE_ROUND_NOEX.
70321         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70322         SET_RESTORE_ROUND_NOEXF.
70323         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70324         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70325         (libc_feholdsetroundf): New.
70326         (libc_feresetround, libc_feresetroundf): New.
70328         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70329         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70330         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70332         * sysdeps/generic/math_private.h: Include <fenv.h>.
70333         (default_libc_feholdexcept): New.
70334         (default_libc_feholdexcept_setround): New.
70335         (default_libc_fesetenv, default_libc_feupdateenv): New.
70336         (libc_feholdexcept): Only define if undefined.
70337         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70338         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70339         (libc_feholdexcept_setroundl): Likewise.
70340         (libc_feholdexcept_setround_53bit): Likewise.
70341         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70342         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70343         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70344         (libc_feupdateenv_53bit): Likewise.
70345         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70346         (libc_feholdexcept): Convert from macro to inline function.
70347         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70348         (libc_fesetenv, libc_feupdateenv): Likewise.
70350         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70351         not previously defined.
70352         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70353         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70354         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70355         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70356         * sysdeps/ieee754/flt-32/math_private.h: New file.
70357         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70358         math_private.h below SET_FLOAT_WORD.
70359         (__isnan, __isinf_ns, __finite): Remove.
70360         (__isnanf, __isinf_nsf, __finitef): Remove.
70362 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70366 2012-03-17  David S. Miller  <davem@davemloft.net>
70368         [BZ #6471]
70369         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70370         for 2.16.
70372 2012-03-16  David S. Miller  <davem@davemloft.net>
70374         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70375         warnings.
70377         [BZ #6471]
70378         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70379         properly.
70380         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70381         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70382         sysdep_routines when subdir is sysvipc.
70383         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70384         __getshmlba helper.
70386         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70388 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70390         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70391         [__LP64__].
70393 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70395         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70396         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70397         (__lround): Renamed to ...
70398         (__llround): This.  Replace long int with long long int.
70399         Define lround functions as aliases of llround functions.
70400         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70402 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70404         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70405         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70406         adresses to uintptr_t.  Replace "long int" and "unsigned long
70407         int" with "greg_t" on va_arg.
70409 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70411         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70412         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70414         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70415         Move e_machine check before EI_CLASS check.  Handle x32
70416         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70417         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70418         SKIP_EM_IA_64 and include
70419         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70421         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70422         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70423         (add_system_dir): New macro.
70425         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70426         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70428 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70430         [BZ #2551]
70431         [BZ #2552]
70432         [BZ #2553]
70433         [BZ #2554]
70434         [BZ #2562]
70435         [BZ #2563]
70436         [BZ #2565]
70437         [BZ #2566]
70438         [BZ #2576]
70439         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70440         (y0): Likewise.
70441         * math/w_j0f.c (j0f): Likewise.
70442         (y0f): Likewise.
70443         * math/w_j0l.c (__j0l): Likewise.
70444         (__y0l): Likewise.
70445         * math/w_j1.c (j1): Likewise.
70446         (y1): Likewise.
70447         * math/w_j1f.c (j1f): Likewise.
70448         (y1f): Likewise.
70449         * math/w_j1l.c (__j1l): Likewise.
70450         (__y1l): Likewise.
70451         * math/w_jn.c (jn): Likewise.
70452         (yn): Likewise.
70453         * math/w_jnf.c (jnf): Likewise.
70454         (ynf): Likewise.
70455         * math/w_jnl.c (__jnl): Likewise.
70456         (__ynl): Likewise.
70457         * math/libm-test.inc (j0_test): Add more tests.
70458         (j1_test): Likewise.
70459         (jn_test): Likewise.  Add trailing semicolon to existing test.
70460         (y0_test): Likewise.
70461         (y1_test): Likewise.
70462         * sysdeps/i386/fpu/libm-test-ulps: Update.
70463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70465         [BZ #13851]
70466         [BZ #13854]
70467         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70468         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70469         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70470         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70471         (__tanl): Set errno for infinite argument.
70472         * sysdeps/i386/fpu/mptan.c: Remove.
70473         * sysdeps/i386/fpu/s_tan.S: Likewise.
70474         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70475         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70476         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70477         * math/libm-test.inc (tan_test): Add more tests and enable more
70478         tests for double and long double.
70479         * sysdeps/i386/fpu/libm-test-ulps: Update.
70480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70482 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70484         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70485         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70487 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70489         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70490         * configure.in: Use it for both main tree and add-ons.
70491         * configure: Regenerated.
70493 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70495         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70497 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70499         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70500         in comment.
70502         [BZ #13851]
70503         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70504         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70505         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70506         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70507         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70508         infinite argument.
70509         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70510         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70511         != 0 for prec == 2.
70512         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70513         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70514         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70515         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70516         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70517         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70518         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70519         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70520         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70521         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70522         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70523         * math/libm-test.inc (cos_test): Add more tests and enable more
70524         tests for long double.
70525         (sin_test): Likewise.
70526         (sincos_test): Likewise.
70527         * sysdeps/i386/fpu/libm-test-ulps: Update.
70528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70530 2012-03-16  David S. Miller  <davem@davemloft.net>
70532         * sysdeps/sparc/fpu/math_private.h: New file.
70534 2012-03-15  David S. Miller  <davem@davemloft.net>
70536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70537         file.
70538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70540         file.
70541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70542         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70543         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70544         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70545         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70546         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70547         sysdep routines.
70548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70550         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70551         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70553         * sysdeps/sparc/sparc-ifunc.h: New file.
70554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70555         sparc-ifunc.h
70556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70558         Likewise.
70559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70560         Likewise.
70561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70565         Likewise.
70566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70571         Likewise.
70572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70573         Likewise.
70574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70578         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70579         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70580         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70581         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70582         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70583         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70584         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70585         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70586         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70587         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70588         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70589         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70590         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70591         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70592         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70593         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70594         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70595         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70596         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70597         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70599 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70601         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70602         scaling.
70603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70605 2012-03-15  Andreas Jaeger  <aj@suse.de>
70607         [BZ #13852]
70608         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70609         ieee754/flt-32 implementation for sin, cos and sincos.
70610         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70611         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70612         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70613         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70614         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70615         ieee754/flt-32 implementation for tan.
70617         * math/libm-test.inc (cos_test): Enable some large input tests for
70618         float as well
70619         (sin_test): Likewise.
70620         (sincos_test): Likewise.
70621         (tan_test): Add tests for large input.
70623         * sysdeps/i386/fpu/libm-test-ulps: Update.
70625 2012-03-15  Andreas Jaeger  <aj@suse.de>
70627         [BZ #13658]
70628         * math/libm-test.inc (cos_test): Add more test cases.
70629         (sin_test): Likewise.
70630         (sincos_test): Likewise.
70632 2012-03-15  Andreas Jaeger  <aj@suse.de>
70634         [BZ #13837]
70635         * math/libm-test.inc (cos_test): Add a test case for large input
70636         value.
70637         (sin_test): Likewise.
70638         (sincos_test): Likewise.
70640 2012-03-15  Andreas Jaeger  <aj@suse.de>
70641             Joseph Myers  <joseph@codesourcery.com>
70643         [BZ #13658]
70644         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70645         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70646         * sysdeps/i386/fpu/branred.c: Likewise.
70647         * sysdeps/i386/fpu/dosincos.c: Likewise.
70648         * sysdeps/i386/fpu/mpa.c: Likewise.
70649         * sysdeps/i386/fpu/s_cos.S: Likewise.
70650         * sysdeps/i386/fpu/s_sin.S: Likewise.
70651         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70652         * sysdeps/i386/fpu/sincos32.c: Likewise.
70654         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70655         Define.
70656         (libc_feupdateenv_53bit): Define.
70657         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70658         Define.
70659         (libc_feupdateenv_53bit): Define.
70661         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70662         53 bit (without extend i386 double precision).
70664         * math/libm-test.inc (sincos_test): Add tests for large input.
70665         (sin): Likewise.
70666         (cos): Likewise.
70668         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70670 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70674 2012-03-15  David S. Miller  <davem@davemloft.net>
70676         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70677         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70678         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70679         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70684         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70685         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70686         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70687         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70688         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70689         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70690         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70692         file.
70693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70695         file.
70696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70698         file.
70699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70701         file.
70702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70703         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70704         fmin/fmax sysdep routines.
70705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70707 2012-03-14  David S. Miller  <davem@davemloft.net>
70709         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70710         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70711         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70712         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70713         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70714         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70715         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70716         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70717         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70718         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70719         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70720         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70721         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70722         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70723         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70724         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70725         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70726         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70727         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70728         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70729         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70730         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70731         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70732         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70733         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70734         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70735         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70736         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70737         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70738         routines.
70739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70740         file.
70741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70743         file.
70744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70746         file.
70747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70749         file.
70750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70752         file.
70753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70755         file.
70756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70757         file.
70758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70759         file.
70760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70761         file.
70762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70763         New file.
70764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70765         file.
70766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70767         file.
70768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70770         file.
70771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70773         file.
70774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70776         file.
70777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70779         VIS3 routines.
70781         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70782         New file.
70784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70786         * sysdeps/sparc/configure.in: New file.
70787         * sysdeps/sparc/configure: Generate.
70788         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70789         * configure: Regenerate.
70790         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70791         * config.make.in (have-as-vis3): New.
70792         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70793         available use -Av9d instead of -Av9a.
70794         * sysdeps/sparc/sparc64/Makefile: Likewise.
70795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70797         New file.
70798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70799         file.
70800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70801         New file.
70802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70803         file.
70804         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70805         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70806         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70807         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70808         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70810         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70811         fzeros/fnegs to load 0x80000000 into a float register instead of
70812         using the stack.
70813         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70815 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70818         bits/syscall.h.
70819         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70820         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70821         ($(inst_includedir)/bits/syscall.h): Remove rule.
70822         ($(objpfx)bits/syscall.d): Include instead of
70823         $(objpfx)syscall-list.d.
70824         (generated): Change syscall-list.h and syscall-list.d to
70825         bits/syscall.h and bits/syscall.d.
70827 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70829         [BZ #13846]
70830         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70832 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70834         [BZ #13841]
70835         * math/s_csqrt.c: Include <float.h>.
70836         (__csqrt): Scale large or subnormal inputs.
70837         * math/s_csqrtf.c: Likewise.
70838         * math/s_csqrtl.c: Likewise.
70839         * math/libm-test.inc (csqrt_test): Add more tests.
70840         * sysdeps/i386/fpu/libm-test-ulps: Update.
70841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70843         [BZ #13840]
70844         * math/libm-test.inc (hypot_test): Add more tests.
70846 2012-03-13  David S. Miller  <davem@davemloft.net>
70848         [BZ #13840]
70849         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70850         double-precision for the calculation instead of scaling.
70852 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70854         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70855         manipulate bits before adding and subtracting TWO52[sx].
70856         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70857         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70858         Likewise.
70859         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70861 2012-03-13  David S. Miller  <davem@davemloft.net>
70863         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70864         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70865         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70866         rtld-global-offsets.h
70867         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70869         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70870         large parameters.
70872         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70874         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70875         'err' in the ifdef scope in which it is actually used.
70877         * nss/nss_db/db-init.c: Include string.h
70879 2012-03-12  David S. Miller  <davem@davemloft.net>
70881         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70882         masking out of the most significant byte of random value used.
70883         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70884         Fix coding style in previous change.
70886         * sysdeps/unix/sysv/linux/kernel-features.h
70887         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70888         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70889         expression.
70890         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70891         later.
70893 2012-03-11  David S. Miller  <davem@davemloft.net>
70895         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70896         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70897         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70898         for 'resultvar' otherwise things get truncated on 64-bit.
70900         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70901         Fix masking out of the most significant byte of random value used.
70903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70905 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70909 2012-03-09  David S. Miller  <davem@davemloft.net>
70911         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70912         variables with appropriate CPP guards.
70913         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70914         from the frame pointer, not the stack pointer.  Correct layout
70915         comments.  Fix test on resulting framesize and the management of
70916         the outregs buffer for pltexit.  Preserve floating point return
70917         values across _dl_call_pltexit call.
70918         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70919         framesize and the management of the outregs buffer for pltexit.
70920         Preserve floating point return values across _dl_call_pltexit
70921         call.
70922         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70923         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70924         (la_sparc64_gnu_pltexit): New functions.
70925         (print_exit): Fix format string for return register value.
70927 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70929         * sunrpc/Makefile (others): Add rpcgen.
70930         ($(objpfx)rpcgen): Remove special build rule and dependency on
70931         libc.
70932         * sunrpc/rpcgen.c: New file.
70934 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70936         [BZ #13673]
70937         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70938         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70939         * sysdeps/i386/crti.S: Likewise.
70940         * sysdeps/i386/crtn.S: Likewise.
70941         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70942         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70943         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70944         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70945         * sysdeps/sh/crti.S: Likewise.
70946         * sysdeps/sh/crtn.S: Likewise.
70947         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70949         [BZ #13673]
70950         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70951         with URL.
70952         * locale/programs/locfile-kw.gperf: Likewise.
70953         * locale/programs/charmap-kw.h: Regenerated.
70954         * locale/programs/locfile-kw.h: Likewise.
70956         [BZ #13673]
70957         * intl/plural.y: Replace FSF snail mail address with URL.
70958         * intl/plural.c: Regenerated.
70960 2012-03-09  Richard Henderson  <rth@twiddle.net>
70962         * include/math_private.h: Remove file.
70963         * math/math_private.h: Move file ...
70964         * sysdeps/generic/math_private.h: ... here.
70966         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70967         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70968         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70970         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70971         and <math_private.h>.
70972         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70973         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70974         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70975         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70976         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70977         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70978         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70979         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70980         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70981         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70982         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70983         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70984         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70985         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70986         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70987         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70988         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70989         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70990         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70991         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70992         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70993         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70994         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70995         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70996         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70997         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70998         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70999         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71000         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71001         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71002         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71003         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71004         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71005         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71006         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71007         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71008         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71009         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71010         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71011         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71012         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71013         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71014         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71015         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71016         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71017         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71018         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71019         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71020         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71021         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71022         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71023         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71024         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71025         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71026         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71027         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71028         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71029         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71030         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71031         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71032         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71033         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71034         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71035         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71036         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71037         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71038         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71039         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71040         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71041         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71042         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71043         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71044         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71045         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71046         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71047         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71048         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71049         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71050         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71051         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71052         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71053         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71054         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71055         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71056         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71057         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71058         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71059         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71060         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71061         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71062         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71063         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71064         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71065         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71066         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71067         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71068         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71069         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71070         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71071         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71072         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71073         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71074         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71075         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71076         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71077         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71078         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71079         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71080         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71081         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71082         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71083         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71084         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71085         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71086         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71087         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71088         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71089         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71090         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71091         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71092         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71093         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71094         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71095         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71096         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71097         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71098         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71099         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71100         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71101         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71102         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71103         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71104         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71105         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71106         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71107         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71108         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71109         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71110         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71111         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71112         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71113         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71114         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71115         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71116         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71117         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71118         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71119         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71120         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71121         * sysdeps/ieee754/k_standard.c: Likewise.
71122         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71123         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71124         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71125         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71126         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71127         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71128         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71129         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71130         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71131         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71132         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71133         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71134         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71135         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71136         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71137         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71138         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71139         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71140         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71141         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71142         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71143         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71144         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71145         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71146         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71147         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71148         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71149         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71150         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71151         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71152         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71153         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71154         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71155         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71156         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71157         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71158         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71159         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71160         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71161         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71162         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71163         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71164         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71165         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71166         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71167         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71168         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71169         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71170         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71171         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71172         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71173         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71174         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71175         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71176         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71177         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71178         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71179         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71180         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71181         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71182         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71183         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71184         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71185         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71186         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71187         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71188         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71189         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71190         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71191         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71192         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71193         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71194         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71195         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71196         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71197         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71198         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71199         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71200         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71201         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71202         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71203         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71204         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71205         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71206         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71207         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71208         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71209         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71210         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71211         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71212         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71213         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71214         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71215         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71216         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71217         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71218         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71219         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71220         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71221         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71222         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71223         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71224         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71225         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71226         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71227         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71228         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71229         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71230         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71231         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71232         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71233         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71234         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71235         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71236         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71237         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71238         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71239         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71240         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71241         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71242         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71243         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71244         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71245         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71246         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71247         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71248         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71249         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71250         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71251         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71252         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71253         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71254         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71255         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71256         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71257         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71258         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71259         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71260         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71261         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71262         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71263         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71264         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71265         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71266         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71267         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71268         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71269         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71270         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71271         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71272         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71273         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71274         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71275         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71276         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71277         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71278         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71279         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71280         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71281         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71282         * sysdeps/ieee754/s_lib_version.c: Likewise.
71283         * sysdeps/ieee754/s_matherr.c: Likewise.
71284         * sysdeps/ieee754/s_signgam.c: Likewise.
71285         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71286         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71287         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71288         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71289         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71290         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71291         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71292         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71293         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71294         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71295         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71296         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71297         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71298         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71299         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71300         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71301         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71302         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71303         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71304         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71305         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71307 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71309         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71310         * sunrpc/rpc_main.c: Likewise.
71311         * sunrpc/rpc_svcout.c: Likewise.
71313 2012-03-09  David S. Miller  <davem@davemloft.net>
71315         * include/math_private.h: New file.
71317 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71319         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71320         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71321         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71322         from <bits/socket_type.h>.
71323         (enum __socket_type): Don't define here.
71324         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71325         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71326         bits/socket_type.h.
71328         [BZ #13566]
71329         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71330         checking __USE_GNU.
71332         * Makerules ($(inst_includedir)/%.h): New rule.
71333         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71334         (install-others): Remove variable setting.
71335         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71337 2012-03-08  Richard Henderson  <rth@twiddle.net>
71339         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71340         from macro to inline function; merge with the
71341         !__LIBC_INTERNAL_MATH_INLINES version.
71342         (__ieee754_sqrtf): Likewise.
71344         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71345         to inline function.
71346         (__rintf, __floor, __floorf): Likewise.
71348         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71349         macro to inline function.
71350         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71352         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71353         not <math/math_private.h>.
71355 2012-03-08  David S. Miller  <davem@davemloft.net>
71357         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71358         copyright year.
71359         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71361 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71363         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71364         normalization.
71365         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71366         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71368 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71370         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71371         be defined individually, they must be defined as a block.  Define
71372         S for printing a string instead of hidint the different by using a
71373         macro for adding the 'l'.
71374         * stdio-common/tst-fphex-wide.c: Adjust.
71376 2012-03-07  Marek Polacek  <polacek@redhat.com>
71378         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71380 2012-03-08  Marek Polacek  <polacek@redhat.com>
71382         [BZ #13806]
71383         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71384         * stdio-common/tst-fphex.c: Define a few macros to make the
71385         test reusable.  Use them.
71386         * stdio-common/tst-fphex-wide.c: New file.
71388 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71390         [BZ #6911]
71391         * manual/macros.texi (gnusystems): New macro.
71392         (nongnusystems): Likewise.
71393         (gnulinuxhurdsystems): Likewise.
71394         (gnuhurdsystems): Likewise..
71395         (gnulinuxsystems): Likewise.
71396         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71397         variants of the GNU system, not "GNU system".
71398         * manual/conf.texi: Likewise.
71399         * manual/errno.texi: Likewise.  Update example of errno macro
71400         expansion.
71401         * manual/filesys.texi: Likewise.
71402         (getumask): Document as specific to GNU/Hurd.
71403         * manual/install.texi: Likewise.  Reword some references to
71404         GNU/Linux.
71405         * manual/intro.texi: Likewise.
71406         * manual/io.texi: Likewise.
71407         (File Name Portability): Detail which constraints are inapplicable
71408         to all GNU systems and which are only inapplicable to GNU/Hurd.
71409         * manual/job.texi: Likewise.
71410         * manual/llio.texi: Likewise.
71411         (O_NOCTTY): Document as present on GNU/Linux.
71412         * manual/maint.texi: Likewise.
71413         * manual/memory.texi: Likewise.
71414         * manual/pattern.texi: Likewise.
71415         * manual/pipe.texi: Likewise.
71416         * manual/process.texi: Likewise.
71417         * manual/resource.texi: Likewise.
71418         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71419         child on GNU/Hurd.
71420         * manual/setjmp.texi: Likewise.
71421         * manual/signal.texi: Likewise.
71422         * manual/startup.texi: Likewise.
71423         * manual/stdio.texi: Likewise.
71424         * manual/terminal.texi: Likewise.
71425         (ONLCR): Document as POSIX.
71426         (OXTABS): Document availability on GNU/Linux as XTABS.
71427         (ONOEOT): Document availability separately from other bits.
71428         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71429         * manual/time.texi: Likewise.
71430         * manual/users.texi: Likewise.
71431         * INSTALL: Regenerated.
71432         * sysdeps/gnu/errlist.c: Regenerated.
71434         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71435         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71436         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71437         puts.
71438         * configure: Regenerated.
71440 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71442         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71443         default includes instead of AC_HEADER_CHECK.
71444         * sysdeps/i386/configure: Regenerated.
71446         [BZ #10716]
71447         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71448         * math/s_cacoshf.c (__cacoshf): Likewise.
71449         * math/s_cacoshl.c (__cacoshl): Likewise.
71450         * math/s_casinh.c (__casinh): Set signs of result from argument.
71451         * math/s_casinhf.c (__casinhf): Likewise.
71452         * math/s_casinhl.c (__casinhl): Likewise.
71453         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71454         (casinh_test): Add more tests.
71455         * sysdeps/i386/fpu/libm-test-ulps: Update.
71456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71458 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71460         * po/zh_TW.po: Update from translation team.
71462         * login/Makefile (distribute): Remove variable.
71463         * catgets/Makefile: Likewise.
71464         * mach/Makefile: Likewise.
71465         * malloc/Makefile: Likewise.
71466         * misc/Makefile: Likewise.
71467         * iconv/Makefile: Likewise.
71468         * nscd/Makefile: Likewise.
71469         * hurd/Makefile: Likewise.
71470         * manual/Makefile: Likewise.
71471         * locale/Makefile: Likewise.
71472         * intl/Makefile: Likewise.
71473         * conform/Makefile: Likewise.
71474         * nss/Makefile: Likewise.
71475         * time/Makefile: Likewise.
71476         * soft-fp/Makefile: Likewise.
71477         * dirent/Makefile: Likewise.
71478         * gmon/Makefile: Likewise.
71479         * po/Makefile: Likewise.
71480         * rt/Makefile: Likewise.
71481         * socket/Makefile: Likewise.
71482         * math/Makefile: Likewise.
71483         * signal/Makefile: Likewise.
71484         * debug/Makefile: Likewise.
71485         * elf/Makefile: Likewise.
71486         * timezone/Makefile: Likewise.
71487         * stdlib/Makefile: Likewise.
71488         * iconvdata/Makefile: Likewise.
71489         * sunrpc/Makefile: Likewise.
71490         * io/Makefile: Likewise.
71491         * argp/Makefile: Likewise.
71492         * inet/Makefile: Likewise.
71493         * hesiod/Makefile: Likewise.
71494         * grp/Makefile: Likewise.
71495         * csu/Makefile: Likewise.
71496         * wctype/Makefile: Likewise.
71497         * crypt/Makefile: Likewise.
71498         * libio/Makefile: Likewise.
71499         * string/Makefile: Likewise.
71500         * nis/Makefile: Likewise.
71501         * resolv/Makefile: Likewise.
71502         * stdio-common/Makefile: Likewise.
71503         * wcsmbs/Makefile: Likewise.
71504         * dlfcn/Makefile: Likewise.
71505         * posix/Makefile: Likewise.
71507         [BZ #6959]
71508         * timezone/Makefile: Don't install timezone files, just the programs
71509         and scripts.
71511 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71513         * nss/databases.def: Add missing gshadow entry.
71515         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71517 2012-03-06  Marek Polacek  <polacek@redhat.com>
71519         [BZ #13726]
71520         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71521         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71522         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71523         * stdio-common/tst-long-dbl-fphex.c: New file.
71525 2012-03-06  David S. Miller  <davem@davemloft.net>
71527         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71528         (set_obp_int): New function.
71529         (get_obp_int): New function.
71530         (__get_clockfreq_via_dev_openprom): Likewise.
71531         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71532         Avoid unused variable warnings on 'val' and use builtin_expect.
71533         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71534         __builtin_expect.
71535         (INLINE_CLONE_SYSCALL): Likewise.
71537 2012-03-05  David S. Miller  <davem@davemloft.net>
71539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71541 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71545         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71546         only for |x| >= 40.
71547         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71549 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71551         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71552         Replace gettimeofday with __vdso_gettimeofday.
71554         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71555         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71556         __vdso_clock_gettime and __vdso_getcpu.
71558         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71559         time with __vdso_time.
71561 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71563         * manual/lang.texi (size_t): Note types to which size_t may be
71564         equivalent with the GNU C Library, but do not describe when
71565         differences between them are significant.
71567 2012-03-05  Andreas Jaeger  <aj@suse.de>
71569         * sysdeps/i386/fpu/libm-test-ulps: Update.
71571 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71573         [BZ #3976]
71574         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71575         (__ieee754_pow): Save and restore rounding mode and use
71576         round-to-nearest for main computations.
71577         * math/libm-test.inc (pow_test_tonearest): New function.
71578         (pow_test_towardzero): Likewise.
71579         (pow_test_downward): Likewise.
71580         (pow_test_upward): Likewise.
71581         (main): Call the new functions.
71582         * sysdeps/i386/fpu/libm-test-ulps: Update.
71583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71585         [BZ #3976]
71586         * math/libm-test.inc (cosh_test_tonearest): New function.
71587         (cosh_test_towardzero): Likewise.
71588         (cosh_test_downward): Likewise.
71589         (cosh_test_upward): Likewise.
71590         (sinh_test_tonearest): Likewise.
71591         (sinh_test_towardzero): Likewise.
71592         (sinh_test_downward): Likewise.
71593         (sinh_test_upward): Likewise.
71594         (main): Call the new functions.
71595         * sysdeps/i386/fpu/libm-test-ulps: Update.
71596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71598 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71600         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71601         default stack guard is set in last bytes.
71602         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71604 2012-03-05  Kees Cook  <keescook@chromium.org>
71606         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71608         [BZ #13656]
71609         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71610         possibly allocate from heap instead of stack.
71611         * stdio-common/bug-vfprintf-nargs.c: New file.
71612         * stdio-common/Makefile (tests): Add nargs overflow test.
71614 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71618 2012-03-03  Marek Polacek  <polacek@redhat.com>
71620         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71621         * math/math_private.h: Likewise.
71622         * stdlib/tst-strtod.c: Likewise.
71623         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71624         * sysdeps/x86_64/bits/atomic.h: Likewise.
71626 2012-03-02  David S. Miller  <davem@davemloft.net>
71628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71632         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71633         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71634         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71635         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71637 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71639         [BZ #13792]
71640         * manual/examples/README: New file, says the example source files
71641         can be used under GPL>=2.
71642         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71643         line containing just "*/".
71644         * manual/examples/add.c: Add copyright header (GPL>=2).
71645         * manual/examples/argp-ex1.c: Likewise.
71646         * manual/examples/argp-ex2.c: Likewise.
71647         * manual/examples/argp-ex3.c: Likewise.
71648         * manual/examples/argp-ex4.c: Likewise.
71649         * manual/examples/atexit.c: Likewise.
71650         * manual/examples/db.c: Likewise.
71651         * manual/examples/dir.c: Likewise.
71652         * manual/examples/dir2.c: Likewise.
71653         * manual/examples/execinfo.c: Likewise.
71654         * manual/examples/filecli.c: Likewise.
71655         * manual/examples/filesrv.c: Likewise.
71656         * manual/examples/fmtmsgexpl.c: Likewise.
71657         * manual/examples/genpass.c: Likewise.
71658         * manual/examples/inetcli.c: Likewise.
71659         * manual/examples/inetsrv.c: Likewise.
71660         * manual/examples/isockad.c: Likewise.
71661         * manual/examples/longopt.c: Likewise.
71662         * manual/examples/memopen.c: Likewise.
71663         * manual/examples/memstrm.c: Likewise.
71664         * manual/examples/mkfsock.c: Likewise.
71665         * manual/examples/mkisock.c: Likewise.
71666         * manual/examples/mygetpass.c: Likewise.
71667         * manual/examples/pipe.c: Likewise.
71668         * manual/examples/popen.c: Likewise.
71669         * manual/examples/rprintf.c: Likewise.
71670         * manual/examples/search.c: Likewise.
71671         * manual/examples/select.c: Likewise.
71672         * manual/examples/setjmp.c: Likewise.
71673         * manual/examples/sigh1.c: Likewise.
71674         * manual/examples/sigusr.c: Likewise.
71675         * manual/examples/stpcpy.c: Likewise.
71676         * manual/examples/strdupa.c: Likewise.
71677         * manual/examples/strftim.c: Likewise.
71678         * manual/examples/strncat.c: Likewise.
71679         * manual/examples/subopt.c: Likewise.
71680         * manual/examples/swapcontext.c: Likewise.
71681         * manual/examples/termios.c: Likewise.
71682         * manual/examples/testopt.c: Likewise.
71683         * manual/examples/testpass.c: Likewise.
71684         * manual/examples/timeval_subtract.c: Likewise.
71686         [BZ #13792]
71687         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71688         function to ...
71689         * manual/timeval_subtract.c.texi: ... here, new file.
71691 2012-03-02  David S. Miller  <davem@davemloft.net>
71693         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71695 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71697         [BZ #3976]
71698         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71699         (__sin): Save and restore rounding mode and use round-to-nearest
71700         for all computations.
71701         (__cos): Save and restore rounding mode and use round-to-nearest
71702         for all computations.
71703         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71704         <fenv.h>.
71705         (tan): Save and restore rounding mode and use round-to-nearest for
71706         all computations.
71707         * math/libm-test.inc (cos_test_tonearest): New function.
71708         (cos_test_towardzero): Likewise.
71709         (cos_test_downward): Likewise.
71710         (cos_test_upward): Likewise.
71711         (sin_test_tonearest): Likewise.
71712         (sin_test_towardzero): Likewise.
71713         (sin_test_downward): Likewise.
71714         (sin_test_upward): Likewise.
71715         (tan_test_tonearest): Likewise.
71716         (tan_test_towardzero): Likewise.
71717         (tan_test_downward): Likewise.
71718         (tan_test_upward): Likewise.
71719         (main): Call the new functions.
71720         * sysdeps/i386/fpu/libm-test-ulps: Update.
71721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71723         [BZ #10135]
71724         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71725         small n, then large n, before computing and testing k+n.
71726         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71727         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71728         Likewise.
71729         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71730         Likewise.
71731         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71732         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71733         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71734         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71735         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71736         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71737         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71738         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71739         * math/libm-test.inc (scalbn_test): Add more tests.
71740         (scalbln_test): Likewise.
71742         * manual/filesys.texi (mode_t): Describe constraints on size and
71743         signedness, not exact equivalence to a particular type.
71744         (ino_t): Likewise.
71745         (ino64_t): Likewise.
71746         (dev_t): Likewise.
71747         (nlink_t): Likewise.
71748         (blkcnt_t): Likewise.
71749         (blkcnt64_t): Likewise.
71750         * manual/llio.texi (off_t): Likewise.
71752         [BZ #3976]
71753         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71754         (__ieee754_exp): Save and restore rounding mode and use
71755         round-to-nearest for all computations.
71756         * math/libm-test.inc (exp_test_tonearest): New function.
71757         (exp_test_towardzero): Likewise.
71758         (exp_test_downward): Likewise.
71759         (exp_test_upward): Likewise.
71760         (main): Call the new functions.
71761         * sysdeps/i386/fpu/libm-test-ulps: Update.
71762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71764 2012-03-01  Chris Demetriou  <cgd@google.com>
71766         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71767         have predictable order.
71769 2012-03-01  David S. Miller  <davem@davemloft.net>
71771         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71773         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71774         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71775         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71776         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71778         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71779         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71780         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71782         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71783         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71784         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71785         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71786         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71790         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71791         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71792         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71794         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71795         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71796         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71797         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71798         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71799         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71800         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71801         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71802         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71803         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71804         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71805         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71806         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71807         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71808         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71809         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71810         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71811         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71812         * sysdeps/sparc/elf/configure: Regenerated.
71814 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71816         * configure.in (AS, LD): Require binutils 2.20 or later.
71817         * configure: Regenerated.
71818         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71819         as required minimum version.
71820         * INSTALL: Regenerated.
71822         [BZ #2541]
71823         [BZ #4108]
71824         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71825         before squaring exponent.
71826         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71827         bottom long double and 27 bits of top long double before squaring
71828         exponent.
71829         * math/libm-test.inc (erfc_test): Add more tests.
71830         * sysdeps/i386/fpu/libm-test-ulps: Update.
71831         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71834 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71836         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71837         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71838         containing bit-fields.
71839         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71840         * soft-fp/single.h (_FP_UNION_S): Likewise.
71841         * soft-fp/double.h (_FP_UNION_D): Likewise.
71843 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71845         [BZ #13786]
71846         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71847         not include ../strcmp.S.
71848         [USE_AS_STRNCASECMP_L]: Likewise.
71849         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71850         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71851         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71852         (__strncasecmp_l_ia32): Define as alias to
71853         __strncasecmp_l_nonascii.
71855         [BZ #5794]
71856         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71857         * sysdeps/i386/fpu/libm-test-ulps: Update.
71858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71860         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71863 2012-02-29  Jeff Law  <law@redhat.com>
71865         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71866         out of bounds read.
71868 2012-02-29  Marek Polacek  <polacek@redhat.com>
71870         [BZ #13706]
71871         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71872         * elf/Makefile: Add rules to run tst-unused-dep.out.
71874 2012-02-28  David S. Miller  <davem@davemloft.net>
71876         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71877         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71878         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71879         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71880         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71881         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71883 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71885         * math/libm-test.inc (llround_test): Move one test from
71886         lround_test.  Use TEST_f_L in moved test.
71887         (lround_test): Move misplaced test to llround_test.  Add testcase
71888         from bug 2561.
71890 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71892         * sysdeps/x86_64/fpu/e_expf.S: New file.
71893         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71895 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71897         [BZ #13637]
71898         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71899         of remain_len that may cause incomplete multi-byte character and
71900         false match.
71901         * posix/bug-regex33.c: New file.
71902         * posix/Makefile (tests): Add bug-regex33.
71904 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71906         * manual/macros.texi: New file.
71907         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71908         * manual/libc.texinfo: Include macros.texi.
71909         * manual/creatute.texi: Likewise.
71910         * manual/install.texi: Likewise.
71911         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71912         @glibcadj{} in references to the GNU C Library.
71913         * manual/charset.texi: Likewise.
71914         * manual/conf.texi: Likewise.
71915         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71916         when not using those macros.
71917         * manual/creature.texi: Likewise.
71918         * manual/crypt.texi: Likewise.
71919         * manual/errno.texi: Likewise.
71920         * manual/filesys.texi: Likewise.
71921         * manual/header.texi: Likewise.
71922         * manual/install.texi: Likewise.
71923         * manual/intro.texi: Likewise.
71924         * manual/io.texi: Likewise.
71925         * manual/job.texi: Likewise.
71926         * manual/lang.texi: Likewise.
71927         * manual/libc.texiinfo: Likewise.
71928         * manual/llio.texi: Likewise.
71929         * manual/locale.texi: Likewise.
71930         * manual/maint.texi: Likewise.
71931         * manual/math.texi: Likewise.
71932         * manual/memory.texi: Likewise.
71933         * manual/message.texi: Likewise.
71934         * manual/nss.texi: Likewise.
71935         * manual/pattern.texi: Likewise.
71936         * manual/process.texi: Likewise.
71937         * manual/resource.texi: Likewise.
71938         * manual/search.texi: Likewise.
71939         * manual/setjmp.texi: Likewise.
71940         * manual/signal.texi: Likewise.
71941         * manual/socket.texi: Likewise.
71942         * manual/startup.texi: Likewise.
71943         * manual/stdio.texi: Likewise.
71944         * manual/string.texi: Likewise.
71945         * manual/sysinfo.texi: Likewise.
71946         * manual/syslog.texi: Likewise.
71947         * manual/terminal.texi: Likewise.
71948         * manual/time.texi: Likewise.
71949         * manual/users.texi: Likewise.
71950         * INSTALL: Regenerated.
71951         * NOTES: Regenerated.
71952         * sysdeps/gnu/errlist.c: Regenerated.
71954 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71956         * include/dirent.h: Include <dirstream.h> before
71957         <dirent/dirent.h>.
71959 2012-02-28  David S. Miller  <davem@davemloft.net>
71961         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71962         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71963         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71964         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71966 2012-02-27  David S. Miller  <davem@davemloft.net>
71968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71970         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71971         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71974         frame pointer instead of stack pointer relative arg slot.
71975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71976         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71977         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71979 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71981         [BZ #3992]
71982         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71984 2012-02-27  David S. Miller  <davem@davemloft.net>
71986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71990         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71991         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71992         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71993         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71995 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71997         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71998         later.  Allow versions 5-9.
71999         * configure: Regenerated.
72000         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72001         required minimum version and 4.6 as recommended version.  Do not
72002         mention bugs in GCC 2.7 and 2.8.
72003         * INSTALL: Regenerated.
72005 2012-02-27  David S. Miller  <davem@davemloft.net>
72007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72011         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72012         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72013         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72014         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72016         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72017         manipulate bits before adding and subtracting TWO112[sx].
72018         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72020 2012-02-27  Roland McGrath  <roland@hack.frob.com>
72022         [BZ #13775]
72023         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72024         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72025         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72026         being in POSIX, because they are in 1003.1-2008.
72028         * rt/tst-aio.c: Include <fcntl.h>.
72029         * rt/tst-aio7.c: Likewise.
72030         * rt/tst-aio64.c: Likewise.
72032         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72034 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72036         * manual/install.texi (--with-headers): Describe headers as
72037         interface headers, not private headers.
72038         (Specific advice for GNU/Linux systems): Describe use of headers
72039         from "make headers_install", not private headers from older
72040         kernels.
72041         * INSTALL: Regenerated.
72042         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72043         Change to 2.6.19.
72044         * sysdeps/unix/sysv/linux/configure: Regenerated.
72046         * manual/llio.texi (fclean): Remove documentation.
72048         * manual/Makefile (libc-texi-generated): New variable.  Include
72049         version.texi.
72050         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72051         $(libc-texi-generated), not duplicated list of files.
72052         (version.texi, stamp-version): New rules.
72053         (realclean): Remove $(libc-texi-generated), not individual files
72054         from that list.  Do not remove dir-add.texinfo.
72055         * manual/libc.texinfo: Comment out uses of edition numbers and
72056         references to printed manual.  Remove last-updated dates.
72057         (EDITION): Comment out.
72058         (ISBN): Likewise.
72059         (VERSION, UPDATED): Remove.
72060         (version.texi): Include.
72062 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
72064         * sysdeps/posix/spawni.c: Include <signal.h>.
72065         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72066         * sysdeps/pthread/aio_fsync.c: Likewise.
72068 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
72070         * conform/Makefile (tests): Run only when not cross-compiling and
72071         when fast-check is not defined.
72073         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72074         * conform/data/limits.h-data: Fixes for POSIX2008.
72075         * conform/run-conformtest.sh: Run all tests.
72076         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72077         headers.
72078         * include/bits/dlfcn.h: Likewise.
72079         * include/langinfo.h: Likewise.
72080         * include/monetary.h: Likewise.
72081         * include/sys/poll.h: Likewise.
72083         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72084         for __USE_GNU.
72085         * posix/spawn.h: Define __need_sigset_t.
72086         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72087         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72088         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
72089         to get sigevent_t only.
72090         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72091         only for __USE_GNU.
72092         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72093         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72094         process_vm_writev only for __USE_GNU.
72095         * termios/termios.h: Declare tcgetsid also for POSIX2008.
72097         * conform/Makefile: For now ignore errors from run-conformtest.
72098         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
72099         POSIX to avoid namespace pollution.  Don't prepend headers.
72100         * conform/data/aio.h-data: Fixes for POSIX testing.
72101         * conform/data/fcntl.h-data: Likewise.
72102         * conform/data/glob.h-data: Likewise.
72103         * conform/data/grp.h-data: Likewise.
72104         * conform/data/pthread.h-data: Likewise.
72105         * conform/data/pwd.h-data: Likewise.
72106         * conform/data/signal.h-data: Likewise.
72107         * conform/data/spawn.h-data: Likewise.
72108         * conform/data/stdio.h-data: Likewise.
72109         * conform/data/stdlib.h-data: Likewise.
72110         * conform/data/stropts.h-data: Likewise.
72111         * conform/data/sys/mman.h-data: Likewise.
72112         * conform/data/sys/stat.h-data: Likewise.
72113         * conform/data/sys/types.h-data: Likewise.
72114         * conform/data/sys/wait.h-data: Likewise.
72115         * conform/data/time.h-data: Likewise.
72116         * conform/data/unistd.h-data: Likewise.
72117         * conform/data/utime.h-data: Likewise.
72119         * io/sys/stat.h: fchmod was always in POSIX.
72120         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72121         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72122         * rt/aio.h: Define __need_timespec before including <time.h>.
72123         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72124         struct.  Add forward declaration of pthread_attr_t and use it in
72125         sigevent.
72126         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72127         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72128         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72129         always remove CLK_TCK definition.
72131 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
72133         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72135 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
72137         * conform/run-conformtest.sh: New file.
72138         * conform/Makefile: Run run-conformtest for tests.
72139         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
72140         support.
72142         * conform/data/uchar.h-data: New file.
72143         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72144         * conform/data/arpa/inet.h-data: Likewise.
72145         * conform/data/assert.h-data: Likewise.
72146         * conform/data/complex.h-data: Likewise.
72147         * conform/data/cpio.h-data: Likewise.
72148         * conform/data/ctype.h-data: Likewise.
72149         * conform/data/dirent.h-data: Likewise.
72150         * conform/data/dlfcn.h-data: Likewise.
72151         * conform/data/errno.h-data: Likewise.
72152         * conform/data/fcntl.h-data: Likewise.
72153         * conform/data/float.h-data: Likewise.
72154         * conform/data/fmtmsg.h-data: Likewise.
72155         * conform/data/fnmatch.h-data: Likewise.
72156         * conform/data/ftw.h-data: Likewise.
72157         * conform/data/glob.h-data: Likewise.
72158         * conform/data/grp.h-data: Likewise.
72159         * conform/data/iconv.h-data: Likewise.
72160         * conform/data/inttypes.h-data: Likewise.
72161         * conform/data/langinfo.h-data: Likewise.
72162         * conform/data/libgen.h-data: Likewise.
72163         * conform/data/limits.h-data: Likewise.
72164         * conform/data/locale.h-data: Likewise.
72165         * conform/data/math.h-data: Likewise.
72166         * conform/data/monetary.h-data: Likewise.
72167         * conform/data/mqueue.h-data: Likewise.
72168         * conform/data/ndbm.h-data: Likewise.
72169         * conform/data/net/if.h-data: Likewise.
72170         * conform/data/netdb.h-data: Likewise.
72171         * conform/data/netinet/in.h-data: Likewise.
72172         * conform/data/nl_types.h-data: Likewise.
72173         * conform/data/poll.h-data: Likewise.
72174         * conform/data/pthread.h-data: Likewise.
72175         * conform/data/pwd.h-data: Likewise.
72176         * conform/data/regex.h-data: Likewise.
72177         * conform/data/sched.h-data: Likewise.
72178         * conform/data/search.h-data: Likewise.
72179         * conform/data/semaphore.h-data: Likewise.
72180         * conform/data/setjmp.h-data: Likewise.
72181         * conform/data/signal.h-data: Likewise.
72182         * conform/data/spawn.h-data: Likewise.
72183         * conform/data/stdarg.h-data: Likewise.
72184         * conform/data/stdio.h-data: Likewise.
72185         * conform/data/stdlib.h-data: Likewise.
72186         * conform/data/string.h-data: Likewise.
72187         * conform/data/strings.h-data: Likewise.
72188         * conform/data/stropts.h-data: Likewise.
72189         * conform/data/sys/ipc.h-data: Likewise.
72190         * conform/data/sys/mman.h-data: Likewise.
72191         * conform/data/sys/msg.h-data: Likewise.
72192         * conform/data/sys/resource.h-data: Likewise.
72193         * conform/data/sys/select.h-data: Likewise.
72194         * conform/data/sys/sem.h-data: Likewise.
72195         * conform/data/sys/shm.h-data: Likewise.
72196         * conform/data/sys/socket.h-data: Likewise.
72197         * conform/data/sys/stat.h-data: Likewise.
72198         * conform/data/sys/statvfs.h-data: Likewise.
72199         * conform/data/sys/time.h-data: Likewise.
72200         * conform/data/sys/timeb.h-data: Likewise.
72201         * conform/data/sys/times.h-data: Likewise.
72202         * conform/data/sys/types.h-data: Likewise.
72203         * conform/data/sys/uio.h-data: Likewise.
72204         * conform/data/sys/un.h-data: Likewise.
72205         * conform/data/sys/utsname.h-data: Likewise.
72206         * conform/data/sys/wait.h-data: Likewise.
72207         * conform/data/syslog.h-data: Likewise.
72208         * conform/data/tar.h-data: Likewise.
72209         * conform/data/termios.h-data: Likewise.
72210         * conform/data/utime.h-data: Likewise.
72211         * conform/data/utmpx.h-data: Likewise.
72212         * conform/data/varargs.h-data: Likewise.
72213         * conform/data/wchar.h-data: Likewise.
72214         * conform/data/wctype.h-data: Likewise.
72215         * conform/data/wordexp.h-data: Likewise.
72217         * include/stropts.h: New file.
72218         * include/uchar.h: New file.
72219         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72220         * include/assert.h: Likewise.
72221         * include/ctype.h: Likewise.
72222         * include/dirent.h: Likewise.
72223         * include/dlfcn.h: Likewise.
72224         * include/fcntl.h: Likewise.
72225         * include/fnmatch.h: Likewise.
72226         * include/glob.h: Likewise.
72227         * include/grp.h: Likewise.
72228         * include/libio.h: Likewise.
72229         * include/locale.h: Likewise.
72230         * include/math.h: Likewise.
72231         * include/net/if.h: Likewise.
72232         * include/netdb.h: Likewise.
72233         * include/netinet/in.h: Likewise.
72234         * include/pthread.h: Likewise.
72235         * include/pwd.h: Likewise.
72236         * include/regex.h: Likewise.
72237         * include/sched.h: Likewise.
72238         * include/search.h: Likewise.
72239         * include/setjmp.h: Likewise.
72240         * include/signal.h: Likewise.
72241         * include/stdio.h: Likewise.
72242         * include/stdlib.h: Likewise.
72243         * include/string.h: Likewise.
72244         * include/sys/cdefs.h: Likewise.
72245         * include/sys/mman.h: Likewise.
72246         * include/sys/msg.h: Likewise.
72247         * include/sys/resource.h: Likewise.
72248         * include/sys/select.h: Likewise.
72249         * include/sys/socket.h: Likewise.
72250         * include/sys/stat.h: Likewise.
72251         * include/sys/statvfs.h: Likewise.
72252         * include/sys/time.h: Likewise.
72253         * include/sys/times.h: Likewise.
72254         * include/sys/uio.h: Likewise.
72255         * include/sys/utsname.h: Likewise.
72256         * include/sys/wait.h: Likewise.
72257         * include/termios.h: Likewise.
72258         * include/time.h: Likewise.
72259         * include/ulimit.h: Likewise.
72260         * include/unistd.h: Likewise.
72261         * include/utime.h: Likewise.
72262         * include/wchar.h: Likewise.
72263         * include/wctype.h: Likewise.
72264         * include/wordexp.h: Likewise.
72266         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72268         * time/time.h: TIME_UTC must be a macro.
72269         Make timespec_get available for ISO C11 only as well.
72271 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72273         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72274         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72276 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72278         * configure.in: Use -o not -a in test for unsupported multi-arch.
72280 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72282         * manual/texinfo.tex: Update to version 2012-01-19.16.
72284 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72286         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72288 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72290         [BZ #13738]
72291         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72292         * manual/fdl-1.3.texi: New file.
72293         * manual/fdl-1.1.texi: File removed.
72295         [BZ #13738]
72296         * manual/libc.texinfo (FDL_VERSION): New @set.
72297         Use it for mention of FDL in cover text.
72298         (Documentation License): Use it in @include file name.
72300 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72301             Roland McGrath  <roland@hack.frob.com>
72303         [BZ #5461]
72304         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72305         (not LONG_LONG_MAX and LONG_LONG_MIN.
72306         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72307         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72308         name.
72309         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72311 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72313         [BZ #2547]
72314         [BZ #11365]
72315         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72316         manipulate bits before adding and subtracting TWO23[sx].
72317         * math/libm-test.inc (nearbyint_test): Add more tests.
72319 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72321         [BZ #2548]
72322         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72323         bits before adding and subtracting TWO23[sx].
72324         * math/libm-test.inc (rint_test): Add more tests.
72325         (rint_test_tonearest): Likewise.
72326         (rint_test_towardzero): Likewise.
72327         (rint_test_downward): Likewise.
72328         (rint_test_upward: Likewise.
72330 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72332         [BZ #10110]
72333         * include/stdc-predef.h: New file.  Extracted from features.h.
72334         * include/features.h: Include stdc-predef.h.
72335         * Makefile (headers): Add stdc-predef.h.
72336         * CONFORMANCE (Compiler limitations): Update.
72338 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72340         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72342 2012-02-21  David S. Miller  <davem@davemloft.net>
72344         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72345         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72347 2012-02-20  David S. Miller  <davem@davemloft.net>
72349         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72350         using a normal save/restore sequence, rather than allocating a
72351         dummy stack frame just to store a frame pointer and restore.
72352         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72354 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72356         * manual/install.texi: Fix stray word in line-wrapped comment.
72358 2012-02-20  David S. Miller  <davem@davemloft.net>
72360         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72361         both binutils and gcc support GOTDATA.
72363         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72364         "rd %pc" in the PIC register setup sequences.
72366         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72367         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72368         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72369         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72370         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72371         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72372         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72373         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72375         (SYSCALL_ERROR_HANDLER): Likewise.
72376         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72377         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72378         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72379         (SYSCALL_ERROR_HANDLER): Likewise.
72381         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72382         (HAVE_GCC_GOTDATA): New.
72383         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72384         relocation support in both binutils and gcc.
72385         * sysdeps/sparc/elf/configure: Regenerate.
72387         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72388         * sysdeps/sparc/sparc32/elf/configure: Delete.
72389         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72390         * sysdeps/sparc/sparc64/elf/configure: Delete.
72391         * sysdeps/sparc/elf/configure.in: New file.
72392         * sysdeps/sparc/elf/configure: Generate.
72394         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72395         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72396         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72397         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72398         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72400 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72402         * manual/install.texi: Do not mention specific glibc version
72403         numbers.
72404         * manual/libc.texinfo (VERSION, UPDATED): Update.
72405         (@copying): Use @copyright{} and range of years.
72407 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72409         [BZ #13695]
72410         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72411         [crti.S not in sysdirs] (generated): Do not append.
72412         [crti.S not in sysdirs] (omit-deps): Likewise.
72413         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72414         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72415         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72416         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72417         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72418         Likewise.
72419         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72420         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72421         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72422         * csu/defs.awk: Remove file.
72423         * sysdeps/generic/initfini.c: Likewise.
72424         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72425         variable.
72426         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72427         Likewise.
72429 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72431         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72432         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72433         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72434         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72435         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72436         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72437         <bits/epoll.h>.
72438         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72439         (__EPOLL_PACKED): Define to empty if not defined by
72440         <bits/epoll.h>.
72441         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72442         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72443         bits/epoll.h.
72445 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72447         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72448         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72449         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72450         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72451         <bits/timerfd.h>.
72452         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72453         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72454         bits/timerfd.h.
72456 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72458         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72459         in C locale.
72460         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72461         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72462         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72465 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72467         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72468         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72470 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72472         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72473         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72474         defined.
72475         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72476         Likewise.
72477         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72478         entry for 2.16.
72480 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72482         * math/w_acos.c: Use non-signaling floating-point comparisons.
72483         * math/w_acosf.c: Likewise.
72484         * math/w_acosh.c: Likewise.
72485         * math/w_acoshf.c: Likewise.
72486         * math/w_acoshl.c: Likewise.
72487         * math/w_acosl.c: Likewise.
72488         * math/w_asin.c: Likewise.
72489         * math/w_asinf.c: Likewise.
72490         * math/w_asinl.c: Likewise.
72491         * math/w_atanh.c: Likewise.
72492         * math/w_atanhf.c: Likewise.
72493         * math/w_atanhl.c: Likewise.
72494         * math/w_exp2.c: Likewise.
72495         * math/w_exp2f.c: Likewise.
72496         * math/w_exp2l.c: Likewise.
72497         * math/w_j0.c: Likewise.
72498         * math/w_j0f.c: Likewise.
72499         * math/w_j0l.c: Likewise.
72500         * math/w_j1.c: Likewise.
72501         * math/w_j1f.c: Likewise.
72502         * math/w_j1l.c: Likewise.
72503         * math/w_jn.c: Likewise.
72504         * math/w_jnf.c: Likewise.
72505         * math/w_log.c: Likewise.
72506         * math/w_log10.c: Likewise.
72507         * math/w_log10f.c: Likewise.
72508         * math/w_log10l.c: Likewise.
72509         * math/w_log2.c: Likewise.
72510         * math/w_log2f.c: Likewise.
72511         * math/w_log2l.c: Likewise.
72512         * math/w_logf.c: Likewise.
72513         * math/w_logl.c: Likewise.
72514         * math/w_sqrt.c: Likewise.
72515         * math/w_sqrtf.c: Likewise.
72516         * math/w_sqrtl.c: Likewise.
72517         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72518         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72519         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72520         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72521         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72523 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72525         [BZ #9739]
72526         * manual/string.texi (strnlen): Use correct parameter name in
72527         equivalent expression.
72529 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72531         [BZ #11174]
72532         * manual/users.texi (seteuid): Consistently use neweuid for
72533         argument name.
72535 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72537         [BZ #13704]
72538         * manual/nss.texi (Services in the NSS configuration): Correct
72539         list of services in example configuration file.
72541 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72543         [BZ #11322]
72544         * manual/arith.texi: Remove statements about negative zero
72545         behaving identically to zero.
72547 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72549         [BZ #5993]
72550         * manual/install.texi: Do not document upgrading from libc5.
72552 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72554         [BZ #4596]
72555         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72557 2012-02-18  David S. Miller  <davem@davemloft.net>
72559         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72560         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72561         %o7 across the call.
72562         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72563         instead.
72564         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72565         SETUP_PIC_REG_LEAF.
72566         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72567         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72568         * sysdeps/sparc/crtn.S: Likewise.
72570 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72572         * aout/Makefile: Remove.
72574 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72576         [BZ #13058]
72577         * manual/examples/argp-ex1.c (main): Format definition in GNU
72578         style.
72579         * manual/examples/argp-ex2.c (main): Likewise.
72580         * manual/examples/argp-ex3.c (main): Likewise.
72581         * manual/examples/argp-ex4.c (main): Likewise.
72582         * manual/examples/longopt.c (main): Use new-style prototype
72583         definition.
72584         * manual/examples/strncat.c (main): Specify return type and use
72585         (void) for arguments.
72586         * manual/examples/subopt.c (main): Use char **argv argument.
72588 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72590         [BZ #5077]
72591         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72592         rounding modes.
72594 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72596         [BZ #6907]
72597         * manual/string.texi (strchr): Change when strchrnul is
72598         recommended.
72600 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72602         [BZ #174]
72603         * manual/locale.texi (setlocale): Document LOCPATH.
72605 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72607         [BZ #10210]
72608         * manual/process.texi (execle): Move @dots{} before last argument.
72610 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72612         [BZ #12047]
72613         * manual/charset.texi (Generic Charset Conversion): Fix typo
72614         (LC_TYPE -> LC_CTYPE).
72616 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72618         [BZ #5805]
72619         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72620         (scalbnf): Likewise.
72621         (scalbnl): Likewise.
72622         (scalbln): Likewise.
72623         (scalblnf): Likewise.
72624         (scalblnl): Likewise.
72625         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72626         (vwarnx): Likewise.
72627         (verr): Likewise.
72628         (verrx): Likewise.
72629         * manual/filesys.texi (telldir): Use braces around return type.
72630         * manual/llio.texi (mmap): Add space after comma.
72631         (mmap64): Likewise.
72632         * manual/math.texi (jn): Use @var{} on parameter names.
72633         (jnf): Likewise.
72634         (jnl): Likewise.
72635         (yn): Likewise.
72636         (ynf): Likewise.
72637         (ynl): Likewise.
72638         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72639         line.
72640         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72641         "...".
72642         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72643         (sched_get_priority_max): Likewise.
72644         * manual/signal.texi (sigvec): Add space after comma.
72645         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72646         names.
72647         (if_indextoname): Likewise.
72648         (if_freenameindex): Likewise.
72649         (sendto): Use ',' instead of '.' in prototype.
72650         * manual/startup.texi (syscall): Use @dots{} instead of literal
72651         "...".
72652         * manual/stdio.texi (__fpending): Separate initial words of
72653         paragraph from @deftypefun line.
72654         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72655         "...".
72656         (vsyslog): Use @var{} on parameter names.
72657         * manual/terminal.texi (stty): Use @var{} on parameter names.
72658         * manual/users.texi (getutmp): Use @var{} on parameter names.
72659         (getutmpx): Likewise.
72661 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72663         [BZ #6884]
72664         * manual/stdio.texi (fopen): Fix typos in description of
72665         ",ccs=STRING".
72667 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72669         [BZ #4026]
72670         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72671         get clock_id definition.
72673 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72675         [BZ #4822]
72676         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72677         (madvise): Cast every argument to void on its own.
72679 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72681         [BZ #9902]
72682         * manual/startup.texi (Exit Status): Fix typo.
72684 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72686         [BZ #10140]
72687         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72688         * manual/examples/argp-ex2.c: Likewise.
72689         * manual/examples/argp-ex3.c: Likewise.
72691 2012-02-16  Richard Henderson  <rth@redhat.com>
72693         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72694         * sysdeps/s390/s390-32/initfini.c: Remove.
72695         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72696         * sysdeps/s390/s390-64/initfini.c: Remove.
72698 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72700         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72701         compiler output for sysdeps/generic/initfini.c.
72702         * sysdeps/sh/elf/initfini.c: Remove file.
72704 2012-02-16  David S. Miller  <davem@davemloft.net>
72706         [BZ #11494]
72707         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72709         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72710         * sysdeps/sparc/crti.S: New file.
72711         * sysdeps/sparc/crtn.S: New file.
72712         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72713         * sysdeps/sparc/sparc64/Makefile: Likewise.
72715 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72717         [BZ #3335]
72718         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72720 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72722         [BZ #4822]
72723         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72725         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72726         (write, read, close): Likewise.
72727         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72729 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72731         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72732         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72733         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72734         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72735         <bits/signalfd.h>.
72736         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72737         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72738         bits/signalfd.h.
72740 2012-02-14  Marek Polacek  <polacek@redhat.com>
72742         * sysdeps/x86_64/crti.S: New file.
72743         * sysdeps/x86_64/crtn.S: New file.
72744         * sysdeps/x86_64/elf/initfini.c: Remove file.
72746 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72748         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72749         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72750         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72751         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72752         <bits/inotify.h>.
72753         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72754         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72755         bits/inotify.h.
72757 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72759         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72760         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72761         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72762         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72763         <bits/eventfd.h>.
72764         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72765         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72766         bits/eventfd.h.
72768 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72770         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72771         __feraiseexcept instead of feraiseexcept.
72773         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72774         nanosleep invocations.
72775         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72776         strings, and add error checking for a nanosleep invocations.
72778 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72780         Replace FSF snail mail address with URLs, as per GNU coding standards.
72781         Most of the snail mail addresses were wrong anyway, and omitting
72782         them makes the source code easier to maintain.  Almost all of the
72783         changes are to license notices and to locale LC_IDENTIFICATION
72784         addresses, except for this one:
72785         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72786         not its snail mail address.
72788 2012-02-09  Richard Henderson  <rth@twiddle.net>
72790         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72791         of kernel-features.h.
72793         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72795 2012-02-08  Marek Polacek  <polacek@redhat.com>
72797         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72798         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72799         * sysdeps/gnu/_G_config.h: Likewise.
72800         * sysdeps/generic/_G_config.h: Likewise.
72802 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72804         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72805         tests.
72806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72808         * sysdeps/powerpc/powerpc32/crti.S: New file.
72809         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72810         * sysdeps/powerpc/powerpc64/crti.S: New file.
72811         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72813         * Makeconfig (have-initfini): Don't set.
72814         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72815         * configure.in (nopic_initfini): Don't substitute.
72816         * config.h.in (HAVE_INITFINI): Don't #undef.
72817         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72818         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72820 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72822         Support crti.S and crtn.S provided directly by architectures.
72823         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72824         [crti.S in sysdirs] (omit-deps): Likewise.
72825         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72826         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72827         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72828         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72829         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72830         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72831         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72832         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72833         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72834         compiler output for sysdeps/generic/initfini.c.
72835         * sysdeps/i386/elf/Makefile: Remove file.
72836         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72838 2012-02-07  Marek Polacek  <polacek@redhat.com>
72840         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72841         * sysdeps/gnu/_G_config.h: Likewise.
72842         * sysdeps/mach/hurd/_G_config.h: Likewise.
72844 2012-02-07  Marek Polacek  <polacek@redhat.com>
72846         * math/Makefile (tests): Add tst-CMPLX2.
72847         * math/tst-CMPLX2.c: New file.
72849 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72851         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72853         * math/libm-test.inc (jn_test): Add missing L suffix.
72855 2012-02-06  Marek Polacek  <polacek@redhat.com>
72857         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72858         * sysdeps/i386/fpu/e_powf.S: Likewise.
72859         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72860         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72861         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72862         * sysdeps/i386/fpu/e_pow.S: Likewise.
72863         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72864         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72865         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72866         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72867         * sysdeps/i386/fpu/e_log2.S: Likewise.
72868         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72869         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72870         * sysdeps/i386/fpu/e_powl.S: Likewise.
72871         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72872         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72873         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72874         * sysdeps/i386/fpu/e_logl.S: Likewise.
72875         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72876         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72877         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72878         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72879         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72880         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72881         * sysdeps/i386/fpu/e_log.S: Likewise.
72882         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72883         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72884         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72885         * sysdeps/i386/fpu/e_logf.S: Likewise.
72886         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72887         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72888         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72889         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72890         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72891         * sysdeps/i386/fpu/e_log10.S: Likewise.
72892         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72893         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72894         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72895         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72896         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72897         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72898         * sysdeps/i386/asm-syntax.h: Likewise.
72899         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72900         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72901         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72902         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72903         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72904         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72905         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72906         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72907         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72908         * sysdeps/powerpc/sysdep.h: Likewise.
72909         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72910         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72912 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72914         [BZ #411]
72915         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72917 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72919         * sysdeps/i386/sysdep.h: Include <features.h>.
72920         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72921         version.
72923 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72925         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72926         Define.
72927         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72928         LOAD_PIC_REG_STR.
72930 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72932         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72933         (SETUP_PIC_REG): Use GET_PC_THUNK.
72934         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72935         macro.
72937 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72939         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72940         for non-PIC compilation.
72941         (SETUP_PIC_REG): Add .p2align directive.
72942         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72943         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72944         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72945         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72946         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72947         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72948         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72949         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72950         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72951         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72952         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72953         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72954         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72955         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72956         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72957         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72958         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72959         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72960         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72961         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72962         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72963         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72964         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72965         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72966         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72967         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72968         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72969         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72970         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72971         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72972         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72973         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72974         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72975         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72976         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72977         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72978         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72979         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72980         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72981         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72982         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72984 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72986         * math/tst-CMPLX.c: Include <stdio.h>.
72988 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72990         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72991         float.
72992         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72993         * sysdeps/sparc/bits/mathdef.h: Likewise.
72995 2012-01-31  Marek Polacek  <polacek@redhat.com>
72997         * libio/libio.h: Don't define _PARAMS.
72998         * locale/programs/config.h: Don't define PARAMS.
72999         * stdlib/strtol_l.c: Likewise.
73000         (__strtol_l): Remove PARAMS from the prototype.
73002 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
73004         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
73005         names.  Just use the correct names.  Remove unnecessary wrapper
73006         functions.
73007         * malloc/arena.c: Likewise.
73008         * malloc/hooks.c: Likewise.
73010         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73011         ARENA_TEST says not to.  Simplify test for creation of a new arena.
73012         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73014 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
73016         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73017         into tail calls.
73018         (update_get_addr): New function.
73019         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73020         GET_ADDR_MODULE parameter.
73022 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73024         * crypt/cert.c: Remove __STDC__ conditionals.
73025         * crypt/crypt-entry.c: Likewise.
73026         * crypt/crypt_util.c: Likewise.
73027         * libio/filedoalloc.c: Likewise.
73028         * libio/fileops.c: Likewise.
73029         * libio/genops.c: Likewise.
73030         * libio/iofclose.c: Likewise.
73031         * libio/iofdopen.c: Likewise.
73032         * libio/iofopen.c: Likewise.
73033         * libio/iofopen64.c: Likewise.
73034         * libio/iogetdelim.c: Likewise.
73035         * libio/iopopen.c: Likewise.
73036         * libio/obprintf.c: Likewise.
73037         * libio/oldfileops.c: Likewise.
73038         * libio/oldiofclose.c: Likewise.
73039         * libio/oldiofdopen.c: Likewise.
73040         * libio/oldiofopen.c: Likewise.
73041         * libio/oldiopopen.c: Likewise.
73042         * libio/wfiledoalloc.c: Likewise.
73043         * libio/wgenops.c: Likewise.
73044         * locale/programs/xmalloc.c: Likewise.
73045         * misc/syslog.c: Likewise.
73046         * stdio-common/xbug.c: Likewise.
73047         * string/memchr.c: Likewise.
73048         * string/memcmp.c: Likewise.
73049         * string/memrchr.c: Likewise.
73050         * string/rawmemchr.c: Likewise.
73051         * sysdeps/posix/getcwd.c: Likewise.
73052         * time/strftime_l.c: Likewise.
73054 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73056         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73057         * config.make.in (config-cflags-sse2avx): Define.
73058         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73059         Fix typo.
73061 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
73063         * scripts/config.guess: Update from upstream config git repository.
73064         * scripts/config.sub: Likewise.
73066 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
73068         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73069         (EM_NUM): Update.
73070         (R_TILEPRO_*, R_TILEGX_*): New macros.
73072         * scripts/firstversions.awk: Fix bug in version range handling.
73074         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73076         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73078         * include/sys/epoll.h: New file.
73079         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73080         libc_hidden_def.
73082 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
73084         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73085         Avoid unnecessary __WORDSIZE == 64 test.
73086         (fmaxf): Use VEX format if possible.
73087         (fmax): Likewise.
73088         (fminf): Likewise.
73089         (fmin): Likewise.
73091         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73092         * math/math_private.h: Remove libc_fegetround* and
73093         libc_fesetround*.
73094         * sysdeps/i386/configure.in: Check for -msse2avx.
73095         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73096         also if SSE2AVX is defined.
73097         Remove libc_fegetround* and libc_fesetround*.
73098         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73099         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
73100         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73101         of HAS_YMM_USABLE.
73102         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73103         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73104         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73105         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73106         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73108         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73110 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73112         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73113         size is not set.
73114         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73116 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
73118         [BZ #13618]
73119         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73120         relocation.
73121         * Makeconfig (libm): Define.
73122         * elf/Makefile: Add rules to build and run tst-relsort1.
73123         * elf/tst-relsort1.c: New file.
73124         * elf/tst-relsort1mod1.c: New file.
73125         * elf/tst-relsort1mod2.c: New file.
73127 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
73129         * math/s_ldexp.c: Remove __STDC__ conditionals.
73130         * math/s_ldexpf.c: Likewise.
73131         * math/s_ldexpl.c: Likewise.
73132         * math/s_nextafter.c: Likewise.
73133         * math/s_nexttowardf.c: Likewise.
73134         * math/s_significand.c: Likewise.
73135         * math/s_significandf.c: Likewise.
73136         * math/s_significandl.c: Likewise.
73137         * math/w_jnl.c: Likewise.
73138         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73139         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73140         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73141         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73142         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73143         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73144         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73145         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73146         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73147         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73148         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73149         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73150         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73151         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73152         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73153         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73154         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73155         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73156         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73157         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73158         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73159         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73160         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73161         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73162         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73163         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73164         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73165         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73166         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73167         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73168         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73169         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73170         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73171         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73172         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73173         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73174         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73175         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73176         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73177         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73178         * sysdeps/ieee754/k_standard.c: Likewise.
73179         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73180         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73181         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73182         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73183         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73184         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73185         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73186         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73187         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73188         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73189         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73190         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73191         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73192         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73193         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73194         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73195         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73196         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73197         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73198         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73199         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73200         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73201         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73202         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73203         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73204         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73205         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73206         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73207         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73208         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73209         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73210         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73211         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73212         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73213         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73214         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73215         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73216         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73217         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73218         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73219         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73220         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73221         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73222         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73223         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73224         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73225         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73226         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73227         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73228         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73229         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73230         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73231         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73232         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73233         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73234         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73235         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73236         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73237         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73238         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73239         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73240         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73241         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73242         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73243         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73244         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73245         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73246         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73247         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73248         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73249         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73250         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73251         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73252         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73253         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73254         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73255         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73256         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73257         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73258         * sysdeps/ieee754/s_matherr.c: Likewise.
73259         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73260         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73261         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73262         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73264 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73266         * crypt/md5.h: Remove __STDC__ conditionals.
73267         * libio/libioP.h: Likewise.
73268         * locale/programs/config.h: Likewise.
73269         * sysdeps/generic/sysdep.h: Likewise.
73270         * sysdeps/i386/asm-syntax.h: Likewise.
73271         * sysdeps/s390/asm-syntax.h: Likewise.
73272         * sysdeps/unix/sysdep.h: Likewise.
73273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73276 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73278         * libio/libio.h: Remove __STDC__ conditionals.
73279         * malloc/obstack.h: Likewise.
73280         * math/complex.h: Likewise.
73281         * math/math.h: Likewise.
73282         * sysdeps/generic/_G_config.h: Likewise.
73283         * sysdeps/gnu/_G_config.h: Likewise.
73284         * sysdeps/mach/hurd/_G_config.h: Likewise.
73285         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73286         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73287         * sysdeps/sparc/bits/mathdef.h: Likewise.
73289 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73291         [BZ #13583]
73292         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73293         Clean up HAS_* macros.
73294         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73295         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73296         possible.
73297         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73298         HAS_AVX.
73299         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73300         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73301         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73302         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73303         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73305 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73307         * elf/tst-unique3.cc (gets): Remove declaration.
73308         * elf/tst-unique3lib.cc (gets): Likewise.
73309         * elf/tst-unique3lib2.cc (gets): Likewise.
73310         * elf/tst-unique4.cc (gets): Likewise.
73312 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73314         * include/stdio.h: Add C++ protection.  Add gets declarations and
73315         definitions.
73316         * debug/tst-chk1.c: Don't declare gets here.
73317         * stdio-common/tst-gets.c: Likewise.
73319 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73321         * posix/glob: Remove directory.
73323 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73325         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73327 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73329         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73330         of the non-standard EPFNOSUPPORT.
73332 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73334         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73335         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73336         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73338 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73340         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73342 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73344         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73345         transient errors.
73346         * nscd/grpcache.c (cache_addgr): Likewise.
73347         * nscd/hstcache.c (cache_addhst): Likewise.
73348         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73349         * nscd/pwdcache.c (cache_addpw): Likewise.
73350         * nscd/servicescache.c (cache_addserv): Likewise.
73352 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73354         * malloc/malloc.c: Various cleanups.
73355         * malloc/hooks.c: Likewise.
73357         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73358         * stdlib/bug-fmtmsg1.c: New file.
73360         * stdlib/fmtmsg.c (init): Add missing unlock.
73361         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73363 2012-01-12  Marek Polacek  <polacek@redhat.com>
73365         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73366         and _GNU_SOURCE.
73368 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73370         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73371         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73372         macro to ensure uniqueness of label name.
73373         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73374         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73376 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73378         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73380         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73381         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73382         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73383         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73385 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73387         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73389         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73390         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73391         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73393         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73395         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73396         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73397         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73398         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73400         * math/bits/math-finite.h: Add ldexp support.
73402 2012-01-10  Marek Polacek  <polacek@redhat.com>
73404         * locale/programs/localedef.h (show_archive_content): Add noreturn
73405         attribute.
73407 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73409         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73411 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73413         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73415         * io/Makefile (headers): Add bits/poll2.h.
73417 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73420         typo #include statement.
73422 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73424         * include/sys/cdefs.h: Define __attribute_alloc_size.
73425         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73426         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73427         * elf/pldd.c: Likewise.
73428         * iconv/iconv_charmap.c: Likewise.
73429         * iconv/iconvconfig.c: Likewise.
73430         * iconv/strtab.c: Likewise.
73431         * locale/programs/locale.c: Likewise.
73432         * locale/programs/localedef.h: Likewise.
73433         * locale/programs/simple-hash.c: Likewise.
73434         * nscd/nscd.h: Likewise.
73435         * nss/makedb.c: Likewise.
73436         * sysdeps/generic/ldconfig.h: Likewise.
73437         * locale/programs/localedef.c: Remove xmalloc prototype.
73438         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73440 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73442         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73443         appropriate.
73445 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73447         * math/Makefile (tests): Add tst-CMPLX.
73448         * math/tst-CMPLX.c: New file.
73450         * math/complex.h (CMPLXL): Fix typo.
73452         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73453         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73454         GLIBC_2.16.
73455         * debug/tst-chk1.c: Add poll and ppoll tests.
73456         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73457         * include/sys/poll.h: Add hidden proto for ppoll.
73458         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73459         * sysdeps/mach/hurd/ppoll.c: Likewise.
73460         * io/ppoll.c: Likewise.
73461         * debug/poll_chk.c: New file.
73462         * debug/ppoll_chk.c: New file.
73463         * include/bits/poll2.h: New file.
73464         * io/bits/poll2.h: New file.
73466         [BZ #1350]
73467         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73469         * configure.in: static is always set to yes.  Remove.
73470         * config.make.in: Don't set build-static.
73471         * Makeconfig: Remove use of build-static.
73472         * dlfcn/Makefile: Likewise.
73473         * elf/Makefile: Likewise.
73474         * math/Makefile: Likewise.
73475         * misc/Makefile: Likewise.
73476         * nptl/Makefile: Likewise.
73477         * sysdeps/mach/hurd/Makefile: Likewise.
73479         * configure.in: PWD_P is not used anymore.
73480         * config.make.in: Remove PWD_P entry.
73482         * configure.in: Remove last remnants of RANLIB.
73483         No need to check for signed size_t anymore.
73484         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73485         and IA-64.
73486         Remove __builtin_expect test because we require at least gcc 3.4.
73487         * aclocal.m4: Likewise.
73489         * wcsmbs/mbrtoc16.c: Implement using towc function.
73490         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73491         * wcsmbs/wcsmbsload.c: Likewise.
73492         * iconv/gconv_simple.c: Likewise.
73493         * iconv/gconv_int.h: Likewise.
73494         * iconv/gconv_builtin.h: Likewise.
73495         * iconv/iconv_prog.c: Remove CHAR16 handling.
73497         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73499         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73501         * configure.in: Remove --with-elf and --enable-bounded options.
73502         Dont set base_machine for ia64.  More non-ELF conditions removed.
73503         Remove testing and setting of leading underscore information.
73504         * config.make.in (build-bounded): Set to no.
73505         * config.h.in: Remove NO_UNDERSCORES entry.
73506         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73507         them.
73508         * csu/start.c: Remove !NO_UNDERSCORE code.
73509         * locale/localeinfo.h: Likewise.
73510         * sysdeps/generic/machine-gmon.h: Likewise.
73511         * sysdeps/generic/sysdep.h: Likewise.
73512         * sysdeps/i386/sysdep.h: Likewise.
73513         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73514         * sysdeps/mach/sysdep.h: Likewise.
73515         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73516         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73517         * sysdeps/sh/sysdep.h: Likewise.
73518         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73519         * sysdeps/unix/i386/sysdep.S: Likewise.
73520         * sysdeps/unix/sparc/start.c: Likewise.
73521         * sysdeps/unix/sparc/sysdep.S: Likewise.
73522         * sysdeps/unix/sparc/sysdep.h: Likewise.
73523         * sysdeps/unix/start.c: Likewise.
73524         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73525         * sysdeps/x86_64/sysdep.h: Likewise.
73527 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73529         [BZ #13553]
73530         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73531         for non-gcc.
73532         * argp/argp-fmtstream.h: Use const instead __const.
73533         * argp/argp.h: Likewise.
73534         * assert/assert.h: Likewise.
73535         * bits/fenv.h: Likewise.
73536         * bits/sched.h: Likewise.
73537         * bits/sigset.h: Likewise.
73538         * bits/sigthread.h: Likewise.
73539         * catgets/nl_types.h: Likewise.
73540         * conform/data/pthread.h-data: Likewise.
73541         * crypt/crypt-private.h: Likewise.
73542         * crypt/crypt.h: Likewise.
73543         * crypt/crypt_util.c: Likewise.
73544         * ctype/ctype.h: Likewise.
73545         * debug/execinfo.h: Likewise.
73546         * debug/mbsnrtowcs_chk.c: Likewise.
73547         * debug/mbsrtowcs_chk.c: Likewise.
73548         * debug/wcsnrtombs_chk.c: Likewise.
73549         * debug/wcsrtombs_chk.c: Likewise.
73550         * debug/wcstombs_chk.c: Likewise.
73551         * dirent/dirent.h: Likewise.
73552         * dlfcn/dlfcn.h: Likewise.
73553         * elf/neededtest4.c: Likewise.
73554         * grp/grp.h: Likewise.
73555         * gshadow/gshadow.h: Likewise.
73556         * iconv/gconv.h: Likewise.
73557         * iconv/gconv_int.h: Likewise.
73558         * iconv/gconv_simple.c: Likewise.
73559         * iconv/iconv.h: Likewise.
73560         * iconv/loop.c: Likewise.
73561         * iconv/skeleton.c: Likewise.
73562         * include/aio.h: Likewise.
73563         * include/aliases.h: Likewise.
73564         * include/argz.h: Likewise.
73565         * include/arpa/inet.h: Likewise.
73566         * include/assert.h: Likewise.
73567         * include/dirent.h: Likewise.
73568         * include/dlfcn.h: Likewise.
73569         * include/execinfo.h: Likewise.
73570         * include/fcntl.h: Likewise.
73571         * include/fenv.h: Likewise.
73572         * include/glob.h: Likewise.
73573         * include/grp.h: Likewise.
73574         * include/libintl.h: Likewise.
73575         * include/mntent.h: Likewise.
73576         * include/netdb.h: Likewise.
73577         * include/pwd.h: Likewise.
73578         * include/rpc/netdb.h: Likewise.
73579         * include/sched.h: Likewise.
73580         * include/search.h: Likewise.
73581         * include/shadow.h: Likewise.
73582         * include/signal.h: Likewise.
73583         * include/stdio.h: Likewise.
73584         * include/stdlib.h: Likewise.
73585         * include/string.h: Likewise.
73586         * include/sys/socket.h: Likewise.
73587         * include/sys/stat.h: Likewise.
73588         * include/sys/statfs.h: Likewise.
73589         * include/sys/statvfs.h: Likewise.
73590         * include/sys/syslog.h: Likewise.
73591         * include/sys/time.h: Likewise.
73592         * include/sys/uio.h: Likewise.
73593         * include/time.h: Likewise.
73594         * include/unistd.h: Likewise.
73595         * include/utmp.h: Likewise.
73596         * include/wchar.h: Likewise.
73597         * include/wctype.h: Likewise.
73598         * inet/aliases.h: Likewise.
73599         * inet/arpa/inet.h: Likewise.
73600         * inet/netinet/ether.h: Likewise.
73601         * inet/netinet/in.h: Likewise.
73602         * intl/libintl.h: Likewise.
73603         * io/bits/fcntl2.h: Likewise.
73604         * io/fcntl.h: Likewise.
73605         * io/ftw.h: Likewise.
73606         * io/sys/poll.h: Likewise.
73607         * io/sys/stat.h: Likewise.
73608         * io/sys/statfs.h: Likewise.
73609         * io/sys/statvfs.h: Likewise.
73610         * io/utime.h: Likewise.
73611         * libio/bits/stdio.h: Likewise.
73612         * libio/bits/stdio2.h: Likewise.
73613         * libio/libio.h: Likewise.
73614         * libio/libioP.h: Likewise.
73615         * libio/stdio.h: Likewise.
73616         * locale/lc-ctype.c: Likewise.
73617         * locale/locale.h: Likewise.
73618         * login/utmp.h: Likewise.
73619         * malloc/arena.c: Likewise.
73620         * malloc/malloc.c: Likewise.
73621         * malloc/malloc.h: Likewise.
73622         * malloc/mcheck.c: Likewise.
73623         * malloc/mtrace.c: Likewise.
73624         * math/bits/mathcalls.h: Likewise.
73625         * math/fenv.h: Likewise.
73626         * math/math_private.h: Likewise.
73627         * misc/bits/error.h: Likewise.
73628         * misc/bits/syslog.h: Likewise.
73629         * misc/err.h: Likewise.
73630         * misc/error.h: Likewise.
73631         * misc/fstab.h: Likewise.
73632         * misc/mntent.h: Likewise.
73633         * misc/regexp.h: Likewise.
73634         * misc/search.h: Likewise.
73635         * misc/sgtty.h: Likewise.
73636         * misc/sys/mman.h: Likewise.
73637         * misc/sys/syslog.h: Likewise.
73638         * misc/sys/uio.h: Likewise.
73639         * misc/sys/xattr.h: Likewise.
73640         * misc/ttyent.h: Likewise.
73641         * nis/rpcsvc/ypclnt.h: Likewise.
73642         * nss/nss.h: Likewise.
73643         * posix/bits/unistd.h: Likewise.
73644         * posix/fnmatch.h: Likewise.
73645         * posix/glob.h: Likewise.
73646         * posix/sched.h: Likewise.
73647         * posix/spawn.h: Likewise.
73648         * posix/sys/wait.h: Likewise.
73649         * posix/unistd.h: Likewise.
73650         * posix/wordexp.h: Likewise.
73651         * pwd/pwd.h: Likewise.
73652         * resolv/netdb.h: Likewise.
73653         * resource/sys/resource.h: Likewise.
73654         * rt/aio.h: Likewise.
73655         * rt/bits/mqueue2.h: Likewise.
73656         * rt/mqueue.h: Likewise.
73657         * shadow/shadow.h: Likewise.
73658         * signal/signal.h: Likewise.
73659         * socket/send.c: Likewise.
73660         * socket/sendto.c: Likewise.
73661         * socket/sys/socket.h: Likewise.
73662         * stdio-common/printf.h: Likewise.
73663         * stdlib/bits/stdlib.h: Likewise.
73664         * stdlib/fmtmsg.h: Likewise.
73665         * stdlib/monetary.h: Likewise.
73666         * stdlib/stdlib.h: Likewise.
73667         * stdlib/ucontext.h: Likewise.
73668         * streams/stropts.h: Likewise.
73669         * string/argz.h: Likewise.
73670         * string/bits/string2.h: Likewise.
73671         * string/string.h: Likewise.
73672         * string/strings.h: Likewise.
73673         * sunrpc/rpc/auth.h: Likewise.
73674         * sunrpc/rpc/auth_des.h: Likewise.
73675         * sunrpc/rpc/clnt.h: Likewise.
73676         * sunrpc/rpc/netdb.h: Likewise.
73677         * sunrpc/rpc/pmap_clnt.h: Likewise.
73678         * sunrpc/rpc/xdr.h: Likewise.
73679         * sysdeps/generic/inttypes.h: Likewise.
73680         * sysdeps/generic/net/if.h: Likewise.
73681         * sysdeps/generic/sys/swap.h: Likewise.
73682         * sysdeps/gnu/net/if.h: Likewise.
73683         * sysdeps/gnu/utmpx.h: Likewise.
73684         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73685         * sysdeps/i386/i486/bits/string.h: Likewise.
73686         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73687         * sysdeps/s390/bits/string.h: Likewise.
73688         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73689         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73690         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73691         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73692         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73693         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73694         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73695         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73696         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73697         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73698         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73699         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73700         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73701         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73702         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73703         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73704         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73705         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73706         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73707         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73708         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73709         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73710         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73711         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73712         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73713         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73714         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73715         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73716         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73717         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73718         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73719         * sysvipc/sys/ipc.h: Likewise.
73720         * sysvipc/sys/msg.h: Likewise.
73721         * sysvipc/sys/sem.h: Likewise.
73722         * sysvipc/sys/shm.h: Likewise.
73723         * termios/termios.h: Likewise.
73724         * time/sys/time.h: Likewise.
73725         * time/time.h: Likewise.
73726         * wcsmbs/bits/wchar2.h: Likewise.
73727         * wcsmbs/uchar.h: Likewise.
73728         * wcsmbs/wchar.h: Likewise.
73729         * wctype/wctype.h: Likewise.
73731         [BZ #13551]
73732         * Makeconfig: Remove all but ELF support including AIX support.
73733         * Makerules: Likewise.
73734         * config.h.in: Likewise.
73735         * config.make.in: Likewise.
73736         * configure: Likewise.
73737         * configure.in: Likewise.
73738         * csu/Makefile: Likewise.
73739         * csu/version.c: Likewise.
73740         * debug/Makefile: Likewise.
73741         * dlfcn/Makefile: Likewise.
73742         * elf/Makefile: Likewise.
73743         * extra-lib.mk: Likewise.
73744         * iconv/Makefile: Likewise.
73745         * include/libc-symbols.h: Likewise.
73746         * include/shlib-compat.h: Likewise.
73747         * resolv/Makefile: Likewise.
73748         * resolv/res_libc.c: Likewise.
73749         * rt/Makefile: Likewise.
73750         * sysdeps/i386/asm-syntax.h: Likewise.
73751         * sysdeps/i386/sysdep.h: Likewise.
73752         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73753         * sysdeps/mach/sysdep.h: Likewise.
73754         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73755         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73756         * sysdeps/s390/asm-syntax.h: Likewise.
73757         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73758         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73759         * sysdeps/sh/sysdep.h: Likewise.
73760         * sysdeps/unix/sparc/sysdep.h: Likewise.
73761         * sysdeps/wordsize-32/divdi3.c: Likewise.
73762         * sysdeps/x86_64/sysdep.h: Likewise.
73764         * argp/Versions: Remove _argp_unlock_xxx.
73766         [BZ #13559]
73767         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73768         * abilist/libBrokenLocale.abilist: Likewise.
73769         * abilist/libanl.abilist: Likewise.
73770         * abilist/libc.abilist: Likewise.
73771         * abilist/libcrypt.abilist: Likewise.
73772         * abilist/libdl.abilist: Likewise.
73773         * abilist/libm.abilist: Likewise.
73774         * abilist/libnsl.abilist: Likewise.
73775         * abilist/libpthread.abilist: Likewise.
73776         * abilist/libresolv.abilist: Likewise.
73777         * abilist/librt.abilist: Likewise.
73778         * abilist/libthread_db.abilist: Likewise.
73779         * abilist/libutil.abilist: Likewise.
73780         * abilist/libnss_db.abilist: New file.
73782         * scripts/abilist.awk: Add support for indirect functions.
73784         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73786         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73788         * shlib-versions: Remove entries for ports architectures.
73790         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73791         files in ports.
73792         * elf/stackguard-macros.h: Remove support for IA-64.
73793         * elf/tst-auditmod1.c: Likewise.
73794         * sysdeps/generic/ldsodefs.h: Likewise.
73796         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73797         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73798         configure files.
73800         [BZ #13552]
73801         * configure.in: Remove --enable-omitfp support.
73802         * FAQ.in: Adjust.
73803         * config.make.in: Likewise.
73804         * Makeconfig: Likewise.
73805         * manual/install.texi: Likewise.
73807         In case anyone cares, the IA-64 architecture could move to ports.
73808         * sysdeps/ia64/*: Removed.
73809         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73810         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73812         [BZ #13555]
73813         * configure.in: Remove entries for unsupported architectures.
73815         [BZ #13533]
73816         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73817         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73818         routines.
73819         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73820         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73821         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73822         fall back to using wcrtomb.
73823         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73824         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73825         renaming.
73826         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73827         * wcsmbs/tst-c16c32-1.c: New file.
73829         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73830         local variable.
73832         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73834         * elf/tst-unique3.cc: Add explicit declaration of gets.
73835         * elf/tst-unique3lib.cc: Likewise.
73836         * elf/tst-unique3lib2.cc: Likewise.
73837         * elf/tst-unique4.cc: Likewise.
73839         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73841 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73843         [BZ #13566]
73844         * assert/assert.h (static_assert): Don't define for C++.
73845         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73846         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73848 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73850         * iconv/loop.c (single loop): Fix assertion in storing of
73851         remaining bytes.
73853         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73855 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73857         * posix/getconf.c: Update copyright year.
73858         * nss/getent.c: Likewise.
73859         * nss/makedb.c: Likewise.
73860         * iconv/iconvconfig.c: Likewise.
73861         * iconv/iconv_prog.c: Likewise.
73862         * elf/ldconfig.c: Likewise.
73863         * elf/pldd.c: Likewise.
73864         * elf/sotruss.ksh: Likewise.
73865         * catgets/gencat.c: Likewise.
73866         * csu/version.c: Likewise.
73867         * elf/ldd.bash.in: Likewise.
73868         * elf/sprof.c (print_version): Likewise.
73869         * locale/programs/locale.c: Likewise.
73870         * locale/programs/localedef.c: Likewise.
73871         * login/programs/pt_chown.c: Likewise.
73872         * nscd/nscd.c (print_version): Likewise.
73873         * debug/xtrace.sh: Likewise.
73874         * malloc/memusage.sh: Likewise.
73875         * malloc/mtrace.pl: Likewise.
73876         * debug/catchsegv.sh: Likewise.
73878 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73880         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73881         pure attribute.
73883 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73885         [BZ #13533]
73886         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73887         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73888         transformations.
73889         * iconv/gconv_int.h: Likewise.
73890         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73891         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73892         from libc for GLIBC_2.16.
73893         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73894         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73895         * wcsmbs/uchar.h: Really define mbstate_t.
73896         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73897         * wcsmbs/c16rtomb.c: New file.
73898         * wcsmbs/mbrtoc16.c: New file.
73899         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73900         for C/POSIX locale.
73901         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73902         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73904         * wcsmbs/wchar.h: Add missing __restrict.
73906 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73908         [BZ #13532]
73909         * time/Makefile (routines): Add timespec_get.
73910         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73911         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73912         timespec for ISO C11.
73913         * time/timespec_get.c: New file.
73914         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73915         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73917         [BZ #13531]
73918         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73919         * stdlib/stdlib.h: Declare aligned_alloc.
73920         * Versions.def: Add GLIBC_2.16 for libc.
73921         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73923         [BZ 13527]
73924         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73925         ISO C11.
73927         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73928         code.
73930         [BZ #13528]
73931         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73933         [BZ #13529]
73934         * assert/assert.h (static_assert): Define.
73936         * version.h: Update for 2.16 development version.
73938         [BZ #13526]
73939         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73940         _ISOC11_SOURCE.
73942         * version.h (RELEASE): Bump for 2.15 release.
73943         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73945         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73946         Patch by Marek Polacek <mpolacek@redhat.com>.
73948         * bits/byteswap.h: Protect long long constants with __extension__.
73949         * sysdeps/i386/bits/byteswap.h: Likewise.
73950         * sysdeps/ia64/bits/byteswap.h: Likewise.
73951         * sysdeps/s390/bits/byteswap.h: Likewise.
73952         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73954 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73956         [BZ #13540]
73957         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73958         destination buffer.
73959         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73961 2011-12-23  Marek Polacek  <polacek@redhat.com>
73963         * elf/dl-addr.c (determine_info): Add inline keyword.
73964         * elf/tst-auditmod4b.c (check_avx): Likewise.
73965         * elf/tst-auditmod6b.c (check_avx): Likewise.
73966         * elf/tst-auditmod6c.c (check_avx): Likewise.
73967         * elf/tst-auditmod7b.c (check_avx): Likewise.
73969 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73971         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73972         !__SSE_MATH__.
73974 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73976         [BZ #13540]
73977         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73978         processing for last bytes.
73980 2011-08-06  Bruno Haible  <bruno@clisp.org>
73982         [BZ #13061]
73983         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73984         U+0385, not to U+1FEE.
73986         [BZ #13062]
73987         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73988         entry for U+00A5 U+0301.
73990 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73992         [BZ #13166]
73993         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73994         buffer for the output is too small.
73996         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73997         optimization.
73999         [BZ #13185]
74000         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74001         SSE flags if possible.
74003 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74005         [BZ #13540]
74006         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74007         processing for last bytes.
74009 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
74011         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74012         (syscall-list-default-options, syscall-list-default-condition)
74013         (syscall-list-includes): Define.
74014         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74015         list of ABIs and options and #if conditions for each ABI.  Do not
74016         handle common syscalls between ABIs specially.
74017         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74018         Remove.
74019         (syscall-list-variants, syscall-list-32bit-options)
74020         (syscall-list-32bit-condition, syscall-list-64bit-options)
74021         (syscall-list-64bit-condition): Define.
74022         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74023         (syscall-list-variants, syscall-list-32bit-options)
74024         (syscall-list-32bit-condition, syscall-list-64bit-options)
74025         (syscall-list-64bit-condition): Define.
74026         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74027         Remove.
74028         (syscall-list-variants, syscall-list-32bit-options)
74029         (syscall-list-32bit-condition, syscall-list-64bit-options)
74030         (syscall-list-64bit-condition): Define.
74031         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74032         Remove.
74033         (syscall-list-variants, syscall-list-32bit-options)
74034         (syscall-list-32bit-condition, syscall-list-64bit-options)
74035         (syscall-list-64bit-condition): Define.
74037 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74039         * locale/iso-639.def: Add brx entry.
74041         [BZ #13328]
74042         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74043         Proposed by Mariusz_Cukr <marcukr@op.pl>.
74045         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74046         __feraiseexcept_renamed.
74048 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74050         [BZ #13538]
74051         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74052         EPOLLET with unsigned values.
74053         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74054         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74056         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74057         to large cancellation.
74058         * math/s_cacoshf.c: Likewise.
74059         * math/s_cacoshl.c: Likewise.
74061 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
74063         [BZ #13305]
74064         [BZ #12786]
74065         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74066         * math/s_cacoshf.c: Likewise.
74067         * math/s_cacoshl.c: Likewise.
74069 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74071         [BZ #13439]
74072         * iconv/gconv.h: Define __GCONV_SWAP.
74073         * iconvdata/unicode.c: The swap bit must be stored in __flags.
74074         * iconvdata/utf-16.c: Likewise.
74075         * iconvdata/utf-32.c: Likewise.
74077 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
74079         [BZ #13524]
74080         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74081         numerator after shifting it by one limb.
74083 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
74085         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74086         under [__USE_EXTERN_INLINES].
74088 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74090         [BZ #13446]
74091         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74093 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74095         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74096         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74097         optimized code.
74098         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74099         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74100         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74101         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74102         for strncasecmp/strncasecmp_l compilation.
74103         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74104         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74106 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
74108         [BZ #13484]
74109         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74110         of __asm__.
74112 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74114         [BZ #13506]
74115         * time/tzfile.c (__tzfile_read): Check values from file header.
74117 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74119         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74120         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74121         * powerpc/powerpc32/dl-start.S: Likewise.
74122         * powerpc/powerpc32/elf/start.S: Likewise.
74123         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74124         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74125         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74126         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74127         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74128         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74129         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74130         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74131         * powerpc/powerpc32/fpu/s_round.S: Likewise.
74132         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74133         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74134         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74135         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74136         * powerpc/powerpc32/memset.S: Likewise.
74137         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74138         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74139         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74140         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74141         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74142         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74143         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74144         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74145         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74146         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74147         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74148         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74149         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74151 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74153         * math/libm-test.inc: Added more nearbyint tests.
74154         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74155         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74156         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74157         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74159 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74161         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74162         FD_CLOEXEC.
74164 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74166         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74167         Add wcscpy-ssse3 wcscpy-c.
74168         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74169         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74170         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74171         * sysdeps/x86_64/wcschr.S: New file.
74172         * sysdeps/x86_64/wcsrchr.S: New file.
74173         * string/test-strcmp.c: Remove checking of wcscmp function for
74174         wrong alignments.
74175         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74176         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74177         wcsrchr-sse2 wcsrchr-c.
74178         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74179         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74180         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74181         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74182         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74183         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74184         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74185         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74186         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74187         * wcsmbc/wcschr.c (WCSCHR): New macro.
74189 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74191         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74192         * wcsmbs/test-wcsrchr.c: New file.
74193         * string/test-strrchr.c: Add wcsrchr support.
74194         (WIDE): New macro.
74195         * wcsmbs/test-wcscpy.c: New file.
74196         * string/test-strcpy.c: Add wcscpy support.
74197         (WIDE): New macro.
74199 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74201         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74202         the inner loop.
74204 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74206         [BZ #13472]
74207         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74209 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74211         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74212         Minor optimizations.
74214         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74215         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74216         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74218 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74220         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74221         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74222         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74223         for gcc to avoid warnings.
74224         * inet/Makefile (tests): Add tst-checks.
74225         * inet/tst-checks.c: New file.
74227         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74228         warning.
74230         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74231         __wmemcmp_sse2.
74233         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74234         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74236         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74238 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74240         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74241         problem.
74243         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74245 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74247         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74248         conditional on GCC version.
74249         (__arch_compare_and_exchange_val_8_acq)
74250         (__arch_compare_and_exchange_val_16_acq)
74251         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74252         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74253         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74255 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74257         * sysdeps/sh/backtrace.c: New file.
74259 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74261         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74262         parenthesis.
74264 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74266         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74267         falling back to utime.
74269 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74271         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74272         expectations for float.
74274 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74276         * locale/weight.h (findidx): Add parameter len.
74277         * locale/weightwc.h (findidx): Likewise.
74278         * posix/fnmatch_loop.c (FCT): Adjust caller.
74279         * posix/regcomp.c (build_equiv_class): Likewise.
74280         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74281         * posix/regexec.c (check_node_accept_bytes): Likewise.
74282         * string/strcoll_l.c (STRCOLL): Likewise.
74283         * string/strxfrm_l.c (STRXFRM): Likewise.
74285 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74287         * Makefile.in: Remove CVSOPT handling.
74288         * configure.in: Remove use of AC_REVISION.
74289         * iconvdata/Makefile (distribute): No need to filter out CVS.
74290         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74291         handling.
74293 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74295         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74296         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74297         [USE_AS_STRNCASECMP_L]: Likewise.
74298         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74299         NO_TLS_DIRECT_SEG_REFS.
74300         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74301         Fix argument offsets for non-PIC.
74302         [USE_AS_STRNCASECMP_L]: Likewise.
74303         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74304         NO_TLS_DIRECT_SEG_REFS.
74306 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74308         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74309         O_CLOEXEC.
74310         * locale/loadlocale.c (_nl_load_locale): Likewise.
74312 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74314         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74315         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74316         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74317         (SYSCALL_GETTIME): Set errno on error.
74319         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74320         count references to noai6ai_cached.
74322 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74324         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74326         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74327         FD_CLOEXEC for /proc/self/maps.
74329         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74330         FD_CLOEXEC for /proc/meminfo.
74332         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74333         gai.conf.
74335         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74336         FD_CLOEXEC for given file.
74338         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74340         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74341         FD_CLOEXEC for /etc/hosts.
74342         (_gethtent): Likewise.
74344         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74346         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74347         cancellation and set FD_CLOEXEC for /etc/netgroup.
74349         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74350         reading /etc/publickey.
74352         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74353         allow cancellation when reading /etc/group.
74355         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74356         cancellation.
74357         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74359         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74360         when using data file.
74362         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74364         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74365         (write_nis_obj): Use "c" and "e" in fopen.
74367         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74369         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74371         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74373         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74375         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74376         locale.alias.
74378         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74380         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74382         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74384         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74385         file parsing and set FD_CLOEXEC.
74387 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74389         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74391 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74393         * malloc/arena.c (arena_get2): Don't call reused_arena when
74394         _int_new_arena failed.
74396 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74398         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74399         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74400         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74401         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74402         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74403         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74404         to compile strcasecmp and strncasecmp.
74405         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74406         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74408         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74410 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74412         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74413         locale-defines.sym to gen-as-const-headers.
74414         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74415         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74416         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74417         to compile strcasecmp and strncasecmp.
74418         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74419         strcasecmp_l and strncasecmp_l.
74420         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74421         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74422         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74423         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74424         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74425         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74426         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74427         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74428         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74429         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74430         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74432 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74434         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74435         result of SYSDEP_GETTIME_CPU to retval.
74436         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74437         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74439         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74440         variable.
74442         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74443         mantissa words.
74444         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74446         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74447         from unused variable.
74449         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74450         DWARF definitions.
74451         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74452         for assembling.
74454         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74455         over namespaces.
74457         * sunrpc/rpc_prot.c (rejected): Fix case value.
74459         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74460         unsigned long long int to avoid warnings in shift.
74462         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74463         of use of trans.
74464         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74465         variable tmp.
74467         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74468         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74469         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74471         * nis/nis_table.c (nis_list): Use variable of correct type for
74472         result of __follow_path call.
74474 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74476         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74477         of math functions ceil, trunc, floor, round, and sqrt, when
74478         avaliable on the platform.
74479         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74480         name clash.
74481         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74482         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74483         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74485 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74487         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74488         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74490 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74492         * include/unistd.h: Fix __readlink return type.
74493         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74495 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74497         * stdlib/ucontext.h: Undo last change for makecontext.
74499 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74501         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74503         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74504         * setjmp/setjmp.h: Mark functions as non-leaf.
74505         * setjmp/bits/setjmp2.h: Likewise.
74506         * stdlib/ucontext.h: Likewise.
74508 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74510         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74511         (reused_arena): Don't check arena limit.
74512         (arena_get2): Atomically check arena limit.
74514 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74516         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74517         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74519         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74520         instructions.
74522 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74524         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74525         handler when locking.
74527         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74528         Fix size of allocated buffer.
74530 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74532         [BZ #10103]
74533         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74534         declarations for long double functions.
74535         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74537         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74539 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74541         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74542         installed.
74544         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74545         is disabled.
74547 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74549         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74551 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74553         * include/alloca.h (stackinfo_alloca_round): Define.
74554         (extend_alloca): Use it.
74555         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74556         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74557         here.
74559         * scripts/check-local-headers.sh: Ignore libaudit.h.
74561         * nscd/Makefile (extra-objs): Make recursively expanded.
74563 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74565         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74566         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74568         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74569         * posix/tst-rfc3484-2.c: Likewise.
74570         * posix/tst-rfc3484-3.c: Likewise.
74572         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74573         process_vm_writev.
74574         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74575         process_vm_writev.
74576         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74577         process_vm_writev from libc using GLIBC_2.15 version.
74579         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74581 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74583         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74584         stack usage.
74586 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74588         [BZ #13367]
74589         * nss/getent.c (initgroups_keys): Show error message in case no group
74590         names are given.
74592         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74593         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74594         __bump_nl_timestamp.
74595         * nscd/connections (nscd_init): When host database is served open
74596         netlink socket and request notification about configuration changes.
74597         (main_loop_poll): Track netlink file descriptor and bump timestamp
74598         in case data becomes available.
74599         (main_loop_epoll): Likewise.
74600         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74601         (database_pers_head): Add extra_data fileds.
74602         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74603         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74604         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74605         Adjust caller.
74606         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74607         in6ai data, call __free_in6ai.
74608         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74609         Add -DHAVE_NETLINK.
74610         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74611         interface information.  Reuse previous data if netlink timestamp
74612         is not changed.
74613         (__bump_nl_timestamp): New function.
74614         (__free_in6ai): New function.
74616 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74618         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74619         close_not_cancel_no_status here.
74620         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74622 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74624         [BZ #13276]
74625         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74626         return value.
74628         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74629         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74630         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74632 2011-07-03  Andreas Jaeger  <aj@suse.de>
74634         [BZ #10709]
74635         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74636         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74637         * math/libm-test.inc (sin_test): Add test case.
74639 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74641         [BZ #13337]
74642         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74643         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74645         * elf/chroot_canon.c (chroot_canon): Cleanups.
74647         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74649         [BZ #13335]
74650         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74651         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74653         * string/test-strchr.c: Make usable for strchrnul testing.
74654         * string/test-strchrnul.c: New file.
74655         * string/Makefile (strop-tests): Add strchrnul.
74657         * po/it.po: Update from translation team.
74658         * po/es.po: Likewise.
74660 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74662         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74663         the three constants needed as parameters.  Drop the others.
74664         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74665         __m128i_strloadu_tolower.
74666         Create and initialize variable zero and use it in all the places
74667         where _mm_setzero_si128 was used.
74669         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74670         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74671         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74672         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74673         anymore.
74674         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74675         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74676         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74677         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74678         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74679         __mpranred, __mptan.
74680         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74681         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74682         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74683         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74684         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74685         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74686         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74687         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74688         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74690 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74692         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74693         redefine if SHARED.
74694         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74696         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74697         wide char related routines to wcsmbs subdir.
74699 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74701         [BZ #13344]
74702         * misc/sys/cdefs.h (__THROWNL): Define.
74703         * posix/unistd.h: Use __THREADNL instead of __THREAD
74704         for memory synchronization functions.
74706 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74708         [BZ #13349]
74709         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74710         doesn't exist.
74711         * manual/stdio.texi (Obstack Streams): Node removed.
74713 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74715         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74716         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74717         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74719         * math/math_private.h (math_force_eval): Allow non-addressable
74720         arguments.
74721         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74723 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74725         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74726         file is not needed.
74728         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74729         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74730         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74731         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74732         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74733         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74734         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74735         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74736         Add AVX variants.
74737         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74738         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74739         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74740         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74741         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74742         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74743         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74744         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74745         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74746         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74747         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74748         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74749         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74750         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74751         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74752         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74753         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74754         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74755         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74757         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74758         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74760         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74761         place.  Use VEX encoding when compiling for AVX.
74763 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74765         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74766         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74768         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74770 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74772         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74773         useless if() expression.
74774         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74775         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74776         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74777         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74778         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74779         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74780         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74781         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74782         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74783         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74784         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74785         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74786         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74787         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74788         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74789         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74790         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74791         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74792         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74794         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74796 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74798         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74799         condition.
74800         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74802 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74804         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74805         .text section.  Avoid duplicate constants.
74806         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74807         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74808         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74809         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74810         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74811         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74812         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74813         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74814         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74815         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74816         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74817         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74818         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74819         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74820         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74821         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74822         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74823         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74824         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74825         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74826         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74827         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74828         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74829         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74830         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74831         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74832         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74833         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74834         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74835         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74836         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74837         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74838         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74839         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74840         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74841         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74842         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74843         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74844         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74845         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74846         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74847         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74848         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74849         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74850         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74852 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74854         * sysdeps/x86_64/dla.h: Move to ...
74855         * sysdeps/x86_64/fpu/dla.h: ...here.
74856         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74857         situations.  Use __builtin_fma only for gcc 4.6 and up.
74859         * config.make.in: Add have-mfma4 entry.
74860         * configure.in: Substitute libc_cv_cc_fma4.
74861         * math/Makefile (dbl-only-routines): Add sincostab.
74862         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74863         Use __sincostab not sincos.
74864         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74865         name is a macro.
74866         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74867         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74868         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74869         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74870         using __copysign.
74871         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74872         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74873         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74874         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74875         and __inv.
74876         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74877         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74878         __copysign.
74879         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74880         define aliases when function name is a macro.
74881         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74882         sysdeps/ieee754/dbl-64/sincos.tbl.
74883         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74884         fma4-enabled routines.
74885         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74886         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74887         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74888         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74889         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74890         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74891         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74892         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74893         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74894         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74895         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74896         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74897         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74898         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74899         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74900         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74901         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74902         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74903         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74904         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74905         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74906         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74907         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74908         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74909         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74910         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74911         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74912         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74913         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74914         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74916         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74917         rename.
74918         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74919         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74920         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74921         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74922         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74923         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74924         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74925         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74927 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74929         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74931 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74933         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74935         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74936         prediction.
74937         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74939         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74940         Remove unused variable magic_bits.
74941         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74943         * string/strnlen.c: Define and use STRNLEN macro.
74944         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74945         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74946         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74947         * wcsmbs/wcslen.c: Define and use WCSLEN.
74948         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74949         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74950         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74951         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74952         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74953         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74954         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74956 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74958         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74959         strnlen-sse2-no-bsf.
74960         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74961         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74962         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74963         Add strnlen support.
74964         (USE_AS_STRNLEN): New macro.
74965         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74966         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74967         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74968         * sysdeps/x86_64/wcslen.S: New file.
74970 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74972         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74973         XMM-moves are used for copying on small sizes.
74975 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74977         * wcsmbs/Makefile (strop-tests): Add wcschr.
74978         * wcsmbs/test-wcschr.c: New file.
74979         * string/test-strchr.c: Update.
74980         Add wcschr support.
74981         (WIDE): New macro.
74983 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74985         * wcsmbs/Makefile (strop-tests): Add wcslen.
74986         * wcsmbs/test-wcslen.c: New file.
74987         * string/test-strlen.c: Update.
74988         Add wcslen support.
74989         (WIDE): New macro.
74991 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74993         * po/it.po: Update from translation team.
74995 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74997         * sysdeps/x86_64/wcscmp.S: Update.
74998         Fix wrong comparison semantics.
74999         wcscmp shall use signed comparison not unsigned.
75000         Don't use substraction to avoid overflow bug.
75001         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75002         * wcsmbc/wcscmp.c: Likewise.
75003         * string/test-strcmp.c: Likewise.
75004         Add new tests to check cases with negative values.
75006 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75008         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75009         * sysdeps/x86_64/dla.h: ...here.  New file.
75010         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75011         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75012         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75013         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75014         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75015         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75016         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75017         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75018         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75020 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
75022         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75023         __ynl_finite aliases.
75025 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75027         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75029         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75030         define DLA_FMA.
75031         [DLA_FMA] (EMULV): Use DLA_FMA.
75032         [DLA_FMA] (MUL12): Use EMULV.
75033         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75034         that are not needed.
75035         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75036         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75037         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75038         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75039         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75040         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75041         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75043 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
75045         * math/s_nan.c: Undef __nan.
75046         * math/s_nanf.c: Undef __nanf.
75047         * math/s_nanl.c: Undef __nanl.
75048         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75049         "math_private.h".
75051 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75053         * math/s_catan.c: Add branch predictions.
75054         * math/s_catanf.c: Likewise.
75055         * math/s_catanh.c: Likewise.
75056         * math/s_catanhf.c: Likewise.
75057         * math/s_catanhl.c: Likewise.
75058         * math/s_catanl.c: Likewise.
75059         * math/s_cexp.c: Likewise.
75060         * math/s_cexpf.c: Likewise.
75061         * math/s_cexpl.c: Likewise.
75062         * math/s_clog.c: Likewise.
75063         * math/s_clog10.c: Likewise.
75064         * math/s_clog10f.c: Likewise.
75065         * math/s_clog10l.c: Likewise.
75066         * math/s_clogf.c: Likewise.
75067         * math/s_clogl.c: Likewise.
75068         * math/s_csqrt.c: Likewise.
75069         * math/s_csqrtf.c: Likewise.
75070         * math/s_csqrtl.c: Likewise.
75071         * math/s_ctanf.c: Likewise.
75072         * math/s_ctanh.c: Likewise.
75073         * math/s_ctanhf.c: Likewise.
75074         * math/s_ctanhl.c: Likewise.
75075         * math/s_ctanl.c: Likewise.
75077         * math/math_private.h: Define __nan, __nanf, __nanl.
75078         * math/s_cacosh.c: Include <math_private.h>.
75079         * math/s_cacoshl.c: Likewise.
75080         * math/s_casinh.c: Likewise.
75081         * math/s_casinhf.c: Likewise.
75082         * math/s_casinhl.c: Likewise.
75083         * math/s_ccos.c: Rely entire on ccosh.
75084         * math/s_ccosf.c: Rely entire on ccoshf.
75085         * math/s_ccosl.c: Rely entirely on ccoshl.
75086         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
75087         Remove tests for FE_INVALID.
75088         * math/s_ccoshf.c: Likewise.
75089         * math/s_ccoshl.c: Likewise.
75090         * math/s_csin.c: Likewise.
75091         * math/s_csinf.c: Likewise.
75092         * math/s_csinh.c Likewise.
75093         * math/s_csinhf.c: Likewise.
75094         * math/s_csinhl.c: Likewise.
75095         * math/s_csinl.c: Likewise.
75096         * math/s_ctan.c: Likewise.
75097         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75098         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75099         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75101 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
75103         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75104         compilation problems.
75106         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75107         __builtin_expect.
75109 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
75111         * sysdeps/i386/configure.in: Test for -mfma4 option.
75112         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75113         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75114         COMMON_CPUID_INDEX_80000001.
75115         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75116         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75117         use it if FMA3 is not supported.
75118         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75120         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75121         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75123 2011-10-20  Andreas Schwab  <schwab@redhat.com>
75125         [BZ #12892]
75126         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75127         it would create a cycle with a link time dependency.
75129 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
75131         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75132         instruction.
75133         * string/Makefile (strop-tests): Add rawmemchr.
75134         * string/test-rawmemchr.c: New file.
75136         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75137         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
75138         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
75139         when compiling str{,n}casecmp and when AVX is available.  Hook up
75140         new optimized code in initializers.
75142 2011-10-19  Andreas Schwab  <schwab@redhat.com>
75144         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75145         __feraiseexcept instead of feraiseexcept.
75147 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75149         * math/math_private.h: Define defaults for libc_fetestexcept and
75150         libc_feupdateenv.
75151         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75152         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75153         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75154         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75155         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75156         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75157         libc_fetestexcept and libc_feupdateenv.
75159         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75160         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75161         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75162         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75163         libc_feholdexcept_setround.
75165         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75166         Add s_nearbyint-c and s_nearbyintf-c.
75167         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75168         nearbyintf inlines.
75169         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75170         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75171         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75172         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75174         * math/math_private.h: Define defaults for libc_fegetround,
75175         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75176         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75177         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75178         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75179         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75180         standard functions.
75181         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75182         Remove comments and hacks for old compiler versions.
75183         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75184         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75185         libc_feholdexceptl.
75187 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75189         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75190         (__feraiseexcept_renamed): Add __NTH.
75191         (feraiseexcept): Add __NTH.  Rename local variables to fix
75192         namespace violations.
75194 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75196         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75198         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75200         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75201         recently added interfaces.
75202         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75204         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75205         about macro parameter expansion.
75207         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75208         __NO_MATH_INLINES is defined.  Cleanups.
75210         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75211         and __floorf is target has SSE4.1.
75212         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75213         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75214         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75215         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75217         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75218         name.
75219         (floorf): Likewise.
75221         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75223 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75225         * misc/sys/cdefs.h: Fix last change.
75227         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75228         database lookup.
75230 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75232         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75234         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75235         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75236         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75237         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75238         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75239         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75240         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75241         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75242         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75243         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75244         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75245         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75246         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75247         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75248         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75249         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75250         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75251         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75252         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75253         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75254         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75255         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75257         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75258         ceil, ceilf, floor, floorf.
75260         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75261         Perform IRELATIVE relocations last.
75263         * elf/do-rel.h: Add another parameter nrelative, replacing the
75264         local variable with the same name.  Change name of the function
75265         to end in Rel or Rela (uppercase).
75266         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75267         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75268         elf_dynamic_do_##reloc function.
75270 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75272         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75273         is sufficient, at least on modern CPUs.
75275         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75277         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75278         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75280         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75281         __expl_finite.
75282         * math/bits/math-finite.h: Add entries for exp.
75283         * math/e_expl.c: Add __*_finite alias.
75284         * sysdeps/i386/fpu/e_exp.S: Likewise.
75285         * sysdeps/i386/fpu/e_expf.S: Likewise.
75286         * sysdeps/i386/fpu/e_expl.c: Likewise.
75287         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75288         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75289         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75290         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75291         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75292         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75293         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75295         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75296         is sufficient, at least on modern CPUs.
75298         * ctype/ctype-info.c (__ctype_init): Define.
75299         * include/ctype.h (__ctype_init): Declare.
75300         (__ctype_b_loc): The variable is always initialized.
75301         (__ctype_toupper_loc): Likewise.
75302         (__ctype_tolower_loc): Likewise.
75303         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75304         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75306 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75308         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75310         * configure.in: Also look in $cxxmachine/include for C++ system
75311         headers.
75313 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75315         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75316         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75317         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75318         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75319         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75320         (USE_AS_WMEMCMP): New macro.
75321         Fixing indents.
75322         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75323         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75324         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75325         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75326         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75327         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75328         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75329         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75330         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75331         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75332         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75333         (USE_AS_WMEMCMP): New macro.
75334         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75335         * sysdeps/string/test-memcmp.c: Update.
75336         Fix simple_wmemcmp.
75337         Add new tests.
75338         * wcsmbs/wmemcmp.c: Update.
75339         (WMEMCMP): New macro.
75340         Fix overflow bug.
75342 2011-10-12  Andreas Jaeger  <aj@suse.de>
75344         [BZ #13268]
75345         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75347 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75349         * libio/iofwide.c (do_length): Avoid warning.
75351         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75353 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75355         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75357         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75358         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75359         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75360         * sysdeps/i386/i686/fpu/e_log.S: New file.
75361         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75362         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75364         * ctype/ctype.h: Add support for inlined isXXX functions when
75365         compiling C++ code.
75367 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75369         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75371         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75373 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75375         [BZ #13291]
75376         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75378 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75380         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75381         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75382         feraiseexcept.
75384         * sysdeps/x86_64/memrchr.S: Check for zero size.
75386         * string/stratcliff.c: Add memrchr tests.
75388 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75390         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75391         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75392         rawmemchr-sse2 rawmemchr-sse2-bsf.
75393         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75394         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75395         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75396         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75397         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75398         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75399         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75400         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75401         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75402         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75403         * string/memrchr.c (MEMRCHR): New macro.
75405 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75407         Add integration with gcc's -ffinite-math-only and optimize wrapper
75408         functions in libm.
75409         * Versions.def: Define GLIBC_2.15 version for libm.
75410         * math/Makefile (headers): Add bits/math-finite.h.
75411         * math/bits/math-finite.h: New file.
75412         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75413         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75414         * math/e_acoshl.c: Add __*_finite alias.
75415         * math/e_acosl.c: Likewise.
75416         * math/e_asinl.c: Likewise.
75417         * math/e_atan2l.c: Likewise.
75418         * math/e_atanhl.c: Likewise.
75419         * math/e_coshl.c: Likewise.
75420         * math/e_exp10.c: Likewise.
75421         * math/e_exp10f.c: Likewise.
75422         * math/e_exp10l.c: Likewise.
75423         * math/e_exp2l.c: Likewise.
75424         * math/e_fmodl.c: Likewise.
75425         * math/e_gammal_r.c: Likewise.
75426         * math/e_hypotl.c: Likewise.
75427         * math/e_j0l.c: Likewise.
75428         * math/e_j1l.c: Likewise.
75429         * math/e_jnl.c: Likewise.
75430         * math/e_lgammal_r.c: Likewise.
75431         * math/e_log10l.c: Likewise.
75432         * math/e_log2l.c: Likewise.
75433         * math/e_logl.c: Likewise.
75434         * math/e_powl.c: Likewise.
75435         * math/e_sinhl.c: Likewise.
75436         * math/e_sqrtl.c: Likewise.
75437         * math/e_scalb.c: Completely rewritten and optimized.
75438         * math/e_scalbf.c: Likewise.
75439         * math/e_scalbl.c: Likewise.
75440         * math/w_acos.c: Likewise.
75441         * math/w_acosf.c: Likewise.
75442         * math/w_acosl.c: Likewise.
75443         * math/w_acosh.c: Likewise.
75444         * math/w_acoshf.c: Likewise.
75445         * math/w_acoshl.c: Likewise.
75446         * math/w_asin.c: Likewise.
75447         * math/w_asinf.c: Likewise.
75448         * math/w_asinl.c: Likewise.
75449         * math/w_atan2.c: Likewise.
75450         * math/w_atan2f.c: Likewise.
75451         * math/w_atan2l.c: Likewise.
75452         * math/w_atanh.c: Likewise.
75453         * math/w_atanhf.c: Likewise.
75454         * math/w_atanhl.c: Likewise.
75455         * math/w_exp10.c: Likewise.
75456         * math/w_exp10f.c: Likewise.
75457         * math/w_exp10l.c: Likewise.
75458         * math/w_fmod.c: Likewise.
75459         * math/w_fmodf.c: Likewise.
75460         * math/w_fmodl.c: Likewise.
75461         * math/w_j0.c: Likewise.
75462         * math/w_j0f.c: Likewise.
75463         * math/w_j0l.c: Likewise.
75464         * math/w_j1.c: Likewise.
75465         * math/w_j1f.c: Likewise.
75466         * math/w_j1l.c: Likewise.
75467         * math/w_jn.c: Likewise.
75468         * math/w_jnf.c: Likewise.
75469         * math/w_log.c: Likewise.
75470         * math/w_logf.c: Likewise.
75471         * math/w_logl.c: Likewise.
75472         * math/w_log10.c: Likewise.
75473         * math/w_log10f.c: Likewise.
75474         * math/w_log10l.c: Likewise.
75475         * math/w_log2.c: Likewise.
75476         * math/w_log2f.c: Likewise.
75477         * math/w_log2l.c: Likewise.
75478         * math/w_pow.c: Likewise.
75479         * math/w_powf.c: Likewise.
75480         * math/w_powl.c: Likewise.
75481         * math/w_remainder.c: Likewise.
75482         * math/w_remainderf.c: Likewise.
75483         * math/w_remainderl.c: Likewise.
75484         * math/w_scalb.c: Likewise.
75485         * math/w_scalbf.c: Likewise.
75486         * math/w_scalbl.c: Likewise.
75487         * math/w_sqrt.c: Likewise.
75488         * math/w_sqrtf.c: Likewise.
75489         * math/w_sqrtl.c: Likewise.
75490         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75491         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75492         used.
75493         * math/math_private.h: Declare __kernel_standard_f.
75494         * math/w_cosh.c: Remove cruft and optimize a bit.
75495         * math/w_coshf.c: Likewise.
75496         * math/w_coshl.c: Likewise.
75497         * math/w_exp2.c: Likewise.
75498         * math/w_exp2f.c: Likewise.
75499         * math/w_exp2l.c: Likewise.
75500         * math/w_hypot.c: Likewise.
75501         * math/w_hypotf.c: Likewise.
75502         * math/w_hypotl.c: Likewise.
75503         * math/w_lgamma.c: Likewise.
75504         * math/w_lgamma_r.c: Likewise.
75505         * math/w_lgammaf.c: Likewise.
75506         * math/w_lgammaf_r.c: Likewise.
75507         * math/w_lgammal.c: Likewise.
75508         * math/w_lgammal_r.c: Likewise.
75509         * math/w_sinh.c: Likewise.
75510         * math/w_sinhf.c: Likewise.
75511         * math/w_sinhl.c: Likewise.
75512         * math/w_tgamma.c: Likewise.
75513         * math/w_tgammaf.c: Likewise.
75514         * math/w_tgammal.c: Likewise.
75515         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75516         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75517         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75518         Minor optimizations.  Pretty printing.  Remove cruft.
75519         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75520         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75521         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75522         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75523         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75524         * sysdeps/i386/fpu/e_asin.S: Likewise.
75525         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75526         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75527         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75528         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75529         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75530         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75531         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75532         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75533         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75534         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75535         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75536         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75537         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75538         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75539         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75540         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75541         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75542         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75543         * sysdeps/i386/fpu/e_log.S: Likewise.
75544         * sysdeps/i386/fpu/e_log10.S: Likewise.
75545         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75546         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75547         * sysdeps/i386/fpu/e_log2.S: Likewise.
75548         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75549         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75550         * sysdeps/i386/fpu/e_logf.S: Likewise.
75551         * sysdeps/i386/fpu/e_logl.S: Likewise.
75552         * sysdeps/i386/fpu/e_pow.S: Likewise.
75553         * sysdeps/i386/fpu/e_powf.S: Likewise.
75554         * sysdeps/i386/fpu/e_powl.S: Likewise.
75555         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75556         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75557         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75558         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75559         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75560         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75561         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75562         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75563         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75564         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75565         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75566         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75567         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75568         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75569         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75570         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75571         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75572         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75573         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75574         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75575         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75576         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75577         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75578         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75579         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75580         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75581         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75582         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75583         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75584         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75585         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75586         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75587         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75588         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75589         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75590         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75591         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75592         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75593         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75594         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75595         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75596         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75597         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75598         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75599         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75600         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75601         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75602         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75603         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75604         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75605         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75606         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75607         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75608         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75609         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75610         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75611         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75612         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75613         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75614         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75615         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75616         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75617         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75618         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75619         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75620         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75621         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75622         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75623         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75624         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75625         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75626         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75627         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75628         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75629         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75630         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75631         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75632         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75633         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75634         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75635         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75636         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75637         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75638         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75639         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75640         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75641         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75642         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75643         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75644         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75645         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75646         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75647         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75648         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75649         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75650         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75651         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75652         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75653         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75654         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75655         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75656         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75657         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75658         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75659         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75660         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75661         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75662         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75663         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75664         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75665         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75666         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75667         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75668         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75669         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75670         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75671         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75672         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75673         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75674         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75675         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75676         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75677         (__isnanf): Likewise.
75678         (__isinf_ns): Likewise.
75679         (__isinf_nsf): Likewise.
75680         (__finite): Likewise.
75681         (__finitef): Likewise.
75682         (__ieee754_sqrt): Define as macro.
75683         (__ieee754_sqrtf): Define as macro.
75684         (__ieee754_sqrtl): Define as macro.
75685         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75686         inlined copy.
75687         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75688         __FINITE_MATH_ONLY__ consistent.
75689         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75691 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75693         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75694         of rawmemchr.
75696         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75698 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75700         * po/ja.po: Update from translation team.
75702 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75704         * locale/programs/locarchive.c (prepare_address_space): New function.
75705         (create_archive, enlarge_archive, open_archive): Use it.
75707         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75708         inside [SHARED], where it is used.
75710         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75712         * nss/getent.c (netgroup_keys): Remove unused variable.
75713         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75715 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75717         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75718         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75719         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75720         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75721         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75722         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75723         * math/Makefile (libm-calls): Add s_isinf_ns.
75724         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75725         * math/multc3.c: Likewise.
75726         * math/s_casin.c: Likewise.
75727         * math/s_casinf.c: Likewise.
75728         * math/s_casinl.c: Likewise.
75729         * math/s_ccos.c: Likewise.
75730         * math/s_ccosf.c: Likewise.
75731         * math/s_ccosl.c: Likewise.
75732         * math/s_ctan.c: Likewise.
75733         * math/s_ctanf.c: Likewise.
75734         * math/s_ctanh.c: Likewise.
75735         * math/s_ctanhf.c: Likewise.
75736         * math/s_ctanhl.c: Likewise.
75737         * math/s_ctanl.c: Likewise.
75738         * math/w_fmod.c: Likewise.
75739         * math/w_fmodf.c: Likewise.
75740         * math/w_fmodl.c: Likewise.
75741         * math/w_remainder.c: Likewise.
75742         * math/w_remainderf.c: Likewise.
75743         * math/w_remainderl.c: Likewise.
75744         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75745         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75746         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75747         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75748         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75749         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75750         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75751         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75753         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75754         of the number.
75755         * stdio-common/printf_fphex.c: Likewise.
75756         * stdio-common/printf_size.c: Likewise.
75758         * math/e_exp10.c: Include math_private.h using <...> not "...".
75759         * math/e_exp10f.c: Likewise.
75760         * math/e_exp10l.c: Likewise.
75761         * math/e_exp2l.c: Likewise.
75762         * math/e_j0l.c: Likewise.
75763         * math/e_j1l.c: Likewise.
75764         * math/e_jnl.c: Likewise.
75765         * math/e_lgammal_r.c: Likewise.
75766         * math/e_rem_pio2l.c: Likewise.
75767         * math/e_scalb.c: Likewise.
75768         * math/e_scalbf.c: Likewise.
75769         * math/e_scalbl.c: Likewise.
75770         * math/k_cosl.c: Likewise.
75771         * math/k_sinl.c: Likewise.
75772         * math/k_tanl.c: Likewise.
75773         * math/s_cacoshf.c: Likewise.
75774         * math/s_catan.c: Likewise.
75775         * math/s_catanf.c: Likewise.
75776         * math/s_catanh.c: Likewise.
75777         * math/s_catanhf.c: Likewise.
75778         * math/s_catanhl.c: Likewise.
75779         * math/s_catanl.c: Likewise.
75780         * math/s_ccosh.c: Likewise.
75781         * math/s_ccoshf.c: Likewise.
75782         * math/s_ccoshl.c: Likewise.
75783         * math/s_cexp.c: Likewise.
75784         * math/s_cexpf.c: Likewise.
75785         * math/s_cexpl.c: Likewise.
75786         * math/s_clog.c: Likewise.
75787         * math/s_clog10.c: Likewise.
75788         * math/s_clog10f.c: Likewise.
75789         * math/s_clog10l.c: Likewise.
75790         * math/s_clogf.c: Likewise.
75791         * math/s_clogl.c: Likewise.
75792         * math/s_csin.c: Likewise.
75793         * math/s_csinf.c: Likewise.
75794         * math/s_csinh.c: Likewise.
75795         * math/s_csinhf.c: Likewise.
75796         * math/s_csinhl.c: Likewise.
75797         * math/s_csinl.c: Likewise.
75798         * math/s_csqrt.c: Likewise.
75799         * math/s_csqrtf.c: Likewise.
75800         * math/s_csqrtl.c: Likewise.
75801         * math/s_ctan.c: Likewise.
75802         * math/s_ctanf.c: Likewise.
75803         * math/s_ctanh.c: Likewise.
75804         * math/s_ctanhf.c: Likewise.
75805         * math/s_ctanhl.c: Likewise.
75806         * math/s_ctanl.c: Likewise.
75807         * math/s_ldexp.c: Likewise.
75808         * math/s_ldexpf.c: Likewise.
75809         * math/s_ldexpl.c: Likewise.
75810         * math/s_significand.c: Likewise.
75811         * math/s_significandf.c: Likewise.
75812         * math/s_significandl.c: Likewise.
75813         * math/w_acos.c: Likewise.
75814         * math/w_acosf.c: Likewise.
75815         * math/w_acosh.c: Likewise.
75816         * math/w_acoshf.c: Likewise.
75817         * math/w_acoshl.c: Likewise.
75818         * math/w_acosl.c: Likewise.
75819         * math/w_asin.c: Likewise.
75820         * math/w_asinf.c: Likewise.
75821         * math/w_asinl.c: Likewise.
75822         * math/w_atan2.c: Likewise.
75823         * math/w_atan2f.c: Likewise.
75824         * math/w_atan2l.c: Likewise.
75825         * math/w_atanh.c: Likewise.
75826         * math/w_atanhf.c: Likewise.
75827         * math/w_atanhl.c: Likewise.
75828         * math/w_cosh.c: Likewise.
75829         * math/w_coshf.c: Likewise.
75830         * math/w_coshl.c: Likewise.
75831         * math/w_dremf.c: Likewise.
75832         * math/w_exp10.c: Likewise.
75833         * math/w_exp10f.c: Likewise.
75834         * math/w_exp10l.c: Likewise.
75835         * math/w_exp2.c: Likewise.
75836         * math/w_exp2f.c: Likewise.
75837         * math/w_fmod.c: Likewise.
75838         * math/w_fmodf.c: Likewise.
75839         * math/w_fmodl.c: Likewise.
75840         * math/w_hypot.c: Likewise.
75841         * math/w_hypotf.c: Likewise.
75842         * math/w_hypotl.c: Likewise.
75843         * math/w_j0.c: Likewise.
75844         * math/w_j0f.c: Likewise.
75845         * math/w_j0l.c: Likewise.
75846         * math/w_j1.c: Likewise.
75847         * math/w_j1f.c: Likewise.
75848         * math/w_j1l.c: Likewise.
75849         * math/w_jn.c: Likewise.
75850         * math/w_jnf.c: Likewise.
75851         * math/w_jnl.c: Likewise.
75852         * math/w_lgamma.c: Likewise.
75853         * math/w_lgamma_r.c: Likewise.
75854         * math/w_lgammaf.c: Likewise.
75855         * math/w_lgammaf_r.c: Likewise.
75856         * math/w_lgammal.c: Likewise.
75857         * math/w_lgammal_r.c: Likewise.
75858         * math/w_log.c: Likewise.
75859         * math/w_log10.c: Likewise.
75860         * math/w_log10f.c: Likewise.
75861         * math/w_log10l.c: Likewise.
75862         * math/w_log2.c: Likewise.
75863         * math/w_log2f.c: Likewise.
75864         * math/w_log2l.c: Likewise.
75865         * math/w_logf.c: Likewise.
75866         * math/w_logl.c: Likewise.
75867         * math/w_pow.c: Likewise.
75868         * math/w_powf.c: Likewise.
75869         * math/w_powl.c: Likewise.
75870         * math/w_remainder.c: Likewise.
75871         * math/w_remainderf.c: Likewise.
75872         * math/w_remainderl.c: Likewise.
75873         * math/w_scalb.c: Likewise.
75874         * math/w_scalbf.c: Likewise.
75875         * math/w_scalbl.c: Likewise.
75876         * math/w_sinh.c: Likewise.
75877         * math/w_sinhf.c: Likewise.
75878         * math/w_sinhl.c: Likewise.
75879         * math/w_sqrt.c: Likewise.
75880         * math/w_sqrtf.c: Likewise.
75881         * math/w_sqrtl.c: Likewise.
75882         * math/w_tgamma.c: Likewise.
75883         * math/w_tgammaf.c: Likewise.
75884         * math/w_tgammal.c: Likewise.
75886         * po/ja.po: Update from translation team.
75888 2011-09-29  Andreas Jaeger  <aj@suse.de>
75890         [BZ #13179]
75891         * sunrpc/netname.c (netname2host): Fix logic.
75893         [BZ #6779]
75894         [BZ #6783]
75895         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75896         correctly.
75897         * math/w_remainder.c (__remainder): Likewise.
75898         * math/w_remainderf.c (__remainderf): Likewise.
75899         * math/libm-test.inc (remainder_test): Add test cases.
75901 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75903         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75904         sdiv_qrnnd.
75906 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75908         * string/test-memcmp.c: Avoid unncessary #defines.
75909         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75911 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75913         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75914         Use new sse2 version for core i3 - i7 as it's faster
75915         than sse42 version.
75916         (bit_Prefer_PMINUB_for_stringop): New.
75917         * sysdeps/x86_64/rawmemchr.S: Update.
75918         Replace with faster SSE2 version.
75919         * sysdeps/x86_64/memrchr.S: New file.
75920         * sysdeps/x86_64/memchr.S: Update.
75921         Replace with faster SSE2 version.
75923 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75925         * elf/dl-load.c (lose): Add cast to avoid warning.
75927 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75929         * po/ca.po: Update from translation team.
75931         * inet/getnetgrent_r.c: Hook up nscd.
75932         * nscd/Makefile (routines): Add nscd_netgroup.
75933         (nscd-modules): Add netgroupcache.
75934         (CFLAGS-netgroupcache.c): Define.
75935         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75936         (cache_search): Add const to second parameter.
75937         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75938         INNETGR.
75939         (dbs): Add netgrdb entry.
75940         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75941         (verify_persistent_db): Handle netgrdb.
75942         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75943         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75944         GETFDNETGR.
75945         (netgroup_response_header): Define.
75946         (innetgroup_response_header): Define.
75947         (datahead): Add netgroup_response_header and innetgroup_response_header
75948         elements.
75949         * nscd/nscd.conf: Add entries for netgroup cache.
75950         * nscd/nscd.h (dbtype): Add netgrdb.
75951         (_PATH_NSCD_NETGROUP_DB): Define.
75952         (netgroup_iov_disabled): Declare.
75953         (xmalloc, xcalloc, xrealloc): Move declarations here.
75954         (cache_search): Adjust prototype.
75955         Add netgroup-related prototypes.
75956         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75957         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75958         (__nscd_innetgr): Declare.
75959         * nscd/selinux.c (perms): Use access_vector_t as element type and
75960         add netgroup-related initializers.
75961         * nscd/netgroupcache.c: New file.
75962         * nscd/nscd_netgroup.c: New file.
75963         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75964         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75965         For four parameters use innetgr.
75966         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75967         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75968         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75969         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75971         * nscd/connections.c (register_traced_file): Don't register file
75972         for disabled databases.
75974 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75976         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75978         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75979         from tree and freeing node.
75981 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75983         * nss/nsswitch.c (__nss_database_lookup): Handle
75984         nss_parse_service_list out of memory case.
75986 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75988         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75989         out of memory case.
75991 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75993         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75994         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75995         pass it down.
75996         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75997         elf_machine_rela, elf_machine_lazy_rel.
75998         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75999         (ELF_DYNAMIC_DO_REL): Likewise.
76000         (ELF_DYNAMIC_DO_RELA): Likewise.
76001         (ELF_DYNAMIC_RELOCATE): Likewise.
76002         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76003         to ELF_DYNAMIC_DO_REL.
76004         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76005         (dl_main): In trace mode always set __RTLD_NOIFUNC.
76006         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76007         elf_machine_rela.
76008         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76009         skip_ifunc, don't call ifunc function if non-zero.
76010         (elf_machine_rela): Likewise.
76011         (elf_machine_lazy_rel): Likewise.
76012         (elf_machine_lazy_rela): Likewise.
76013         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76014         (elf_machine_lazy_rel): Likewise.
76015         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76016         Likewise.
76017         (elf_machine_lazy_rel): Likewise.
76018         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76019         Likewise.
76020         (elf_machine_lazy_rel): Likewise.
76021         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76022         (elf_machine_lazy_rel): Likewise.
76023         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76024         (elf_machine_lazy_rel): Likewise.
76025         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76026         (elf_machine_lazy_rel): Likewise.
76027         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76028         (elf_machine_lazy_rel): Likewise.
76029         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76030         (elf_machine_lazy_rel): Likewise.
76031         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76032         (elf_machine_lazy_rel): Likewise.
76034 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
76036         * nss/nss_files/files-init.c (_nss_files_init): Use static
76037         initialization for all the *_traced_file variables.
76039 2011-09-28  Andreas Schwab  <schwab@redhat.com>
76041         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76043 2011-09-27  Roland McGrath  <roland@hack.frob.com>
76045         [BZ #13226]
76046         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76048 2011-09-27  Andreas Schwab  <schwab@redhat.com>
76050         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76051         Reread the line before reparsing it.
76053 2011-09-26  Andreas Schwab  <schwab@redhat.com>
76055         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76057 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
76058             Maxim Kuvyrkov  <maxim@codesourcery.com>
76059             Joseph Myers  <joseph@codesourcery.com>
76061         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76062         if needed for __stack_chk_guard.
76064 2011-09-19  Roland McGrath  <roland@hack.frob.com>
76066         * sysdeps/posix/spawni.c (script_execute): Always define it.
76067         It will be optimized away if unused.
76068         (maybe_script_execute): New function.
76069         (__spawni): Call it.
76071         * Makerules: Don't include tls.make.
76072         (config-tls): Always set to thread.
76073         * tls.make.c: File removed.
76075 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
76077         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76078         * config.make.in (CPPFLAGS-config): New substituted variable.
76080 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76082         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76084         [BZ #13192]
76085         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76086         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76088 2011-09-15  Roland McGrath  <roland@hack.frob.com>
76090         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76091         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76092         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76093         (CALL_FAIL): Likewise.
76094         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76095         (CALL_FAIL): Macro removed.
76096         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76098 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76100         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76101         for __FINITE_MATH_ONLY__ == 1.
76103 2011-09-15  Andreas Schwab  <schwab@redhat.com>
76105         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76106         __ieee754_sqrt instead of sqrt.
76107         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76108         __ieee754_sqrtf instead of sqrtf.
76109         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76110         __floorf instead of floorf.
76111         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76112         __floorf, __truncf instead of floorf, truncf.
76114 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
76116         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76118         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76119         __extern_always_inline.
76120         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76121         32-bit.
76123 2011-09-14  Andreas Schwab  <schwab@redhat.com>
76125         * elf/rtld.c (dl_main): Also relocate in dependency order when
76126         doing symbol dependency testing.
76128 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
76130         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76131         Always define `refsym'.
76133 2011-09-13  Andreas Schwab  <schwab@redhat.com>
76135         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76136         (__FD_ELT): Renamed from __FDELT.
76137         * misc/bits/select2.h (__FD_ELT): Likewise.
76138         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76139         __FD_MASK instead of __FDELT, __FDMASK.
76140         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76141         Likewise.
76142         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76143         Likewise.
76145         * elf/Makefile (gen-ldd): Fix pattern.
76147         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76148         (init_tls): Likewise.
76150 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76152         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76154 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76156         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76157         `struct cmsghdr *' instead of `void *'.
76158         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76159         Likewise.
76161 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76163         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76164         if non-absolute.
76165         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76166         ldd_rewrite_script.
76168 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76170         * configure.in: Remove --with-tls option.
76171         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76172         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76173         out in case it is missing.
76174         * sysdeps/ia64/elf/configure.in: Likewise.
76175         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76176         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76177         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76178         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76179         * sysdeps/sh/elf/configure.in: Likewise.
76180         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76181         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76182         * sysdeps/x86_64/elf/configure.in: Likewise.
76183         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76184         * sysdeps/mach/hurd/tls.h: Likewise.
76186         [BZ #13067]
76187         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76189         [BZ #13090]
76190         * configure.in: Fix use of AC_INIT.
76192         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76194 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76196         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76197         __set_errno.
76198         * malloc/hooks.c: Likewise.
76200         [BZ #11929]
76201         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76202         variables statically.
76203         (narenas): Initialize.
76204         (list_lock): Initialize.
76205         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76206         initializtion of main_arena and list_lock.  Small cleanups.
76207         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76208         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76209         Add initializers to main_arena and mp_.
76210         (malloc_state): Remove pagesize member.  Change all users to use
76211         GLRO(dl_pagesize).
76213         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76214         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76215         is always initialized.
76217         * malloc/malloc.c: Removed unused configurations and dead code.
76218         * malloc/arena.c: Likewise.
76219         * malloc/hooks.c: Likewise.
76220         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76222         * include/tls.h: Removed.  USE___THREAD must always be defined.
76223         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76224         * elf/dl-libc.c: Likewise.
76225         * elf/dl-tsd.c: Likewise.
76226         * include/errno.h: Likewise.
76227         * include/netdb.h: Likewise.
76228         * include/resolv.h: Likewise.
76229         * inet/herrno-loc.c: Likewise.
76230         * inet/herrno.c: Likewise.
76231         * malloc/arena.c: Likewise.
76232         * malloc/hooks.c: Likewise.
76233         * malloc/malloc.c: Likewise.
76234         * resolv/res-state.c: Likewise.
76235         * resolv/res_libc.c: Likewise.
76236         * sysdeps/i386/dl-machine.h: Likewise.
76237         * sysdeps/ia64/dl-machine.h: Likewise.
76238         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76239         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76240         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76241         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76242         * sysdeps/sh/dl-machine.h: Likewise.
76243         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76244         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76245         * sysdeps/unix/i386/sysdep.S: Likewise.
76246         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76247         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76248         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76249         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76250         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76251         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76252         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76253         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76254         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76255         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76256         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76257         * sysdeps/x86_64/dl-machine.h: Likewise.
76258         * tls.make.c: Likewise.
76260         * configure.in: Remove --with-__thread option.  Make tests for
76261         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76262         tls_model attribute fail if no support is available.  Remove
76263         USE_IN_LIBIO.
76264         * Makeconfig: Adjust for dropped configure option.  All features are
76265         now mandatory.
76266         * Makerules: Likewise.
76267         * Versions.def: Likewise.
76268         * argp/argp-fmtstream.c: Likewise.
76269         * argp/argp-fmtstream.h: Likewise.
76270         * argp/argp-help.c: Likewise.
76271         * assert/assert.c: Likewise.
76272         * config.h.in: Likewise.
76273         * config.make.in: Likewise.
76274         * configure: Likewise.
76275         * configure.in: Likewise.
76276         * csu/Versions: Likewise.
76277         * csu/init.c: Likewise.
76278         * elf/tst-audit2.c: Likewise.
76279         * elf/tst-tls10.c: Likewise.
76280         * elf/tst-tls10.h: Likewise.
76281         * elf/tst-tls11.c: Likewise.
76282         * elf/tst-tls12.c: Likewise.
76283         * elf/tst-tls14.c: Likewise.
76284         * elf/tst-tlsmod11.c: Likewise.
76285         * elf/tst-tlsmod12.c: Likewise.
76286         * elf/tst-tlsmod13.c: Likewise.
76287         * elf/tst-tlsmod13a.c: Likewise.
76288         * elf/tst-tlsmod14a.c: Likewise.
76289         * elf/tst-tlsmod15b.c: Likewise.
76290         * elf/tst-tlsmod16a.c: Likewise.
76291         * elf/tst-tlsmod16b.c: Likewise.
76292         * elf/tst-tlsmod7.c: Likewise.
76293         * elf/tst-tlsmod8.c: Likewise.
76294         * elf/tst-tlsmod9.c: Likewise.
76295         * gmon/gmon.c: Likewise.
76296         * grp/fgetgrent_r.c: Likewise.
76297         * grp/putgrent.c: Likewise.
76298         * hurd/fopenport.c: Likewise.
76299         * include/libc-symbols.h: Likewise.
76300         * include/tls.h: Likewise.
76301         * intl/gettextP.h: Likewise.
76302         * intl/loadinfo.h: Likewise.
76303         * locale/global-locale.c: Likewise.
76304         * locale/localeinfo.h: Likewise.
76305         * mach/devstream.c: Likewise.
76306         * malloc/arena.c: Likewise.
76307         * malloc/set-freeres.c: Likewise.
76308         * misc/err.c: Likewise.
76309         * misc/getttyent.c: Likewise.
76310         * misc/mntent_r.c: Likewise.
76311         * posix/getopt.c: Likewise.
76312         * posix/wordexp.c: Likewise.
76313         * pwd/fgetpwent_r.c: Likewise.
76314         * resolv/Versions: Likewise.
76315         * resolv/res_hconf.c: Likewise.
76316         * shadow/fgetspent_r.c: Likewise.
76317         * shadow/putspent.c: Likewise.
76318         * stdio-common/printf_fphex.c: Likewise.
76319         * stdio-common/tmpfile.c: Likewise.
76320         * stdlib/abort.c: Likewise.
76321         * stdlib/fmtmsg.c: Likewise.
76322         * sunrpc/auth_unix.c: Likewise.
76323         * sunrpc/clnt_perr.c: Likewise.
76324         * sunrpc/clnt_tcp.c: Likewise.
76325         * sunrpc/clnt_udp.c: Likewise.
76326         * sunrpc/clnt_unix.c: Likewise.
76327         * sunrpc/openchild.c: Likewise.
76328         * sunrpc/svc_simple.c: Likewise.
76329         * sunrpc/svc_tcp.c: Likewise.
76330         * sunrpc/svc_udp.c: Likewise.
76331         * sunrpc/svc_unix.c: Likewise.
76332         * sunrpc/xdr.c: Likewise.
76333         * sunrpc/xdr_array.c: Likewise.
76334         * sunrpc/xdr_rec.c: Likewise.
76335         * sunrpc/xdr_ref.c: Likewise.
76336         * sunrpc/xdr_stdio.c: Likewise.
76338 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76340         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76342 2011-07-03  Andreas Jaeger  <aj@suse.de>
76344         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76345         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76346         regenerate with gen-libm-tests.pl.
76348 2010-05-12  Petr Baudis  <pasky@suse.cz>
76350         [BZ #11589]
76351         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76352         around j0() zero points by switching to j1().
76353         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76354         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76355         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76356         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76358 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76360         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76361         instead of 0.
76362         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76363         instead of 0.
76364         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76365         Patch in part by Pavel Roskin <proski@gnu.org>.
76367         [BZ #13138]
76368         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76369         realloc.
76370         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76371         Free memory block if necessary.
76373         [BZ #12847]
76374         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76375         be NULL.  Don't lock in this case.
76377 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76379         * elf/elf.h (ELFOSABI_GNU): New macro.
76380         (ELFOSABI_LINUX): Define to that.
76382 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76384         * string/strncat.c (strncat): Undef the symbol in case it has been
76385         defined in bits/string.h.
76387 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76389         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76391         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76392         link map.
76394 2011-08-17  Andreas Jaeger  <aj@suse.de>
76396         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76398 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76399             Ian Lance Taylor  <iant@google.com>
76401         * math/libm-test.inc (lround_test): New testcase.
76402         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76404 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76406         * Makefile: Remove support for automatic cvs check-ins.
76407         * Makerules: Likewise.
76408         * config.make.in: Likewise.
76409         * configure.in: Likewise.
76410         * intl/Makefile: Likewise.
76411         * locale/Makefile: Likewise.
76412         * po/Makefile: Likewise.
76413         * posix/Makefile: Likewise.
76414         * sysdeps/gnu/Makefile: Likewise.
76415         * sysdeps/mach/hurd/Makefile: Likewise.
76416         * sysdeps/sparc/sparc32/Makefile: Likewise.
76418         [BZ #13118]
76419         * posix/Makefile (bug-regex32-ENV): Define.
76420         Patch by John Stanley <jpsinthemix@verizon.net>.
76422         * misc/Makefile (headers): Add bits/select2.h.
76423         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76424         * misc/bits/select2.h: New file.
76425         * include/bits/select2.h: New file.
76426         * debug/Makefile (routines): Add fdelt_chk.
76427         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76428         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76429         FD_ISSET.
76430         * debug/fdelt_chk.c: New file.
76432         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76433         * wcsmbs/test-wmemcmp.c: Likewise.
76434         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76435         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76437 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76439         * string/Makefile (strop-tests): Add memcmp.
76440         * string/test-wmemcmp.c: New file.
76441         * string/test-memcmp.c: Add wmemcmp support.
76443 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76445         [BZ #13153]
76446         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76447         2011-07-19 change.
76449         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76450         garbage value in a __mach_port_mod_refs call in the cases of the
76451         task-self and thread-self ports.
76453 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76455         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76457 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76459         * elf/dl-load.c (lose): Check for non-null L.
76461 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76463         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76465         * elf/dl-libc.c (dlerror_run): Pass back error code from
76466         dl_catch_error.
76468         [BZ #13123]
76469         * elf/dl-load.c (lose): Free l_origin if it is valid.
76471         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76472         names.
76473         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76474         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76475         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76476         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76477         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76478         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76480 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76482         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76483         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76484         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76485         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76486         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76487         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76488         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76489         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76490         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76491         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76493 2011-08-15  Alan Modra  <amodra@gmail.com>
76495         [BZ #13092]
76496         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76497         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76498         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76499         ppc_mcount to static-only-routines.
76500         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76501         __mcount_internal.
76502         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76503         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76505 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76507         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76508         for finite and infinity parameters.
76510 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76512         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76513         and add nop instructions for throughput optimization.
76514         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76516 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76518         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76519         aligned copy for power7 with vector-scalar instructions.
76520         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76522 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76524         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76525         AVX check.
76527 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76529         [BZ #13144]
76530         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76531         last change.
76533 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76535         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76536         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76537         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76538         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76539         clock_gettime.
76541 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76543         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76544         Forgot to demangle the pointer.
76546         * sysdeps/i386/sysdep.h: Define atom_text_section.
76547         * sysdeps/x86_64/sysdep.h: Likewise.
76548         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76549         section with atom_text_section.
76550         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76551         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76552         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76553         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76554         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76556         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76557         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76558         already be defined.  Change to take two parameters and don't assign
76559         result to variable.  Adjust all users.
76560         Define INTERNAL_GETTIME if not already defined.
76561         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76562         call.
76563         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76564         HAVE_CLOCK_GETTIME_VSYSCALL.
76565         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76567         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76568         gettimeofday vsyscall, just use time.
76570 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76572         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76573         <errno.h>.
76575 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76577         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76578         syscall on x86-64.
76579         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76580         syscall.
76581         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76582         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76583         syscall if possible.
76585 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76587         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76588         e_ident.  Don't pass to find_mapsXX.
76589         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76591 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76593         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76594         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76595         * sysdeps/x86_64/multiarch/strchr.S: Update.
76596         Check bit_slow_BSF bit.
76597         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76598         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76599         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76601 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76603         [BZ #13134]
76604         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76605         before glibc 2.15.
76606         (tryshell): Define.
76607         (__spawni): Change last parameter to be flag.  Test
76608         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76609         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76610         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76611         * posix/spawni.c: Likewise.
76612         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76613         * posix/spawnp.c: Likewise.  Change normal version to use
76614         SPAWN_XFLAGS_USE_PATH.
76615         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76616         SPAWN_XFLAGS_TRY_SHELL.
76618         [BZ #13150]
76619         * posix/glob.h: Remove gcc 1.x support.
76621         [BZ #13068]
76622         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76624 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76626         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76627         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76628         strrchr-sse2-bsf
76629         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76630         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76631         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76632         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76633         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76634         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76636 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76638         * sysdeps/x86_64/wcscmp.S: New file.
76640         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76641         wcscmp-c wcscmp-sse2
76642         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76643         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76644         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76645         * wcsmbs/wcscmp.c: Allow renaming.
76647 2011-09-05  David S. Miller  <davem@davemloft.net>
76649         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76650         stack slot, rather than the struct return pointer slot.
76651         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76652         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76654         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76656 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76658         * po/ja.po: Update from translation team.
76660         [BZ #13144]
76661         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76662         kernel in 64-bit binaries.
76664 2011-09-01  David S. Miller  <davem@davemloft.net>
76666         * elf/elf.h (HWCAP_SPARC_*): Move to..
76667         * sysdeps/sparc/sysdep.h: this new file and add new values.
76668         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76669         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76670         _DL_HWCAP_COUNT to 24.
76671         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76672         entries.
76673         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76674         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76675         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76676         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76677         instead of magic constants.
76678         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76680 2011-08-31  David S. Miller  <davem@davemloft.net>
76682         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76683         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76684         Reimplement to do errno handling inline.
76685         (SYSCALL_ERROR_HANDLER): New macro.
76686         (__SYSCALL_STRING): Do not do errno handling in asm.
76687         (__CLONE_SYSCALL_STRING): Delete.
76688         (__INTERNAL_SYSCALL_STRING): Delete.
76689         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76690         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76691         (PSEUDO): Reimplement to do errno handling inline.
76692         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76693         (SYSCALL_ERROR_HANDLER): New macro.
76694         (__SYSCALL_STRING): Do not do errno handling in asm.
76695         (__CLONE_SYSCALL_STRING): Delete.
76696         (__INTERNAL_SYSCALL_STRING): Delete.
76697         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76698         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76699         i386.
76700         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76701         (inline_syscall*): Add 'err' argument.
76702         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76703         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76704         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76705         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76707         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76708         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76710 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76712         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76714 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76716         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76717         directive.
76719 2011-08-24  David S. Miller  <davem@davemloft.net>
76721         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76723 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76725         * elf/Makefile: Add rules to build and run unload8 test.
76726         * elf/unload8.c: New file.
76727         * elf/unload8mod1.c: New file.
76728         * elf/unload8mod1x.c: New file.
76729         * elf/unload8mod2.c: New file.
76730         * elf/unload8mod3.c: New file.
76732         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76733         it wasn't used.
76735 2011-08-23  David S. Miller  <davem@davemloft.net>
76737         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76738         subtract stack bias.
76739         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76740         %sp not %fp in calculations.
76741         (_JMPBUF_UNWINDS_ADJ): Likewise.
76743         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76744         (aio_suspend): Call it to force an exception region around the
76745         AIO_MISC_WAIT() invocation.
76747 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76749         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76750         backslash.
76752 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76754         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76755         protection macro.
76756         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76757         and <dl-machine.h>.
76758         (Elf64_FuncDesc): Remove.
76760 2011-08-22  David S. Miller  <davem@davemloft.net>
76762         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76763         sigaltstack check, add missing cfi directives.
76764         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76765         missing cfi directives, and sigaltstack handling.
76767 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76769         [BZ #11724]
76770         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76771         object is seen twice.
76772         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76774         * elf/Makefile (distribute): Add tst-initorder2.c.
76775         (tests): Add tst-initorder2.
76776         (modules-names): Add tst-initorder2a tst-initorder2b
76777         tst-initorder2c tst-initorder2d.  Add rules to build them.
76778         ($(objpfx)tst-initorder2.out): New rule.
76779         * elf/tst-initorder2.c: New file.
76780         * elf/tst-initorder2.exp: New file.
76782 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76784         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76786         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76787         dependencies back to end of function.
76789         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76790         $(elfobjdir)/ld.so.
76792 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76794         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76795         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76796         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76797         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76798         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76799         of __vdso_gettimeofday.
76800         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76801         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76802         attribute_hidden.
76803         (_libc_vdso_platform_setup): Remove initialization of
76804         __vdso_gettimeofday and __vdso_time.
76806 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76808         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76809         and fgetc_unlocked.
76810         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76811         getc_unlocked.
76813         * elf/dl-open.c (add_to_global): Report additions to the global scope
76814         for LD_DEBUG=scopes.
76815         (dl_open_worker): Also print scope of newly loaded dependencies.
76816         (_dl_show_scope): Indicate if there is no scope.
76818         [BZ #13114]
76819         * stdio-common/Makefile (tests): Add bug24.
76820         * stdio-common/bug24.c: New file.
76822 2011-08-19  Andreas Jaeger  <aj@suse.de>
76824         [BZ #13114]
76825         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76826         non-existant file when using close-on-exec mode.
76828 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76830         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76831         the very first instruction.
76833         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76834         the CFI state in the end.
76835         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76836         inclusion of dl-trampoline.h.
76837         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76839 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76841         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76842         expectations for long double.
76844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76845         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76847 2011-08-14  David S. Miller  <davem@davemloft.net>
76849         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76850         artificual limit depends upon the system page size.
76852 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76854         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76855         * resolv/Makefile: Define CFLAGS-libresolv.
76857 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76859         * nss/makedb.c (compute_tables): Make variables used in nested
76860         function static.
76862 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76864         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76865         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76866         if buffer was too small.
76868         * elf/pldd.c (main): Attach to all threads in the process.
76869         Rewrite /proc handling to use *at functions.
76871 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76873         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76874         specifies first scope to show.
76875         (dl_open_worker): Update callers.  Move printing scope of new
76876         object to before the relocation.
76877         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76878         * sysdeps/generic/ldsodefs.h: Update declaration.
76880         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76881         string for the scope number.
76883 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76885         * nscd/servicescache.c (cache_addserv): Make sure written is always
76886         initialized.
76888 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76890         * sysdeps/i386/i486/bits/atomic.h
76891         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76892         statement expression, so as to suppress "set but not used" warning.
76893         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76895         * string/strncat.c (STRNCAT): Use prototype definition.
76897         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76898         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76899         -Iprograms here.
76900         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76901         (localedef-modules): Add localedef.
76902         (locale-modules): Add locale.
76904         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76905         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76906         to avoid a warning.
76908 2011-08-14  David S. Miller  <davem@davemloft.net>
76910         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76911         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76913 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76915         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76916         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76917         * elf/rtld.c (dl_main): Set l_name of vDSO.
76918         Call _dl_show_scope when DL_DEBUG_SCOPES.
76919         (process_dl_debug): Recognize scopes flag and also set it for all.
76920         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76921         Declare _dl_show_scope.
76923         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76924         (do_dlopen): Pass caller_dlopen to dl_open.
76925         (__libc_dlopen_mode): Initialize caller_dlopen.
76927         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76928         of libc.  Make tolower call locale-independent.  Optimize a bit by
76929         using isdigit instead of isalnum.
76930         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76932 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76934         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76935         was a dependency or dynamically loaded.
76937 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76939         * intl/l10nflist.c: Allow architecture-specific pop function.
76940         * sysdeps/x86_64/l10nflist.c: New file.
76942         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76943         classification.
76945 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76947         * include/dirent.h: Add libc_hidden_proto for scandirat and
76948         scandirat64.  Don't declare __scandirat64.
76949         * dirent/scandirat.c: Add libc_hidden_def.
76950         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76951         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76953 2011-08-10  David S. Miller  <davem@davemloft.net>
76955         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76956         enum.
76957         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76958         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76959         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76961 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76963         * Versions.def [libc]: Add GLIBC_2.15.
76964         * dirent/Makefile (routines): Add scandirat and scandirat64.
76965         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76966         GLIBC_2.15.
76967         * dirent/dirent.h: Declare scandirat and scandirat64.
76968         * dirent/scandirat.c: New file.
76969         * dirent/scandirat64.c: New file.
76970         * sysdeps/wordsize-64/scandirat.c: New file.
76971         * sysdeps/wordsize-64/scandirat64.c: New file.
76972         * dirent/opendir.c: Define opendirat.
76973         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76974         using scandirat.
76975         * dirent/scandir64.c: Adjust for scandir.c change.
76976         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76977         __scandirat64, and __scandir_cancel_handler.
76978         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76979         additional parameter and use openat instead of open (outside of ld.so).
76980         Add new __opendir as wrapper around __opendirat.
76981         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76982         here without requiring old scandirat implementation.
76984 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76986         * dirent/scandir.c (cancel_handler): Renamed to
76987         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76988         defined.  Adjust users.
76989         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76990         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76992 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76994         * string/test-string.h (IMPL): Use __STRING to expand name and then
76995         stringify it.
76997         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76998         of cleanups.
77000 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77002         * string/Makefile: Update.
77003         (strop-tests): Append strncat.
77004         * string/test-wcscmp.c: New file.
77005         New comprehensive test for wcscmp.
77006         * string/test-strcmp.c: Update.
77007         (WIDE): New define.
77009 2011-07-22  Andreas Schwab  <schwab@redhat.com>
77011         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77012         line.
77014 2011-07-26  Andreas Schwab  <schwab@redhat.com>
77016         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77017         encoding to ACE if AI_IDN.
77019 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
77021         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77022         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77024 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77026         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77027         Fix overflow bug in strncat.
77028         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77030         * string/test-strncat.c: Update.
77031         Add new tests for checking overflow bugs.
77033 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77035         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77036         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77037         * sysdeps/i386/i686/multiarch/strcat.S: New file.
77038         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77039         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77040         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77041         * sysdeps/i386/i686/multiarch/strncat.S: New file.
77042         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77043         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77045         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77046         (USE_AS_STRCAT): Define.
77047         Add strcat and strncat support.
77048         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77050 2011-07-25  Andreas Schwab  <schwab@redhat.com>
77052         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77053         __n bigger than INT_MAX+1.
77054         (__strncmp_g): Likewise.
77056 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
77058         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77059         * libio/stido.h: Likewise.
77061         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77062         (AF_NFC): Define.
77063         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77064         (AF_NFC): Define.
77066         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77067         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77068         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77069         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77070         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77072         [BZ #13021]
77073         * scripts/test-installation.pl: Don't expect libnss_test1 to be
77074         installed.
77076         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77077         typo.
77078         (_dl_x86_64_save_sse): Likewise.
77080 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
77082         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77083         OSXSAVE.
77084         (_dl_x86_64_save_sse): Likewise.
77086         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77088         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77090 2011-07-21  Andreas Schwab  <schwab@redhat.com>
77092         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77093         change.
77094         (_dl_x86_64_save_sse): Use correct AVX check.
77096 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77098         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77099         bug in strncpy/strncat.
77100         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77102 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
77104         * string/tester.c (test_strcat): Add tests for different alignments
77105         of source and destination.
77106         (test_strncat): Likewise.
77108 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77110         [BZ #12852]
77111         * posix/glob.c (glob): Check passed in values before using them in
77112         expressions to avoid some overflows.
77113         (glob_in_dir): Likewise.
77115         [BZ #13007]
77116         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77117         check for AVX enablement so that we don't crash with old kernels and
77118         new hardware.
77119         * elf/tst-audit4.c: Add same checks here.
77120         * elf/tst-audit6.c: Likewise.
77122         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77124 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
77126         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77128 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77130         * po/cs.po: Update from translation team.
77131         * po/bg.po: Likewise.
77133 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
77135         * misc/sys/cdefs.h: Add support for const attribute.
77136         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77137         to gnu_dev_{major,minor,makedev} functions.
77139 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
77141         * intl/dcigettext.c (get_output_charset): Add missing bracket.
77143 2011-07-20  Andreas Schwab  <schwab@redhat.com>
77145         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77146         strlen results.
77148 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77150         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77151         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77152         register in order to avoid conflicts with the soft frame pointer
77153         being held in r11 when necessary.
77154         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77155         (INTERNAL_VSYSCALL_NCS): Likewise.
77157 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77159         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77160         * elf/dl-fini.c (_dl_fini): Adjust caller.
77161         * elf/dl-close.c (_dl_close_worker): Likewise.
77162         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77164 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77166         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77167         "aux_cache->nlibs < 0".
77169         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77170         in the reload-count case.
77172 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77174         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77175         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77176         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77177         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77178         * sysdeps/x86_64/multiarch/strcat.S: New file.
77179         * sysdeps/x86_64/multiarch/strncat.S: New file.
77180         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77181         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77182         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77183         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77184         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77185         (USE_AS_STRCAT): Define.
77186         Add strcat and strncat support.
77187         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77188         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77189         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77190         * string/strncat.c: Update.
77191         (USE_AS_STRNCAT): Define.
77192         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77193         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77194         and i7.
77195         * sysdeps/x86_64/multiarch/init-arch.h
77196         (bit_Prefer_PMINUB_for_stringop): New.
77197         (index_Prefer_PMINUB_for_stringop): Likewise.
77198         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77199         bit_Prefer_PMINUB_for_stringop.
77201 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77203         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77204         buffer64.
77205         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77206         of casting of buffer.
77207         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77208         buffer32 and buffer64.
77209         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77210         writes instead of casting of buffer.
77211         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77212         buffer32.
77213         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77214         casting of buffer.
77216 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77218         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77220 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77222         * nscd/nscd.c (termination_handler): Don't do anything for a database
77223         if it has not yet been initialized.
77225 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77227         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77229 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77231         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77233 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77235         * po/nl.po: Update from translation team.
77236         * po/sv.po: Likewise.
77238 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77240         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77241         now disallowed by GCC.
77243         * configure.in (use-default-link): Default to yes if a test -shared
77244         link meets our qualifications.
77245         * configure: Regenerated.
77247         * config.make.in (output-format): New variable.
77248         * configure.in: Check for ld --print-output-format support.
77249         * configure: Regenerated.
77250         * Makerules ($(common-objpfx)format.lds)
77251         [$(output-format) != unknown]: Just use $(output-format),
77252         instead of the linker-script munging.
77254 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77256         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77257         of $(common-objpfx)shlib.lds.
77258         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77260         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77261         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77263         * configure.in (-z relro check): Adjust test code to add a large
77264         writable data section after it.
77265         * configure: Regenerated.
77267 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77269         * configure.in (-z relro check): Fix test code to make the variable
77270         truly const.
77271         * configure: Regenerated.
77273 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77275         * nscd/nscd.h (struct traced_file): Define.
77276         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77277         elements.  Add traced_files.
77278         (inotify_fd): Declare.
77279         (register_traced_file): Declare.
77280         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77281         (inotify_fd): Export.
77282         (resolv_conf_descr): Remove.
77283         (nscd_init): Move inotify descriptor creation to main.
77284         Don't register files for notification here.
77285         (register_traced_file): New function.
77286         (invalidate_cache): Don't use reset_res to determine whether to call
77287         res_init, go through the list of registered files.
77288         (main_loop_poll): The inotify descriptors are now stored in the
77289         structures for the traced files.
77290         (main_loop_epoll): Likewise.
77291         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77292         to __nss_disable_nscd.
77293         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77294         for a database anymore.  Check the records for all the registered
77295         files instead.
77296         * nss/Makefile (libnss_files-routines): Add files-init.
77297         (libnss_db-routines): Add db-init.
77298         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77299         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77300         * nss/nss_db/db-init.c: New file.
77301         * nss/nss_files/files-init.c: New file.
77302         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77303         __nss_lookup_function.
77304         (__nss_lookup_function): Call nss_load_library.
77305         (nss_load_all_libraries): New function.
77306         (__nss_disable_nscd): Take parameter with callback function for files
77307         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77308         used for the cached services.
77309         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77310         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77311         options for features to all the files in nscd.
77313         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77315 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77317         * csu/elf-init.c (__libc_csu_init): Comment typo.
77319 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77321         * po/pl.po: Update from translation team.
77322         * po/ja.po: Likewise.
77323         * po/ru.po: Likewise.
77324         * po/ko.po: Likewise.
77325         * po/fr.po: Likewise.
77327 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77329         * configure.in (.ctors/.dtors header and trailer check):
77330         Use an empirical test on a built program.
77331         * configure: Regenerated.
77333         * configure.in (-z relro check): Use an empirical test on a built DSO.
77334         Detect, but do not require, on ia64.
77335         * configure: Regenerated.
77337         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77338         Update tests that use readelf to use $READELF instead.
77339         * configure: Regenerated.
77341 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77343         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77344         if the result is not used.
77346 2011-07-05  Andreas Jaeger  <aj@suse.de>
77348         [BZ#9696]
77349         * stdlib/tst-strtod.c: Add testcase.
77351 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77353         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77354         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77355         The latter has a higher limit.  Take additional parameter to pass to
77356         the new function.
77357         (__pathconf): Pass file to __statfs_link_max.
77358         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77359         __statfs_link_max.
77360         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77361         __statfs_link_max.
77363         [BZ #12868]
77364         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77365         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77366         Handle Lustre.
77367         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77368         (__statfs_filesize_max): Likewise.
77369         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77371 2011-07-05  Andreas Jaeger  <aj@suse.de>
77373         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77375 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77377         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77378         `status' variable.
77379         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77380         Likewise.
77382 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77384         * Makefile (strop-tests): Add strncat.
77385         * string/test-strncat.c: New file.
77387 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77389         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77391 2011-06-21  Andreas Jaeger  <aj@suse.de>
77393         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77394         Copy rule from iconvdata/Makefile.
77396 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77398         [BZ #12922]
77399         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77400         but no long options are defined, just return 'W'.
77402 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77404         [BZ #9696]
77405         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77407 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77409         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77410         netgroups to read.
77411         (innetgr): Likewise.
77413 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77415         * config.make.in (install_root): Default to $(DESTDIR).
77417 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77419         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77421 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77423         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77425         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77426         containing directory rather than embedding absolute directory names.
77428         * scripts/check-local-headers.sh: Rewritten using awk.
77429         Match by word, not by line.  Print error messages for matches.
77430         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77432         * Makerules [shlib-lds-flags empty]:
77433         ($(common-objpfx)libc_pic.opts): New target.
77434         ($(common-objpfx)libc_pic.os.clean): New target.
77435         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77437         * config.make.in (OBJCOPY): New variable.
77438         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77439         * configure: Regenerated.
77441         * config.make.in (use-default-link): New variable.
77442         * configure.in (use_default_link): Grok --with-default-link to set it.
77443         * configure: Regenerated.
77444         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77445         (shlib-lds, shlib-lds-flags): Define to empty.
77447         * Makerules (shlib-lds): New variable.
77448         (shlib-lds-flags): New variable.
77449         (build-shlib, build-moduile, build-module-asneeded): Use it.
77450         ($(common-objpfx)libc.so): Use $(shlib-lds).
77451         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77452         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77454         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77455         DT_FLAGS/DT_FLAGS_1 with zero flags.
77457         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77458         linker script munging.
77460 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77462         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77463         as 128-bit value.
77464         * crypt/sha512.c (sha512_process_block): Perform total addition using
77465         128-bit if possible.
77466         (__sha512_finish_ctx): Likewise.
77467         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77468         as 64-bit value.
77469         * crypt/sha256.c (SWAP64): Define.
77470         (sha256_process_block): Perform total addition using 64-bit if
77471         possible.
77472         (__sha256_finish_ctx): Likewise.
77474 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77476         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77477         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77478         * nscd/hstcache.c (cache_addhst): Likewise.
77479         * nscd/grpcache.c (cache_addgr): Likewise.
77480         * nscd/aicache.c (addhstaiX): Likewise.
77481         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77483 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77485         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77486         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77487         * nscd/hstcache.c (cache_addhst): Likewise.
77488         * nscd/grpcache.c (cache_addgr): Likewise.
77489         * nscd/aicache.c (addhstaiX): Likewise.
77491 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77493         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77494         domain only when needed.
77496 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77499         is always restored.
77501 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77503         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77504         are re-adding the entry.
77505         * nscd/servicescache.c (cache_addserv): Likewise.
77507 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77509         * sysdeps/generic/dl-irel.h: fix protection against multiple
77510         inclusions.
77511         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77513 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77515         [BZ #12935]
77516         * malloc/memusage.sh: Fix quoting in message.
77517         * debug/xtrace.sh: Likewise.
77519         * configure.in: Remove support for --experimental-malloc option, make
77520         it the default.
77521         * config.make.in: Likewise.
77522         * malloc/Makefile: Likewise.
77524 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77526         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77527         two-byte characters.
77529 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77531         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77532         AC_CACHE_CHECK invocation.
77533         * configure: Regenerated.
77535         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77537 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77539         [BZ #12350]
77540         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77541         bit from old_res_options.
77543         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77545         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77546         value type for setfct.
77548 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77550         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77551         __gettimeofday instead of gettimeofday.
77553 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77555         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77557 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77559         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77561         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77562         info.
77564 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77566         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77567         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77568         strcpy-sse2-unaligned strncpy-sse2-unaligned
77569         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77570         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77571         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77572         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77573         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77574         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77575         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77576         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77577         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77578         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77579         (STRCPY): Support SSE2 and SSSE3 versions.
77581 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77583         [BZ #12874]
77584         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77585         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77586         kernels which artificially limit size of requests.
77588 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77590         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77591         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77592         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77593         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77594         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77595         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77596         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77597         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77598         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77599         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77600         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77601         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77602         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77603         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77604         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77606         Enable unaligned load optimization for Intel Core i3, i5 and i7
77607         processors.
77608         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77609         Define.
77610         (index_Fast_Unaligned_Load): Define.
77611         (HAS_FAST_UNALIGNED_LOAD): Define.
77613 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77615         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77617 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77619         [BZ #12907]
77620         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77621         until it is clear that the information is realy needed.
77622         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77624 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77628 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77630         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77631         /sys/devices/system/cpu/online if it is usable.
77633         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77634         reading the information from the /proc filesystem to once a second.
77636 2011-06-21  Andreas Jaeger  <aj@suse.de>
77638         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77639         NULL after inclusion of kernel headers.
77641 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77643         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77644         calls to internal_setent.
77646         [BZ #12885]
77647         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77648         addresses using gethostbyname4_r ignore IPv4 addresses.
77650         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77651         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77653         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77655 2011-06-20  David S. Miller  <davem@davemloft.net>
77657         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77658         inclusions.
77659         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77661         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77662         (elf_irel): Use it.
77663         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77664         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77665         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77666         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77667         * sysdeps/x86_64/dl-irel.h: Likewise.
77669         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77670         * elf/dl-sym.c: Likewise.
77672 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77674         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77675         need to dereference resplen2.
77677 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77679         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77681 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77683         * Makeconfig: Define vardbdir and inst_vardbdir.
77684         * nss/Makefile: Add rules to install db-Makefile.
77686         * nss/nss_db/db-XXX.c: Cleanup.
77688         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77689         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77690         GLIBC_PRIVATE.
77691         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77692         * nss/makedb.c: Implement -g option to specify that value strings
77693         are generated and should not be added to table iterated over for
77694         get*ent calls.
77695         * nss/nss_db/db-initgroups.c: New file.
77697         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77698         interface.
77700         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77701         (internal_getgrouplist): Adjust to name change.
77702         Update use_initgroups_entry if this is not the first call.
77703         * nss/databases.def: Add initgroups entry.
77705         * nss/makedb.c (compute_tables): Check result of multiple hash table
77706         sizes to minimize maximum chain length.
77708 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77710         * Versions.def: Add entry for libnss_db.
77711         * shlib-versions: Likewise.
77712         * nss/Makefile: Add rules to build libnss_db.
77713         * nss/Versions: Add libnss_db information.  Organize libnss_files
77714         entries better.
77715         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77716         makedb progra.  Some minor improvements to generate smaller files.
77717         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77718         here from...
77719         * nss/makedb.c: ...here.
77720         Improve database format to be smaller and require less memory at
77721         runtime.
77722         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77723         db anymore.
77724         * nss/nss_db/db-netgrp.c: Likewise.
77725         * nss/nss_db/db-open.c: Likewise.
77726         * nss/nss_files/flies-XXX.x: Adjust comments.
77727         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77728         * nss/nss_files/files-grp.c: Likewise.
77729         * nss/nss_files/files-hosts.c: Likewise.
77730         * nss/nss_files/files-network.c: Likewise.
77731         * nss/nss_files/files-proto.c: Likewise.
77732         * nss/nss_files/files-pwd.c: Likewise.
77733         * nss/nss_files/files-rpc.c: Likewise.
77734         * nss/nss_files/files-service.c: Likewise.
77735         * nss/nss_files/files-sgrp.c: Likewise.
77736         * nss/nss_files/files-spwd.c: Likewise.
77737         * nss/nss_db/db-alias.c: Removed.
77738         * nss/nss_db/dummy-db.h: Removed.
77740 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77742         * nss/makedb.c: Rewritten to not use database library.
77743         * nss/Makefile: Update to build new makedb program.
77745 2011-06-14  Andreas Jaeger  <aj@suse.de>
77747         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77748         memset declaration.
77750 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77752         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77753         tmpbuf.
77755 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77757         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77758         * elf/Makefile ($(objpfx)ld.so): Likewise.
77760         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77761         Don't list ld.so twice in dependencies.
77763         * posix/bug-regex31.c: Include <stdlib.h>.
77765         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77767         * nis/nss_compat/compat-spwd.c
77768         (getspent_next_nss_netgr): Remove unused variable.
77769         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77771         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77772         nonmembers" output to use the right array.
77774         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77776         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77778         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77779         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77780         * catgets/gencat.c (read_input_file): Likewise.
77781         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77783         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77784         variable definition inside #if's controlling its use.
77786         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77788         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77790         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77792         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77793         unreachable code.
77795         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77797         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77798         * configure: Regenerated.
77800         * Makerules: Revert last change.
77801         * elf/Makefile: Likewise.
77803 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77805         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77806         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77807         (reloc-link): Likewise.
77809 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77811         * elf/Makefile: Add rules to build pldd.
77812         * elf/pldd.c: New file.
77813         * elf/pldd-xx.c: New file.
77815 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77817         * version.h: Update for 2.15 development version.
77819 2011-06-07  David S. Miller  <davem@davemloft.net>
77821         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77822         ifuncs.
77823         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77824         elf_machine_lazy_rel): Likewise.
77825         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77826         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77827         elf_machine_lazy_rel): Likewise.
77828         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77829         dl_hwcap via passed in argument.
77830         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77831         Likewise.
77833 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77835         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77837 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77839         [BZ #12849]
77840         * manual/fdl-1.1.texi: New file, verbatim from:
77841         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77842         * manual/lgpl-2.1.texi: New file, verbatim from:
77843         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77844         * manual/Makefile (licenses): New variable, list those new file names.
77845         (texis): Use it.
77846         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77848         * manual/fdl.texi: File removed.
77849         * manual/lesser.texi: File removed.
77850         * manual/libc.texinfo (Copying, Documentation License):
77851         Use new @include file names, put @appendix directive before @include.
77853 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77855         [BZ #12841]
77856         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77857         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77858         (mq_open): Add __NTH.
77860 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77862         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77863         Assume Intel Core i3/i5/i7 processor if AVX is available.
77865 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77867         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77868         typo.
77870 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77872         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77873         memory.  Use alloca_account.  Fix memory leak when retrying.
77875 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77877         * version.h (RELEASE): Bump for 2.14 release.
77878         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77880         * config.make.in (RANLIB): Remove entry.
77882 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77884         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77885         (libc.pot): Work around missing support for .ksh extension in xgettext.
77887         [BZ #12684]
77888         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77889         if both request failed.
77890         (send_dg): In case of server errors clear resplen or *resplen2.
77892         [BZ #12454]
77893         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77894         when there are multiple maps.
77895         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77896         (_dl_fini): Remove test here.
77898         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77900 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77902         [BZ #12350]
77903         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77904         bit from old_res_options.
77905         (gaih_inet): Likewise.
77907         [BZ #11099]
77908         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77909         as signed.
77911         * resolv/res_init.c (res_setoptions): Make the code more compact.
77913         [BZ #11558]
77914         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77915         set RES_USEVC.
77917         [BZ #11634]
77918         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77920         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77922         [BZ #11781]
77923         * malloc/malloc.h: Declare malloc hook variables as volatile.
77925         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77926         in last patch.
77928         [BZ #11799]
77929         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77930         raise in the comment.
77931         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77932         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77933         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77935 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77937         [BZ #12811]
77938         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77939         grow the buffers more if it already has to be sufficient.
77940         (build_wcs_upper_buffer): Likewise.
77941         * posix/regexec.c (check_matching): Likewise.
77942         (clean_state_log_if_needed): Likewise.
77943         (extend_buffers): Don't enlarge buffers beyond size of the input
77944         buffer.
77945         Patches mostly by Emil Wojak <emil@wojak.eu>.
77946         * posix/bug-regex32.c: New file.
77947         * posix/Makefile (tests): Add bug-regex32.
77949         * locale/findlocale.c (_nl_find_locale): Return right away if
77950         _nl_explode_name failed.
77951         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77953         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77955         * debug/xtrace.sh: Unify messages.
77956         * malloc/memusage.sh: Likewise.
77958         [BZ #12813]
77959         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77960         time symbol from vDSO.  Substitute with vsyscall if not available.
77961         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77962         __vdso_time.
77964         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77965         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77966         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77967         Add sendmmsg and internal_sendmmsg.
77968         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77969         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77970         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77972         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77973         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77974         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77976 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77978         [BZ #12813]
77979         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77980         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77981         available.
77982         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77983         __vdso_getcpu.
77985         [BZ #12814]
77986         * iconvdata/Makefile (tests): Add bug-iconv9.
77987         * iconvdata/bug-iconv9.c: New file.
77989 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77991         [BZ #12814]
77992         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77994 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77996         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77997         (struct user_regs_struct): Change intcs field back to cs.
77999 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
78001         * po/ja.po: Update from translation team.
78003 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
78005         [BZ #12795]
78006         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78007         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78009 2011-05-20  Andreas Schwab  <schwab@redhat.com>
78011         * stdlib/longlong.h: Update from GCC.
78013 2011-05-23  Andreas Schwab  <schwab@redhat.com>
78015         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78016         parameter name.
78017         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78018         Add parameter name.
78019         (__sysconf): Pass it down.
78021 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
78023         [BZ #12671]
78024         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78025         some situations.
78026         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78027         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78028         add in in __libc_use_alloca calls.  Adjust callers.
78029         (glob): Use malloc in some situations.
78031         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78032         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78033         pltexit.
78035 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
78037         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78038         and CLOCK_BOOTTIME_ALARM.
78040         [BZ #12782]
78041         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78042         is returned.
78044         * string/_strerror.c (__strerror_r): Print negative errors as signed
78045         numbers.
78047         [BZ #12777]
78048         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78049         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78050         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78052         * configure.in: Fix typo in redirection and correct removal of test
78053         files in two cases.
78055         [BZ #12788]
78056         * locale/setlocale.c (new_composite_name): Fix test to check for
78057         identical name of all categories.
78059         [BZ #12792]
78060         * libio/filedoalloc.c (local_isatty): New function.
78061         (_IO_file_doallocate): Use local_isatty.
78062         * stdio-common/perror.c (perror): In case a new stream is used
78063         forward the stream error.
78064         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78065         error flag.
78067 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
78069         [BZ #11884]
78070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78071         alloca.
78072         * include/alloca.h (extend_alloca_account): Define.
78074         [BZ #11857]
78075         * posix/regex.h: Fix comments with documentation of user-accessible
78076         fields after compilation and describe correct free'ing of pattern
78077         after re_compile_pattern.
78078         Patch by Reuben Thomas <rrt@sc3d.org>.
78080 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
78082         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78083         and -mno-altivec to prevent the compiler from using Altivec and/or
78084         VSX instructions when the corresponding registers are not available.
78086 2011-05-19  Andreas Schwab  <schwab@redhat.com>
78088         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78090 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
78092         * libio/freopen.c (freopen): Use __dup2, not dup2.
78093         * libio/freopen64.c (freopen64): Likewise.
78095 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78097         [BZ #12775]
78098         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78099         * math/Makefile (tests): Add test-powl.
78100         (CFLAGS-test-powl.c): Define.
78101         * math/test-powl.c: New file.
78103 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78105         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78107 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
78109         [BZ #11837]
78110         * iconvdata/gb18030.c: Update to GB18020-2005.
78112 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
78114         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78115         RE_SYNTAX_POSIX_AWK): Update to match recent development.
78116         Patch by Aharon Robbins <arnold@skeeve.com>.
78118         [BZ #11892]
78119         * stdlib/putenv.c (putenv): Don't always create copy of the variable
78120         on the stack.
78122         [BZ #11895]
78123         * misc/pselect.c (__pselect): Handle timeout value errors hidden
78124         through underflows.
78126         [BZ #12766]
78127         * misc/error.c (error_at_line): Ensure file_name and old_file_name
78128         point to strings before performing equality test for error_one_per_line
78129         mode.
78131         [BZ #11697]
78132         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78134         [BZ #11820]
78135         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78136         (struct user_fpregs_struct): Avoid __uint*_t types.
78138         [BZ #6420]
78139         * malloc/mtrace.c (tr_where): Add additional parameter to point to
78140         symbol info.  Use it instead of calling _dl_addr locally.
78141         (lock_and_info): New function.
78142         (tr_freehook): Call lock_and_info and pass symbol info as additional
78143         parameter to tr_where.
78144         (tr_mallochook): Likewise.
78145         (tr_reallochook): Likewise.
78146         (tr_memalignhook): Likewise.
78148         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78149         used and couldn't be at all thread-safe.
78151 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78153         * libio/freopen.c (freopen): Don't close old file descriptor
78154         before the new one is opened.  Instead dup the new file descriptor
78155         to the old one after the new stream is created.
78156         * libio/freopen64.c (freopen64): Likewise.
78157         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78158         * libio/fileops.c (_IO_new_file_close_it): Handle new
78159         _IO_FLAGS2_NOCLOSE flag.
78160         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78161         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78162         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78163         _IO_FLAGS2_NOCLOSE flag.
78164         * include/unistd.h: Add hidden_proto for dup3.
78165         Define __have_dup3.
78166         * io/dup3.c: Define hidden symbol.
78167         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78169         [BZ #7101]
78170         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78171         when an incomplete long option is used.
78172         * posix/tst-getopt_long1.c: New file.
78173         * posix/Makefile (tests): Add tst-getopt_long1.
78175         [BZ #10138]
78176         * scripts/config.guess: Update from autoconf-2.68.
78177         * scripts/config.sub: Likewise.
78179         [BZ #10157]
78180         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78181         tests into ...
78182         (has_cpuclock): ...this.  New function.
78183         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78184         macro here based on has_cpuclock code.
78186         [BZ #10149]
78187         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78188         First byte (not low byte) is now always NUL.
78189         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78191         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78192         Use non-cancelable interfaces.
78194         [BZ #9809]
78195         * locale/iso-639.def: Add entry for Sorani.
78197         [BZ #11901]
78198         * include/stdlib.h: Move include protection to the right place.
78199         Define abort_msg_s.  Declare __abort_msg with it.
78200         * stdlib/abort.c (__abort_msg): Adjust type.
78201         * assert/assert.c (__assert_fail_base): New function.  Majority
78202         of code from __assert_fail.  Allocate memory for __abort_msg with
78203         mmap.
78204         (__assert_fail): Now call __assert_fail_base.
78205         * assert/assert-perr.c: Remove bulk of implementation.  Use
78206         __assert_fail_base.
78207         * include/assert.hL Declare __assert_fail_base.
78208         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78209         mmap.
78210         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78212 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78214         [BZ #11952]
78215         [BZ #12453]
78216         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78217         until all modules are registered in the DTV.
78218         * elf/Makefile: Add rules to build and run tst-tls19.
78219         * elf/tst-tls19.c: New file.
78220         * elf/tst-tls19mod1.c: New file.
78221         * elf/tst-tls19mod2.c: New file.
78222         * elf/tst-tls19mod3.c: New file.
78223         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78225         [BZ #12083]
78226         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78227         correctly.
78229         [BZ #12601]
78230         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78231         two-byte sequence errors.
78232         * iconvdata/Makefile (tests): Add bug-iconv8.
78233         * iconvdata/bug-iconv8.c: New file.
78235         [BZ #12626]
78236         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78237         buf2 definition.
78239         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78241         [BZ #12432]
78242         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78243         (dummy_getcfa): New function.
78244         (init): Get _Unwind_GetCFA address, use dummy if not found.
78245         (backtrace_helper): In recursion check, also check whether CFA changes.
78246         (__backtrace): Completely initialize arg.
78248         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78249         storing incomplete byte sequence in state object.  Avoid testing for
78250         guaranteed too small input if we know there is enough data available.
78252 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78254         * Makeconfig (+link-pie): Indent.
78255         * Rules (binaries-pie): Define if $(have-fpie) and
78256         $(build-shared).
78257         (binaries-shared): Also filter out $(binaries-pie).
78258         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78259         * nscd/Makefile (others-pie): Add nscd.
78260         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78261         ($(objpfx)nscd): Remove command override.
78262         * login/Makefile (others-pie): Add pt_chown.
78263         ($(objpfx)pt_chown): Remove command override.
78264         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78265         remove command overrides.
78267 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78269         * libio/tst_putwc.c: Fix error messages.
78271         [BZ #12724]
78272         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78273         currently writing and seek to current position when not.
78274         * libio/Makefile (tests): Add bug-fclose1.
78275         * libio/bug-fclose1.c: New file.
78277 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78279         [BZ #12511]
78280         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78281         don't set DF_1_NODELETE here.
78282         (do_lookup_x): When entering new entry test for copy relocation
78283         and if necessary set DF_1_NODELETE flag.
78284         * elf/tst-unique4.cc: New file.
78285         * elf/tst-unique4.h: New file.
78286         * elf/tst-unique4lib.cc: New file.
78287         * elf/Makefile: Add rules to build and run tst-unique4.
78288         Patch by Piotr Bury <pbury@goahead.com>.
78290 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78292         [BZ #12052]
78293         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78295         [BZ #12625]
78296         * misc/mntent_r.c (addmntent): Flush the stream after the output
78298         [BZ #12393]
78299         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78300         (is_trusted_path_normalize): Skip initial colon.  Append slash
78301         to empty buffer.  Duplicate is_trusted_path code but allow
78302         constructed patch to be prefix.
78303         (is_dst): Allow $ORIGIN followed by /.
78304         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78305         Correct testing of result of is_trusted_path_normalize
78306         (decompose_rpath): Fix warning.
78308 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78310         [BZ #11257]
78311         * grp/initgroups.c (internal_getgrouplist): When we found the service
78312         list through the initgroups entry in nsswitch.conf do not always
78313         continue on a successful lookup.  Don't always use the
78314         __nss_group_database value if it is set.
78315         * nss/nsswitch.conf (initgroups): Change action for successful db
78316         lookup to continue for compatibility.
78318 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78320         [BZ #11532]
78321         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78322         and CP774 modules.
78323         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78324         and CP774 modules.
78325         * iconvdata/tst-tables.sh: Likewise.
78326         * iconvdata/cp770.c: New file.
78327         * iconvdata/cp771.c: New file.
78328         * iconvdata/cp772.c: New file.
78329         * iconvdata/cp773.c: New file.
78330         * iconvdata/cp774.c: New file.
78331         * iconvdata/testdata/CP770: New file.
78332         * iconvdata/testdata/CP770..UTF8: New file.
78333         * iconvdata/testdata/CP771: New file.
78334         * iconvdata/testdata/CP771..UTF8: New file.
78335         * iconvdata/testdata/CP772: New file.
78336         * iconvdata/testdata/CP772..UTF8: New file.
78337         * iconvdata/testdata/CP773: New file.
78338         * iconvdata/testdata/CP773..UTF8: New file.
78339         * iconvdata/testdata/CP774: New file.
78340         * iconvdata/testdata/CP774..UTF8: New file.
78342         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78343         END CHARMAP line.
78344         * iconvdata/gen-8bit-gap.sh: Likewise.
78345         * iconvdata/gen-8bit.sh: Likewise.
78347         * locale/iso-639.def: Add ary entry.
78349         [BZ #11258]
78350         * locale/C-translit.h.in: Add U20A1 transliteration.
78352         [BZ #12178]
78353         * locale/iso-639.def: Add wae entry.
78354         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78356         [BZ #12545]
78357         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78358         for n.
78360         [BZ #12711]
78361         * locale/C-translit.h.in: Add entry for U20B9.
78362         Patch by pravin.d.s@gmail.com.
78364 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78366         [BZ #12713]
78367         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78368         ENAMETOOLONG use generic getcwd.
78369         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78370         in rtld.  Use *stat64.
78371         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78372         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78373         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78374         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78375         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78376         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78377         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78378         __fstatat64 macros.
78379         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78380         * dirent/rewinddir.c: Add libc_hidden_def.
78381         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78382         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78384         * include/dirent.h (__alloc_dir): Add flags parameter.
78385         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78386         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78387         __alloc_dir.
78388         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78389         from fdopendir if O_CLOEXEC is already set.
78391 2011-03-15  Alan Modra  <amodra@gmail.com>
78393         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78394         l_tls_firstbyte_offset non-zero.  Save padding offset in
78395         l_tls_firstbyte_offset for later use.
78396         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78397         freeing static tls block.
78399 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78401         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78402         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78403         being defined by the kernel headers.
78405 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78407         [BZ #12734]
78408         * resolv/resolv.h: Define RES_NOTLDQUERY.
78409         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78410         no-tld-query and set RES_NOTLDQUERY.
78411         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78412         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78413         modern BIND to search name as TLD unless forbidden.
78415 2011-05-07  Petr Baudis  <pasky@suse.cz>
78416             Ulrich Drepper  <drepper@gmail.com>
78418         [BZ #12393]
78419         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78420         (is_trusted_path): ...to here.
78421         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78422         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78423         using is_trusted_path_normalize() in setuid scripts.
78425 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78427         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78428         __BEGIN/__END_DECLS.
78430 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78432         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78433         NSS_STATUS_NOTFOUND if no record was found.
78435 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78437         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78438         (headers-not-in-tirpc): Remove rpc/netdb.h
78439         * resolv/netdb.h: Revert last change.
78441 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78443         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78444         circular dependency between libgcc.a and libc.a.
78446 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78448         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78449         * nis/Makefile: Don't install rpcsvc/*.
78450         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78451         instead of <rpc/types.h>.
78452         (MAXHOSTNAMELEN): Define.
78454 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78456         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78458 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78460         [BZ #12714]
78461         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78462         gethostbyname4_r when IPv6 results are possible.
78464 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78466         [BZ #12723]
78467         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78468         _PC_PIPE_BUF handling.
78470 2011-04-30  Bruno Haible  <bruno@clisp.org>
78472         [BZ #12717]
78473         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78474         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78475         to 'int'.
78476         * inet/getnameinfo.c (getnameinfo): Likewise.
78478 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78480         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78481         to groups setting in database lookup.
78482         * nss/nsswitch.conf: Add initgroups entry.
78484 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78486         [BZ #12685]
78487         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78488         mode string.
78489         Patch by Eric Blake <eblake@redhat.com>.
78491 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78493         * sunrpc/Makefile (need-export-routines): Add svc_run.
78494         (routines): Remove svc_run.
78495         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78496         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78497         * sunrpc/svc_run.c (svc_run): Likewise.
78498         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78500 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78502         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78503         problem in reallocation in last patch.
78505 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78507         * sunrpc/Makefile: Move inclusion of Rules.
78509 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78511         * nss/nss_files/files-initgroups.c: New file.
78512         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78513         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78514         _nss_files_initgroups_dyn.
78516 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78518         * elf/elf.h (R_ARM_IRELATIVE): Define.
78520 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78522         * po/ru.po: Update from translation team.
78524 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78526         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78527         dependencies.
78529 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78531         [BZ #12653]
78532         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78533         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78534         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78535         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78536         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78538 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78540         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78541         differing bytes.
78542         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78543         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78544         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78546 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78548         [BZ #12420]
78549         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78550         storing it.
78551         * stdlib/bug-getcontext.c: New file.
78552         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78554 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78556         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78557         instructions into .machine "z9-109".
78558         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78559         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78561 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78563         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78564         between environment variables and auxiliary vector.
78566 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78568         * Makefile: Add rules to build linkobj/libc.so.
78569         * include/libc-symbols.h: Define libc_hidden_nolink.
78570         * include/rpc/auth.h: Mark functions which are to be hidden.
78571         * include/rpc/auth_des.h: Likewise.
78572         * include/rpc/auth_unix.h: Likewise.
78573         * include/rpc/clnt.h: Likewise.
78574         * include/rpc/des_crypt.h: Likewise.
78575         * include/rpc/key_prot.h: Likewise.
78576         * include/rpc/pmap_clnt.h: Likewise.
78577         * include/rpc/pmap_prot.h: Likewise.
78578         * include/rpc/pmap_rmt.h: Likewise.
78579         * include/rpc/rpc_msg.h: Likewise.
78580         * include/rpc/svc.h: Likewise.
78581         * include/rpc/svc_auth.h: Likewise.
78582         * include/rpc/xdr.h: Likewise.
78583         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78584         * nss/Makefile: Likewise.
78585         * sunrpc/Makefile: Don't install headers.  Build library with normal
78586         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78587         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78588         for the compat linking library.  Remove use of INTDEF/INTUSE.
78589         * sunrpc/auth_none.c: Likewise.
78590         * sunrpc/auth_unix.c: Likewise.
78591         * sunrpc/authdes_prot.c: Likewise.
78592         * sunrpc/authuxprot.c: Likewise.
78593         * sunrpc/clnt_gen.c: Likewise.
78594         * sunrpc/clnt_perr.c: Likewise.
78595         * sunrpc/clnt_raw.c: Likewise.
78596         * sunrpc/clnt_simp.c: Likewise.
78597         * sunrpc/clnt_tcp.c: Likewise.
78598         * sunrpc/clnt_udp.c: Likewise.
78599         * sunrpc/clnt_unix.c: Likewise.
78600         * sunrpc/des_crypt.c: Likewise.
78601         * sunrpc/des_soft.c: Likewise.
78602         * sunrpc/get_myaddr.c: Likewise.
78603         * sunrpc/key_call.c: Likewise.
78604         * sunrpc/key_prot.c: Likewise.
78605         * sunrpc/netname.c: Likewise.
78606         * sunrpc/pm_getmaps.c: Likewise.
78607         * sunrpc/pm_getport.c: Likewise.
78608         * sunrpc/pmap_clnt.c: Likewise.
78609         * sunrpc/pmap_prot.c: Likewise.
78610         * sunrpc/pmap_prot2.c: Likewise.
78611         * sunrpc/pmap_rmt.c: Likewise.
78612         * sunrpc/publickey.c: Likewise.
78613         * sunrpc/rpc_cmsg.c: Likewise.
78614         * sunrpc/rpc_common.c: Likewise.
78615         * sunrpc/rpc_dtable.c: Likewise.
78616         * sunrpc/rpc_prot.c: Likewise.
78617         * sunrpc/rpc_thread.c: Likewise.
78618         * sunrpc/rtime.c: Likewise.
78619         * sunrpc/svc.c: Likewise.
78620         * sunrpc/svc_auth.c: Likewise.
78621         * sunrpc/svc_authux.c: Likewise.
78622         * sunrpc/svc_raw.c: Likewise.
78623         * sunrpc/svc_run.c: Likewise.
78624         * sunrpc/svc_simple.c: Likewise.
78625         * sunrpc/svc_tcp.c: Likewise.
78626         * sunrpc/svc_udp.c: Likewise.
78627         * sunrpc/svc_unix.c: Likewise.
78628         * sunrpc/svcauth_des.c: Likewise.
78629         * sunrpc/xcrypt.c: Likewise.
78630         * sunrpc/xdr.c: Likewise.
78631         * sunrpc/xdr_array.c: Likewise.
78632         * sunrpc/xdr_float.c: Likewise.
78633         * sunrpc/xdr_intXX_t.c: Likewise.
78634         * sunrpc/xdr_mem.c: Likewise.
78635         * sunrpc/xdr_rec.c: Likewise.
78636         * sunrpc/xdr_ref.c: Likewise.
78637         * sunrpc/xdr_sizeof.c: Likewise.
78638         * sunrpc/xdr_stdio.c: Likewise.
78640 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78642         [BZ #12650]
78643         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78644         * sysdeps/ia64/dl-tls.h: Likewise.
78645         * sysdeps/powerpc/dl-tls.h: Likewise.
78646         * sysdeps/s390/dl-tls.h: Likewise.
78647         * sysdeps/sh/dl-tls.h: Likewise.
78648         * sysdeps/sparc/dl-tls.h: Likewise.
78649         * sysdeps/x86_64/dl-tls.h: Likewise.
78650         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78652 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78654         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78655         rpath element also skip the following colon.
78656         (expand_dynamic_string_token): Add is_path parameter and pass
78657         down to DL_DST_REQUIRED and _dl_dst_substitute.
78658         (decompose_rpath): Call expand_dynamic_string_token with
78659         non-zero is_path.  Ignore empty rpaths.
78660         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78661         with zero is_path.
78663 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78666         Make cancelable.
78668 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78670         [BZ #12655]
78671         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78672         Patch by Filipe David Manana <fdmanana@apache.org>.
78674 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78676         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78677         Maintain aligned stack.
78678         (CHECK_RSP): Remove unused macro.
78680 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78682         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78683         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78685 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78687         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78689         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78691 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78693         [BZ #12518]
78694         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78695         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78696         * sysdeps/x86_64/memmove.c: New file.
78697         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78698         (memcpy): Renamed to ...
78699         (__new_memcpy): This.
78700         (memcpy): Provide GLIBC_2_14 memcpy.
78701         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78702         (memcpy): Provide GLIBC_2_2_5 memcpy.
78704 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78706         [BZ #12631]
78707         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78709 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78711         * misc/syncfs.c: New file.
78712         * misc/Makefile (routines): Add syncfs.
78713         * posix/unistd.h: Declare syncfs.
78714         * sysdeps/unix/syscalls.list: Add syncfs.
78716 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78718         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78719         open_by_handle_at.
78720         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78721         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78722         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78723         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78724         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78725         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78726         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78728 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78730         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78731         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78732         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78733         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78734         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78735         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78736         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78738         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78739         sync_file_range.c with -fexceptions.
78740         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78741         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78742         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78743         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78744         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78745         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78746         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78747         sync_file_range as cancellation point
78748         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78749         now a wrapper around __call_sync_file_range with cancellation handling.
78750         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78751         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78752         function name to __call_sync_file_range.
78753         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78754         Add call_sync_file_range.
78756 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78758         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78759         bits/timex.h.
78761 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78763         * iconv/iconv.h: Fix typo in comment.
78764         * io/fcntl.h: Likewise.
78765         * libio/stdio.h: Likewise.
78766         * posix/spawn.h: Likewise.
78767         * posix/unistd.h: Likewise.
78768         * stdlib/stdlib.h: Likewise.
78769         * time/time.h: Likewise.
78770         * wcsmbs/wchar.h: Likewise.
78772         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78773         open_by_handle): Add.
78774         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78775         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78776         Augment a few comments.
78777         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78778         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78779         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78780         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78781         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78782         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78783         open_by_handle.
78785         * io/fcntl.h (AT_EMPTY_PATH): Define.
78787 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78789         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78790         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78791         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78792         to...
78793         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78794         * Versions.def: Add GLIBC_2.14.
78795         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78796         Export.
78798 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78800         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78801         round counter.
78802         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78804 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78806         [BZ #12597]
78807         * string/test-strncmp.c (do_page_test): New function.
78808         (check2): Likewise.
78809         (test_main): Call check2.
78810         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78812 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78814         [BZ #12587]
78815         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78816         Handle cache information in CPU leaf 4.
78817         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78819 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78821         [BZ #12583]
78822         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78823         character representation.
78824         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78826 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78828         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78829         END(__isnan) to END(__isnanf) to match function entry point/label
78830         EALIGN(__isnanf,...).
78832 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78834         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78836 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78838         [BZ #12510]
78839         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78840         copy from the symbol referenced in the relocation to initialize the
78841         used variable.
78842         Patch by Piotr Bury <pbury@goahead.com>.
78843         * elf/Makefile: Add rules to build and tst-unique3.
78844         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78845         * elf/tst-unique3.cc: New file.
78846         * elf/tst-unique3.h: New file.
78847         * elf/tst-unique3lib.cc: New file.
78848         * elf/tst-unique3lib2.cc: New file.
78850         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78852 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78854         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78855         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78856         to _start.
78858 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78860         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78861         to-be-loaded object along a path to loader is ld.so.
78863 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78864             Ulrich Drepper  <drepper@gmail.com>
78866         * sysdeps/x86_64/memset.S: After aligning destination, code
78867         branches to different locations depending on the value of
78868         misalignment, when multiarch is enabled. Fix this.
78870 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78872         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78873         Set _x86_64_preferred_memory_instruction for AMD processsors.
78874         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78875         Set bit_Prefer_SSE_for_memop for AMD processors.
78877 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78879         * libio/fmemopen.c (fmemopen): Optimize a bit.
78881 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78883         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78885 2011-03-03  Roland McGrath  <roland@redhat.com>
78887         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78889 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78891         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78892         __bzero_ultra1 instead of __memset_ultra1.
78894 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78895             Ulrich Drepper  <drepper@gmail.com>
78897         [BZ #12509]
78898         * include/link.h (struct link_map): Add l_orig_initfini.
78899         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78900         returning unsuccessfully.
78901         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78902         close of a file loaded at startup, restore the original l_initfini
78903         list.
78904         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78905         list, store the pointer.
78906         * elf/Makefile ($(objpfx)noload-mem): New rule.
78907         (noload-ENV): Define.
78908         (tests): Add $(objpfx)noload-mem.
78909         * elf/noload.c: Include <memcheck.h>.
78910         (main): Call mtrace.  Close all opened handles.
78912 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78914         [BZ #12454]
78915         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78916         dependencies are missing.
78918 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78920         Fix __if_freereq crash: Unlike the generic version which uses free,
78921         Hurd needs munmap.
78922         * sysdeps/mach/hurd/ifreq.h: New file.
78924 2011-01-27  Petr Baudis  <pasky@suse.cz>
78925             Ulrich Drepper  <drepper@gmail.com>
78927         [BZ 12445]#
78928         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78929         to extend_alloca().
78930         * stdio-common/bug23.c: New file.
78931         * stdio-common/Makefile (tests): Add bug23.
78933 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78934             Ulrich Drepper  <drepper@gmail.com>
78936         [BZ #12489]
78937         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78938         before performing relro protection.  At old place add assertion
78939         to make sure nothing changed.
78941 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78942             Glauber de Oliveira Costa  <glommer@gmail.com>
78944         * elf/elf.h: Add new ARM TLS relocs.
78946 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78949         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78950         cast from r3.
78951         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78952         'tests' variable.
78953         * sysdeps/wordsize-64/tst-writev.c: New file.
78955 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78957         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78958         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78959         insns in _dl_start to prevent a TOC reference before relocs are
78960         resolved.
78962 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78964         [BZ #12469]
78965         * Makeconfig: Remove RANLIB definition.
78966         * Makerules: Don't use RANLIB.
78967         * aclocal.m4: Remove ranlib test.
78968         * configure.in: No need to check for ranlib.
78969         * elf/rtld-Rules: Don't use RANLIB.
78971 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78973         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78974         protection macro.
78975         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78976         inclusion protection macro.
78978         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78979         SIGRTMIN and SIGRTMAX and print information in that case only when
78980         SIGRTMIN is defined.
78982 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78984         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78985         arginfo fn returning -1.
78987         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78988         and thousands string is zero terminated.
78990 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78992         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78993         sysdeps/unix/sysv/linux/bits/socket.h.
78995 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78997         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78998         (__CPU_COUNT): Remove old macros.
78999         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79000         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79001         (__CPU_ALLOC, __CPU_FREE): Add macros.
79002         (__sched_cpualloc, __sched_cpufree): Add declarations.
79004 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
79006         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79007         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79008         * nscd/aicache.c (addhstaiX): Return timeout of added value.
79009         (readdhstai): Return value of addhstaiX call.
79010         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79011         (addgrbyX): Return value returned by cache_addgr.
79012         (readdgrbyname): Return value returned by addgrbyX.
79013         (readdgrbygid): Likewise.
79014         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79015         (addpwbyX): Return value returned by cache_addpw.
79016         (readdpwbyname): Return value returned by addhstbyX.
79017         (readdpwbyuid): Likewise.
79018         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79019         (addservbyX): Return value returned by cache_addserv.
79020         (readdservbyname): Return value returned by addservbyX:
79021         (readdservbyport): Likewise.
79022         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79023         (addhstbyX): Return value returned by cache_addhst.
79024         (readdhstbyname): Return value returned by addhstbyX.
79025         (readdhstbyaddr): Likewise.
79026         (readdhstbynamev6): Likewise.
79027         (readdhstbyaddrv6): Likewise.
79028         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79029         (readdinitgroups): Return value returned by addinitgroupsX.
79030         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79031         (prune_cache): Keep track of timeout value of re-added entries.
79032         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79033         * nscd/nscd.h: Adjust prototypes of readd* functions.
79035 2011-02-04  Roland McGrath  <roland@redhat.com>
79037         * nis/nis_server.c (nis_servstate): Use the right name for 0.
79038         (nis_stats): Likewise.
79039         * nis/nis_modify.c (nis_modify): Likewise.
79040         * nis/nis_remove.c (nis_remove): Likewise.
79041         * nis/nis_add.c (nis_add): Likewise.
79043         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79045         * posix/fnmatch_loop.c: Add some consts.
79047         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79049 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
79051         [BZ #12460]
79052         * config.make.in (config-cflags-novzeroupper): Define.
79053         * configure.in: Substitute libc_cv_cc_novzeroupper.
79054         * elf/Makefile (AVX-CFLAGS): Define.
79055         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79056         (CFLAGS-tst-auditmod4a.c): Likewise.
79057         (CFLAGS-tst-auditmod4b.c): Likewise.
79058         (CFLAGS-tst-auditmod6b.c): Likewise.
79059         (CFLAGS-tst-auditmod6c.c): Likewise.
79060         (CFLAGS-tst-auditmod7b.c): Likewise.
79061         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79063 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
79065         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79066         function to the callback.
79067         Patch partly by Jiri Olsa <jolsa@redhat.com>.
79069 2011-02-02  Andreas Schwab  <schwab@redhat.com>
79071         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79072         of errno.
79074 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
79076         [BZ #11724]
79077         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79078         of constructors.
79079         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79080         of destructors.
79081         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79083         [BZ #11724]
79084         * elf/Makefile: Add rules to build and run new test.
79085         * elf/tst-initorder.c: New file.
79086         * elf/tst-initorder.exp: New file.
79087         * elf/tst-initordera1.c: New file.
79088         * elf/tst-initordera2.c: New file.
79089         * elf/tst-initordera3.c: New file.
79090         * elf/tst-initordera4.c: New file.
79091         * elf/tst-initorderb1.c: New file.
79092         * elf/tst-initorderb2.c: New file.
79093         * elf/tst-order-a1.c: New file.
79094         * elf/tst-order-a2.c: New file.
79095         * elf/tst-order-a3.c: New file.
79096         * elf/tst-order-a4.c: New file.
79097         * elf/tst-order-b1.c: New file.
79098         * elf/tst-order-b2.c: New file.
79099         * elf/tst-order-main.c: New file.
79100         New test case by George Gensure <werkt0@gmail.com>.
79102 2010-10-01  Andreas Schwab  <schwab@redhat.com>
79104         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79105         decoding ACE if AI_CANONIDN.
79107 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
79109         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79111 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
79113         * version.h (RELEASE): Bump for 2.13 release.
79114         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79116         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79118         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79119         MADV_NOHUGEPAGE.
79120         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79121         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79122         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79123         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79124         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79125         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79127         * posix/getconf.c: Update copyright year.
79128         * catgets/gencat.c: Likewise.
79129         * csu/version.c: Likewise.
79130         * debug/catchsegv.sh: Likewise.
79131         * debug/xtrace.sh: Likewise.
79132         * elf/ldconfig.c: Likewise.
79133         * elf/ldd.bash.in: Likewise.
79134         * elf/sprof.c (print_version): Likewise.
79135         * iconv/iconv_prog.c: Likewise.
79136         * iconv/iconvconfig.c: Likewise.
79137         * locale/programs/locale.c: Likewise.
79138         * locale/programs/localedef.c: Likewise.
79139         * malloc/memusage.sh: Likewise.
79140         * malloc/mtrace.pl: Likewise.
79141         * nscd/nscd.c (print_version): Likewise.
79142         * nss/getent.c: Likewise.
79144         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79145         PF_CAIF, and PF_ALG.
79146         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79148 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79150         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79151         (modules-names): Use them.
79152         (ifunc-test-modules, ifunc-pie-tests): Define.
79153         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79154         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79155         (test-extras): Likewise.
79156         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79157         $(compile-command.c).
79158         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79159         (all-built-dso): Define.
79160         (check-textrel.out, check-execstack.out): Depend on it.
79162         * configure.in: Don't override --enable-multi-arch.
79164 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79166         [BZ #6812]
79167         * nscd/hstcache.c (tryagain): Define.
79168         (cache_addhst): Return tryagain not notfound for temporary errors.
79169         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79170         failed.
79172 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79174         [BZ #10563]
79175         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79176         to make the syscall.
79177         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79179         [BZ #12378]
79180         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79181         and fall back to matching as normal character if the string ends before
79182         the matching ']' is found.  This is what POSIX requires.
79183         * posix/testfnm.c: Adjust test result.
79184         * posix/globtest.sh: Adjust test result.  Add new test.
79185         * posix/tst-fnmatch.input: Likewise.
79186         * posix/tst-fnmatch2.c: Add new test.
79188 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79190         * elf/Makefile (check-execstack): Revert last change.  Depend on
79191         check-execstack.h.
79192         (check-execstack.h): New target.
79193         (generated): Add check-execstack.h.
79194         * elf/check-execstack.c: Include "check-execstack.h".
79195         (main): Revert last change.
79196         (handle_file): Return zero if GNU_STACK is absent and
79197         DEFAULT_STACK_PERMS doesn't include PF_X.
79199 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79201         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79202         in child fails because the descriptor is already closed.
79203         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79204         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79205         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79207         [BZ #12397]
79208         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79209         syscall.
79211         [BZ #10484]
79212         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79213         temporary buffer used to handle multi lookups locally.
79214         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79216 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79218         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79219         loader is ld.so.
79221 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79223         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79224         alignment for SSE2.
79226 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79228         [BZ #12394]
79229         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79230         characters.  When rounding increased number of integer digits recompute
79231         number of groups.
79232         * stdio-common/tst-grouping.c: New file.
79233         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79235 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79237         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79238         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79240         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79241         void.
79242         * bits/select.h: Likewise.
79244 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79246         * po/ja.po: Update from translation team.
79248 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79250         [BZ #11155]
79251         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79252         implementation just like for lxstat, fxstatat, et al.
79254 2010-12-27  Jim Meyering  <meyering@redhat.com>
79256         [BZ #12348]
79257         * posix/regexec.c (build_trtable): Return failure indication upon
79258         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79260 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79262         [BZ #12201]
79263         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79264         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79265         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79266         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79268         [BZ #12207]
79269         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79271         [BZ #12204]
79272         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79273         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79275 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79277         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79278         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79279         script has SORT_BY_INIT_PRIORITY.
79280         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79281         NO_CTORS_DTORS_SECTIONS is defined.
79282         * elf/soinit.c: Likewise.
79283         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79284         NO_CTORS_DTORS_SECTIONS is defined.
79285         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79286         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79287         * sysdeps/sh/init-first.c: Likewise.
79288         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79290 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79292         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79293         always use the slow path.
79295 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79297         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79298         similar rule which adds the sysdep directories to the header search in
79299         order to pick up the correct platform stackinfo.h.
79300         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79301         perform test if it is, otherwise return successfully without testing.
79302         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79303         DEFAULT_STACK_PERMS define in stackinfo.h.
79304         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79305         defined in stackinfo.h.
79306         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79307         DEFAULT_STACK_PERMS defined in stackinfo.h.
79308         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79309         * sysdeps/ia64/stackinfo.h: Likewise.
79310         * sysdeps/s390/stackinfo.h: Likewise.
79311         * sysdeps/sh/stackinfo.h: Likewise.
79312         * sysdeps/sparc/stackinfo.h: Likewise.
79313         * sysdeps/x86_64/stackinfo.h: Likewise.
79314         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79315         PF_X for powerpc64.  Retain PF_X for powerpc32.
79317 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79319         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79320         accurately.
79321         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79322         GETDENTS_64BIT_ALIGNED.
79324 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79326         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79328 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79330         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79331         _GNU_SOURCE.
79333         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79334         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79335         Remove __restrict.
79336         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79337         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79339 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79341         [BZ #11655]
79342         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79343         are initialized.
79345 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79347         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79349 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79351         * po/it.po: Update from translation team.
79353 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79355         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79356         unused codes.
79358 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79360         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79362 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79364         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79365         specially.
79366         (gaih_getanswer_slice): Likewise.
79368 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79370         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79372 2010-05-31  Petr Baudis  <pasky@suse.cz>
79374         [BZ #11149]
79375         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79376         silently even in the chroot mode.
79378 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79380         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79381         last patch a bit.  Pretty printing
79383 2010-05-31  Petr Baudis <pasky@suse.cz>
79385         [BZ #10085]
79386         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79387         initialization of skip_initgroups_dyn.
79389 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79391         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79392         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79394 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79396         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79398 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79400         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79401         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79402         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79403         ($(objpfx)tst-fnmatch-mem): New rule.
79404         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79405         * posix/tst-fnmatch.c (main): Call mtrace.
79407 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79409         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79410         Support Intel processor model 6 and model 0x2c.
79412 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79414         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79415           signed comparison.
79417 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79419         [BZ #12205]
79420         * string/test-strncasecmp.c (check_result): New function.
79421         (do_one_test): Use it.
79422         (check1): New function.
79423         (test_main): Use it.
79424         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79425         Support strcasecmp and strncasecmp.
79427 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79429         [BZ #12194]
79430         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79431         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79433 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79435         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79436         IFUNC support.
79437         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79438         memset-x86-64.
79439         * sysdeps/x86_64/multiarch/bzero.S: New file.
79440         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79441         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79442         * sysdeps/x86_64/multiarch/memset.S: New file.
79443         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79444         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79445         Set bit_Prefer_SSE_for_memop for Intel processors.
79446         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79447         Define.
79448         (index_Prefer_SSE_for_memop): Define.
79449         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79451 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79453         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79454         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79456 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79458         [BZ #12191]
79459         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79460         (__x86_64_raw_data_cache_size_half): Likewise.
79461         (__x86_64_raw_shared_cache_size): Likewise.
79462         (__x86_64_raw_shared_cache_size_half): Likewise.
79464         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79465         (__x86_64_raw_data_cache_size_half): Likewise.
79466         (__x86_64_raw_shared_cache_size): Likewise.
79467         (__x86_64_raw_shared_cache_size_half): Likewise.
79468         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79469         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79470         and __x86_64_raw_shared_cache_size_half.  Round
79471         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79472         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79473         to multiple of 256 bytes.
79475 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79477         [BZ #12167]
79478         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79479         of inacessible symlinks.  Verify result of symlink before returning it.
79480         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79481         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79483 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79485         * math/math.h (isinf): Fix typo in comment.
79487 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79489         * po/da.po: Update from translation team.
79491 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79493         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79494         is added to the list.
79496 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79497             Ulrich Drepper  <drepper@gmail.com>
79499         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79500         the global list here.  Move code to...
79501         (_dl_add_to_namespace_list): ...here.  New function.
79502         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79503         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79504         * elf/dl-load.c (lose): Don't remove the element from the list.
79505         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79506         (_dl_map_object): Likewise.
79508 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79510         [BZ #12159]
79511         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79512         into all bytes of SSE register.
79513         Patch by Richard Li <richardpku@gmail.com>.
79515 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79517         [BZ #12140]
79518         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79519         perturbing.
79521 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79523         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79524         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79525         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79526         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79528         submachine.
79529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79531 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79533         * include/dlfcn.h (__RTLD_SECURE): Define.
79534         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79535         mode & __RTLD_SECURE instead.
79536         (open_path): Rename preloaded parameter to secure.
79537         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79538         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79539         * elf/dl-deps.c (openaux): Likewise.
79540         * elf/rtld.c (struct map_args): Remove is_preloaded.
79541         (map_doit): Don't use it.
79542         (dl_main): Likewise.
79543         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79544         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79546 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79548         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79549         (sysd-rules-targets): Remove duplicates.
79550         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79551         rtld-%.$o dependency.
79553 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79555         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79556         _dl_map_object do it.
79558 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79560         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79561         fast fma builtins, define the macros in the C99 standard.
79562         (FP_FAST_FMAF): Likewise.
79563         (FP_FAST_FMAL): Likewise.
79564         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79566         * bits/mathdef.h: Update copyright year.
79567         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79569 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79571         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79572         builtins, define the macros in the C99 standard.
79573         (FP_FAST_FMAF): Likewise.
79574         (FP_FAST_FMAL): Likewise.
79575         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79576         multiply/add.
79577         (FP_FAST_FMAF): Likewise.
79579 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79581         [BZ #3268]
79582         * math/libm-test.inc (fma_test): Some new testcases.
79583         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79584         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79585         y and infinite z.  Do multiplication by C already in long double.
79586         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79587         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79588         y and infinite z.  Do bitwise or of inexact bit into u.d.
79589         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79590         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79591         * sysdeps/i386/fpu/s_fma.S: Removed.
79592         * sysdeps/i386/fpu/s_fmal.S: Removed.
79594 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79596         [BZ #3268]
79597         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79598         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79599         computation is not scheduled after fetestexcept.  Fix value
79600         of minimum denormal long double.
79602 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79604         [BZ #3268]
79605         * math/libm-test.inc (fma_test): Add some more tests.
79606         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79607         correctly.
79609 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79611         * scripts/data/localplt-s390-linux-gnu.data: New file.
79612         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79614 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79616         [BZ #3268]
79617         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79618         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79619         instead of dbl-64.
79620         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79621         inlines.
79622         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79623         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79624         if one of x and y is very large and the other is subnormal.
79625         * sysdeps/s390/fpu/s_fmaf.c: New file.
79626         * sysdeps/s390/fpu/s_fma.c: New file.
79627         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79628         * sysdeps/powerpc/fpu/s_fma.S: New file.
79629         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79630         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79631         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79633 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79635         [BZ #3268]
79636         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79637         fma tests.
79638         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79639         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79640         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79641         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79642         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79643         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79644         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79646 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79648         [BZ #12078]
79649         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79650         * posix/bug-regex31.input: Add test case.
79652 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79654         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79655         * posix/bug-regex31.input: New file.
79657         [BZ #12078]
79658         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79659         (parse_sub_exp): Fix last change, use postorder.
79661         * posix/bug-regex31.c: New file.
79662         * posix/Makefile: Add rules to build and run bug-regex31.
79664         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79666         [BZ #12078]
79667         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79669         [BZ #12108]
79670         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79671         to have entries in sys_siglist.
79673         [BZ #12093]
79674         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79675         be NULL.
79677 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79679         [BZ #3268]
79680         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79681         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79682         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79683         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79684         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79685         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79686         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79687         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79688         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79689         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79690         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79691         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79692         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79693         * math/ftestexcept.c (fetestexcept): Likewise.
79694         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79695         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79696         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79697         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79698         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79699         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79700         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79702 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79704         [BZ #12107]
79705         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79706         newline.
79708 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79710         * string/bug-strstr1.c: New file.
79711         * string/Makefile: Add rules to build and run bug-strstr1.
79713 2010-10-05  Eric Blake  <eblake@redhat.com>
79715         [BZ #12092]
79716         * string/str-two-way.h (two_way_long_needle): Always clear memory
79717         when skipping input due to the shift table.
79719 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79721         [BZ #12005]
79722         * malloc/mcheck.c: Handle large requests.
79724         [BZ #12077]
79725         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79726         for strncmp and strncasecmp.
79727         * string/stratcliff.c: Add tests for strcmp and strncmp.
79728         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79730 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79732         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79733         __set_fpscr.
79735 2010-09-30  Andreas Jaeger  <aj@suse.de>
79737         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79738         (CGROUP_SUPER_MAGIC): Define.
79739         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79740         Handle btrfs and cgroup file systems.
79741         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79742         Likewise.
79744 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79746         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79747         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79749 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79751         [BZ #12067]
79752         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79753         trying to locate the ELF header.
79755 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79757         [BZ #11611]
79758         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79759         Mask out sign-bit copies when constructing f_fsid.
79761 2010-09-24  Petr Baudis <pasky@suse.cz>
79763         * debug/stack_chk_fail_local.c: Add missing licence exception.
79764         * debug/warning-nop.c: Likewise.
79766 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79768         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79769         implementing getdents64 using getdents syscall, set d_type if
79770         __ASSUME_GETDENTS32_D_TYPE.
79772 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79774         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79775         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79777 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79779         [BZ #12037]
79780         * posix/unistd.h: Undo change of feature selection for ftruncate from
79781         2010-01-11.
79783 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79785         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79786         detection.
79788 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79790         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79791         fanotify_mark.
79792         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79794 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79796         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79797         variables after CHECK_SP call.
79798         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79800 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79801             Ulrich Drepper  <drepper@redhat.com>
79803         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79804         re-relocationg ld.so.
79805         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79806         _dl_init_paths call.
79807         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79808         here anymore.
79810 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79812         * resolv/res_init.c (__res_vinit): Count the default server we added.
79814 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79815             Ulrich Drepper  <drepper@redhat.com>
79817         [BZ #11968]
79818         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79819         (____longjmp_chk): Use %ebx for saving value across system call.
79820         Add unwind info.
79822 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79824         * manual/Makefile: Don't mix pattern rules with normal rules.
79826 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79828         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79829         operation.
79830         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79831         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79832         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79833         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79834         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79835         Likewise.
79837 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79839         [BZ #11979]
79840         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79841         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79843 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79845         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79846         * sysdeps/x86_64/addmul_1.S: Likewise.
79847         * sysdeps/x86_64/lshift.S: Likewise.
79848         * sysdeps/x86_64/mul_1.S: Likewise.
79849         * sysdeps/x86_64/rshift.S: Likewise.
79850         * sysdeps/x86_64/sub_n.S: Likewise.
79851         * sysdeps/x86_64/submul_1.S: Likewise.
79853 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79855         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79856         Define __sched_param instead of SCHED_* and sched_param when
79857         <bits/sched.h> is included with __need_schedparam defined.
79858         * bits/sched.h [__need_schedparam]
79859         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79860         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79861         (__defined_schedparam): Define to 1.
79862         (__sched_param): New structure, identical to sched_param.
79863         (__need_schedparam): Undefine.
79865 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79867         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79868         (epoll_create1): Declare.
79870         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79872 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79874         [BZ #7066]
79875         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79876         shifting retval into place.
79878 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79880         * nis/rpcsvc/nis.h: Update copyright notice.
79881         * nis/rpcsvc/nis.x: Likewise.
79882         * nis/rpcsvc/nis_callback.h: Likewise.
79883         * nis/rpcsvc/nis_callback.x: Likewise.
79884         * nis/rpcsvc/nis_object.x: Likewise.
79885         * nis/rpcsvc/nis_tags.h: Likewise.
79886         * nis/rpcsvc/yp.h: Likewise.
79887         * nis/rpcsvc/yp.x: Likewise.
79888         * nis/rpcsvc/ypupd.h: Likewise.
79889         * nis/yp_xdr.c: Likewise.
79890         * nis/ypupdate_xdr.c: Likewise.
79892         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79893         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79894         (pmap_getport): Use __libc_rpc_getport.
79895         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79896         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79897         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79899 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79902         fanotify_mark.
79904 2010-08-27  Roland McGrath  <roland@redhat.com>
79906         * sysdeps/i386/i686/multiarch/Makefile
79907         (CFLAGS-varshift.c): New variable.
79909 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79911         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79912         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79914         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79916         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79918 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79920         * sysdeps/x86_64/strlen.S: Unroll the loop.
79921         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79922         strlen-sse2 strlen-sse2-bsf.
79923         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79924         __strlen_no_bsf if bit_Slow_BSF is set.
79925         (__strlen_sse42): Removed.
79926         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79927         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79929 2010-08-25  Roland McGrath  <roland@redhat.com>
79931         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79932         * sysdeps/x86_64/multiarch/varshift.c: New file.
79933         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79934         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79935         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79936         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79938 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79940         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79941         strlen-sse2 strlen-sse2-bsf.
79942         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79943         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79944         (__strlen_sse2): Removed.
79945         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79946         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79947         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79948         bit_Slow_BSF for Atom.
79949         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79950         (index_Slow_BSF): Define.
79951         (HAS_SLOW_BSF): Define.
79953 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79955         [BZ #10851]
79956         * resolv/res_init.c (__res_vinit): When no server address at all
79957         is given default to loopback.
79959 2010-08-24  Roland McGrath  <roland@redhat.com>
79961         * configure.in: Remove config-name.h generation.
79962         * configure: Regenerated.
79963         * config-name.in: File removed.
79964         * scripts/config-uname.sh: New file.
79965         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79966         ($(objdir)config-name.h): New target.
79968         * sunrpc/rpc_parse.h: Avoid nested comment.
79970 2010-08-24  Richard Henderson  <rth@redhat.com>
79971             Ulrich Drepper  <drepper@redhat.com>
79972             H.J. Lu  <hongjiu.lu@intel.com>
79974         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79976         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79977         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79978         _mm_alignr_epi8 with _mm_loadu_si128.
79979         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79980         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79981         (__m128i_shift_right): Removed.
79982         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79983         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79984         * sysdeps/x86_64/multiarch/varshift.h: New file.
79985         * sysdeps/x86_64/multiarch/varshift.S: New file.
79987 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79989         * configure.in: Move assembler checks to before sysdep dir checking.
79991 2010-08-20  Petr Baudis  <pasky@suse.cz>
79993         * LICENSES: Sync the sunrpc license.
79995 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79997         * sunrpc/auth_des.c: Update copyright notice once again.
79998         * sunrpc/auth_none.c: Likewise.
79999         * sunrpc/auth_unix.c: Likewise.
80000         * sunrpc/authdes_prot.c: Likewise.
80001         * sunrpc/authuxprot.c: Likewise.
80002         * sunrpc/bindrsvprt.c: Likewise.
80003         * sunrpc/clnt_gen.c: Likewise.
80004         * sunrpc/clnt_perr.c: Likewise.
80005         * sunrpc/clnt_raw.c: Likewise.
80006         * sunrpc/clnt_simp.c: Likewise.
80007         * sunrpc/clnt_tcp.c: Likewise.
80008         * sunrpc/clnt_udp.c: Likewise.
80009         * sunrpc/clnt_unix.c: Likewise.
80010         * sunrpc/des_crypt.c: Likewise.
80011         * sunrpc/des_soft.c: Likewise.
80012         * sunrpc/get_myaddr.c: Likewise.
80013         * sunrpc/getrpcport.c: Likewise.
80014         * sunrpc/key_call.c: Likewise.
80015         * sunrpc/key_prot.c: Likewise.
80016         * sunrpc/openchild.c: Likewise.
80017         * sunrpc/pm_getmaps.c: Likewise.
80018         * sunrpc/pm_getport.c: Likewise.
80019         * sunrpc/pmap_clnt.c: Likewise.
80020         * sunrpc/pmap_prot.c: Likewise.
80021         * sunrpc/pmap_prot2.c: Likewise.
80022         * sunrpc/pmap_rmt.c: Likewise.
80023         * sunrpc/rpc/auth.h: Likewise.
80024         * sunrpc/rpc/auth_unix.h: Likewise.
80025         * sunrpc/rpc/clnt.h: Likewise.
80026         * sunrpc/rpc/des_crypt.h: Likewise.
80027         * sunrpc/rpc/key_prot.h: Likewise.
80028         * sunrpc/rpc/netdb.h: Likewise.
80029         * sunrpc/rpc/pmap_clnt.h: Likewise.
80030         * sunrpc/rpc/pmap_prot.h: Likewise.
80031         * sunrpc/rpc/pmap_rmt.h: Likewise.
80032         * sunrpc/rpc/rpc.h: Likewise.
80033         * sunrpc/rpc/rpc_des.h: Likewise.
80034         * sunrpc/rpc/rpc_msg.h: Likewise.
80035         * sunrpc/rpc/svc.h: Likewise.
80036         * sunrpc/rpc/svc_auth.h: Likewise.
80037         * sunrpc/rpc/types.h: Likewise.
80038         * sunrpc/rpc/xdr.h: Likewise.
80039         * sunrpc/rpc_clntout.c: Likewise.
80040         * sunrpc/rpc_cmsg.c: Likewise.
80041         * sunrpc/rpc_common.c: Likewise.
80042         * sunrpc/rpc_cout.c: Likewise.
80043         * sunrpc/rpc_dtable.c: Likewise.
80044         * sunrpc/rpc_hout.c: Likewise.
80045         * sunrpc/rpc_main.c: Likewise.
80046         * sunrpc/rpc_parse.c: Likewise.
80047         * sunrpc/rpc_parse.h: Likewise.
80048         * sunrpc/rpc_prot.c: Likewise.
80049         * sunrpc/rpc_sample.c: Likewise.
80050         * sunrpc/rpc_scan.c: Likewise.
80051         * sunrpc/rpc_scan.h: Likewise.
80052         * sunrpc/rpc_svcout.c: Likewise.
80053         * sunrpc/rpc_tblout.c: Likewise.
80054         * sunrpc/rpc_util.c: Likewise.
80055         * sunrpc/rpc_util.h: Likewise.
80056         * sunrpc/rpcinfo.c: Likewise.
80057         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80058         * sunrpc/rpcsvc/key_prot.x: Likewise.
80059         * sunrpc/rpcsvc/klm_prot.x: Likewise.
80060         * sunrpc/rpcsvc/mount.x: Likewise.
80061         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80062         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80063         * sunrpc/rpcsvc/rex.x: Likewise.
80064         * sunrpc/rpcsvc/rstat.x: Likewise.
80065         * sunrpc/rpcsvc/rusers.x: Likewise.
80066         * sunrpc/rpcsvc/sm_inter.x: Likewise.
80067         * sunrpc/rpcsvc/spray.x: Likewise.
80068         * sunrpc/rpcsvc/yppasswd.x: Likewise.
80069         * sunrpc/rtime.c: Likewise.
80070         * sunrpc/svc.c: Likewise.
80071         * sunrpc/svc_auth.c: Likewise.
80072         * sunrpc/svc_authux.c: Likewise.
80073         * sunrpc/svc_raw.c: Likewise.
80074         * sunrpc/svc_run.c: Likewise.
80075         * sunrpc/svc_simple.c: Likewise.
80076         * sunrpc/svc_tcp.c: Likewise.
80077         * sunrpc/svc_udp.c: Likewise.
80078         * sunrpc/svc_unix.c: Likewise.
80079         * sunrpc/svcauth_des.c: Likewise.
80080         * sunrpc/xcrypt.c: Likewise.
80081         * sunrpc/xdr.c: Likewise.
80082         * sunrpc/xdr_array.c: Likewise.
80083         * sunrpc/xdr_float.c: Likewise.
80084         * sunrpc/xdr_mem.c: Likewise.
80085         * sunrpc/xdr_rec.c: Likewise.
80086         * sunrpc/xdr_ref.c: Likewise.
80087         * sunrpc/xdr_sizeof.c: Likewise.
80088         * sunrpc/xdr_stdio.c: Likewise.
80090         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80091         handling.
80093 2010-08-19  Andreas Schwab  <schwab@redhat.com>
80095         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80097 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
80099         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80100         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80101         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80102         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80103         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80104         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80105         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80106         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80107         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80108         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80109         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80110         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80111         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80112         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80114 2010-07-26  Anton Blanchard  <anton@samba.org>
80116         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80117         * malloc/arena.c (heap_trim): Likewise.
80119 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
80121         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80122         here.  Not...
80123         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80124         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80126 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
80128         * sysdeps/i386/elf/Makefile: New file.
80130 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80132         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80133         from fanotify_init.
80134         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80135         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80137 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
80139         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80140         of strncasecmp_l.
80141         * sysdeps/multiarch/strcmp.S: Likewise.
80143 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
80145         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80146         strncase_l-nonascii.
80147         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80148         Add strncase_l-ssse3.
80149         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80150         * sysdeps/x86_64/strcmp.S: Likewise.
80151         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80152         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80153         * sysdeps/x86_64/strncase.S: New file.
80154         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80155         * sysdeps/x86_64/strncase_l.S: New file.
80156         * string/Makefile (strop-tests): Add strncasecmp.
80157         * string/test-strncasecmp.c: New file.
80159         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80160         warning.
80162         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80163         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80165 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80167         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80169 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80171         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80172         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80173         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80175 2010-05-01  Alan Modra  <amodra@gmail.com>
80177         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80178         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80179         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80180         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80181         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80182         tidying.  Don't tail-call __sigjmp_save for static lib.
80183         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80184         save location.
80185         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80186         (CALL_MCOUNT): Add eh info, and nop after bl.
80187         (TAIL_CALL_SYSCALL_ERROR): New macro.
80188         (PSEUDO_RET): Use it.
80189         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80190         Correct save location of integer regs and cr.
80191         (_dl_profile_resolve): Correct cr save location.  Delete nops
80192         after bl when SHARED.  Reduce cfi size a little by better
80193         placement of cfi directives.
80194         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80195         make a stack frame.  Instead use parm save area as a temp.
80196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80197         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80199         Don't make a stack frame for parent, use parm save area.
80200         Increase child stack frame to 112 bytes.  Don't save unused reg,
80201         and adjust reg usage.  Set up cfi on error recovery and
80202         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80204         (__makecontext): Add dummy nop after jump to exit.
80205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80206         Use correct parm save area and cr save, reduce stack frame.
80207         Correct cfi for possible PSEUDO_RET frame setup.
80208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80209         Branch to local label emitted by PSEUDO_RET rather than
80210         __syscall_error.
80212 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80214         [BZ #11904]
80215         * locale/programs/locale.c (print_assignment): New function.
80216         (show_locale_vars): Use it.
80218 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80220         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80221         field.
80222         (struct statfs64): Likewise.
80223         (_STATFS_F_FLAGS): Define.
80224         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80225         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80226         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80227         (ST_VALID): Define locally.
80228         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80229         __statvfs_getflags, use the provided value.
80230         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80231         __ASSUME_STATFS_F_FLAGS.
80233         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80235         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80236         Add sys/fanotify.h.
80237         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80238         fanotify_mask for GLIBC_2.13.
80239         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80240         fanotify_init and fanotify_mark.
80241         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80242         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80244         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80245         Add prlimit.
80246         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80247         prlimit64 for GLIBC_2.13.
80248         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80249         prlimit64.
80250         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80251         syscall.
80252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80253         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80254         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80255         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80256         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80257         add prlimit alias.
80258         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80260         [BZ #11903]
80261         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80262         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80264         * nss/Makefile: Add rules to build and run tst-nss-test1.
80265         * shlib-versions: Add entry for libnss_test1.
80266         * nss/nss_test1.c: New file.
80267         * nss/tst-nss-test1.c: New file.
80269         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80270         (__nss_configure_lookup): Set appropriate entry in
80271         __nss_configure_lookup to true.
80272         * nss/nsswitch.h: Define enum with indeces of databases in
80273         databases and __nss_database_custom arrays.  Declare
80274         __nss_database_custom.
80275         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80276         to avoid using nscd when custom rules are installed.
80277         * nss/getXXbyYY_r.c: Likewise.
80278         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80280         * nss/nss_files/files-parse.c: Whitespace fixes.
80282 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80284         [BZ #11883]
80285         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80286         * posix/fnmatch_loop.c: Likewise.
80288 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80290         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80291         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80292         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80293         * Versions.def [GLIBC_2.13]: Add.
80295 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80297         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80298         Also fail if tpwd after pwuid call is NULL.
80300 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80302         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80303         when converting to ms.
80305 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80307         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80308         EOPNOTSUPP errors with ENOTTY.
80309         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80310         EOPNOTSUPP errors with ENOTTY.
80312 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80314         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80315         Add strcasecmp_l-ssse3.
80316         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80317         strcasecmp.
80318         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80319         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80320         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80322 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80324         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80326         * string/Makefile (strop-tests): Add strcasecmp.
80327         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80328         strcasecmp_l-nonascii.
80329         (gen-as-const-headers): Add locale-defines.sym.
80330         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80331         * sysdeps/x86_64/strcasecmp.S: New file.
80332         * sysdeps/x86_64/strcasecmp_l.S: New file.
80333         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80334         * sysdeps/x86_64/locale-defines.sym: New file.
80335         * string/test-strcasecmp.c: New file.
80337         * string/test-strcasestr.c: Test both ends of the range of characters.
80338         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80340 2010-07-29  Roland McGrath  <roland@redhat.com>
80342         [BZ #11856]
80343         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80345 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80347         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80348         for ld.so.
80350 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80352         * manual/memory.texi (Malloc Tunable Parameters): Document
80353         M_PERTURB.
80355 2010-07-26  Roland McGrath  <roland@redhat.com>
80357         [BZ #11840]
80358         * configure.in (-fgnu89-inline check): Set and substitute
80359         gnu89_inline, not libc_cv_gnu89_inline.
80360         * configure: Regenerated.
80361         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80363 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80365         * string/test-strnlen.c: New file.
80366         * string/Makefile (strop-tests): Add strnlen.
80367         * string/tester.c (test_strnlen): Add a few more test cases.
80368         * string/tst-strlen.c: Better error reporting.
80370         * sysdeps/x86_64/strnlen.S: New file.
80372 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80374         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80375         lower-latency instructions.
80377 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80379         * string/test-strcasestr.c: New file.
80380         * string/test-strstr.c: New file.
80381         * string/Makefile (strop-tests): Add strstr and strcasestr.
80382         * string/str-two-way.h: Don't undefine MAX.
80383         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80385 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80387         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80388         strcasestr-nonascii.
80389         (CFLAGS-strcasestr-nonascii.c): Define.
80390         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80391         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80392         Remove unused attribute.
80394 2010-07-20  Roland McGrath  <roland@redhat.com>
80396         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80397         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80398         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80399         like LD_HWCAP_MASK can disable hwcaps.
80401 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80403         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80405 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80407         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80408         call in strcasestr.
80409         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80410         __strcasestr_sse42_nonascii.
80411         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80412         strcasestr-nonascii.c.
80413         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80415 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80417         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80418         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80419         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80420         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80422 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80424         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80425         fcntl.
80427 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80429         [BZ #11577]
80430         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80431         dl_signal_cerror.
80433 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80435         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80436         _PC_PIPE_BUF using F_GETPIPE_SZ.
80438 2010-07-05  Roland McGrath  <roland@redhat.com>
80440         * manual/arith.texi (Rounding Functions): Fix rint description
80441         implicit in round description.
80443 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80445         * elf/Makefile: Fix linking for a few tests to make recent linker
80446         happy.
80448 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80450         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80451         $(common-objpfx)libc_nonshared.a.
80453 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80455         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80456         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80457         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80458         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80459         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80460         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80461         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80462         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80477         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80478         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80479         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80480         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80481         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80482         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80483         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80484         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80485         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80486         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80487         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80488         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80504 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80506         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80507         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80508         * string/memmove.c (memmove): Renamed to ...
80509         (MEMMOVE): ...this.  Default to memmove.
80510         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80511         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80512         (END_CHK): Define.
80513         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80514         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80515         mempcpy-ssse3-back memmove-ssse3-back.
80516         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80517         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80518         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80519         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80520         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80521         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80522         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80523         * sysdeps/x86_64/multiarch/memmove.c: New file.
80524         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80525         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80526         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80527         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80528         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80529         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80530         Define.
80531         (index_Fast_Copy_Backward): Define.
80532         (HAS_ARCH_FEATURE): Define.
80533         (HAS_FAST_REP_STRING): Define.
80534         (HAS_FAST_COPY_BACKWARD): Define.
80536 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80538         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80539         Restore proper fallback handling.
80541 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80543         [BZ #11701]
80544         * posix/group_member.c (__group_member): Correct checking loop.
80546         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80547         OOM in getpwuid_r correctly.  Return error number when the caller
80548         should return, otherwise -1.
80549         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80550         call returning > 0 value.
80551         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80553 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80555         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80556         libc_nonshared.a from targets in modules-names.
80558 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80560         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80561         requires it.
80563 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80565         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80566         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80567         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80568         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80570 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80572         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80574 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80576         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80577         and F_GETPIPE_SZ.
80578         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80579         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80580         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80581         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80582         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80583         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80585 2010-06-14  Roland McGrath  <roland@redhat.com>
80587         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80589 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80591         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80592         __REDIRECT followed by __THROW.
80593         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80594         * posix/getopt.h (getopt): Likewise.
80596 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80598         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80599         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80600         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80601         in AT_FLAGS.
80602         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80603         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80605 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80607         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80609 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80611         [BZ #11640]
80612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80613         Properly check family and model.
80615 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80617         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80619 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80621         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80623 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80625         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80626         symbol reference.
80628 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80630         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80631         symbol reference.
80633 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80635         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80636         and internal_recvmmsg.
80637         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80638         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80639         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80640         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80642         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80643         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80644         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80646 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80648         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80650 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80652         POWER7 optimizations.
80653         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80654         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80656 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80658         * version.h: Update for 2.13 development version.
80660 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80662         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80663         exceptions.  Return 0.
80665 2010-05-07  Roland McGrath  <roland@redhat.com>
80667         * elf/ldconfig.c (main): Add a const.
80669 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80671         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80672         (args_options): Add no-idn option.
80673         (ahosts_keys_int): Add idn_flags to ai_flags.
80674         (parse_option): Handle 'i' option to clear idn_flags.
80676         * malloc/malloc.c (_int_free): Possible race in the most recently
80677         added check.  Only act on the data if no current modification
80678         happened.
80680 See ChangeLog.17 for earlier changes.